grpcenclave

package
v0.2.59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL