Documentation ¶ Index ¶ type Enclave func (e *Enclave) IsKeyHandle(credID []byte) (ok bool, kh se.KeyHandle) func (e *Enclave) NewKeyHandle() (kh se.KeyHandle, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Enclave ¶ type Enclave struct { *pb.Cmd CmdID int64 OutChan chan *pb.CmdStatus InChan chan *pb.SecretMsg } func (*Enclave) IsKeyHandle ¶ func (e *Enclave) IsKeyHandle(credID []byte) (ok bool, kh se.KeyHandle) IsKeyHandle tells if given byte slice really is key handle from the current enclave. func (*Enclave) NewKeyHandle ¶ func (e *Enclave) NewKeyHandle() (kh se.KeyHandle, err error) NewKeyHandle creates a new key handle for the enclave. The enclave is stateless, which means that only the master key is needed. The master key is stored to every key handle to maintain statelessness. Source Files ¶ View all Source files grpcenclave.go Directories ¶ Show internal Expand all Path Synopsis client rpcclient rpcserver server Click to show internal directories. Click to hide internal directories.