Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acquirer ¶ added in v0.1.41
type Acquirer interface { NewKeyHandle() (kh KeyHandle, err error) IsKeyHandle(id []byte) (yes bool, kh KeyHandle) }
Acquirer is a secure enclave interface.
var (
Store Acquirer // Store is the default secure enclave created by pkg init.
)
type Enclave ¶
Enclave is secure enclave.
func (Enclave) IsKeyHandle ¶
IsKeyHandle tells if given byte slice really is key handle from the current Enclave.
func (Enclave) NewKeyHandle ¶
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.
Click to show internal directories.
Click to hide internal directories.