# Functions
CreateKeys creates new bsr keys, wrapping and signing keys as required using the provided bsrWrapper.
TestWrapper initializes an AEAD wrapping.Wrapper for testing.
WithBsrWrapper sets the external Bsr wrapper for a KMS.
WithRandomReader(...) option allows an optional random reader to be provided.
# Variables
ErrDecode represents a decoding error.
ErrDecrypt represents a decryption error.
ErrEncode represents an encoding error.
ErrEncrypt represents an encryption error.
ErrGenKey represents a key gen error.
ErrInvalidParameter represents an invalid parameter error.
ErrSign represents a signing error.
ErrUnknown represents an unknown error.
# Structs
Keys are the keys required/associated with a BSR for crypto operations.
MockReader provides a mock reader for testing.
No description provided by the author
Unwrapped keys contains the unwrapped BSR and priv keys.
WrappedKeys contains the wrapped BSR and priv keys.
# Type aliases
KeyUnwrapCallbackFunc is used by OpenSession to unwrap BSR and private keys.
Option - how Options are passed as arguments.