package
1.1.2
Repository: https://github.com/trustbloc/kms-go.git
Documentation: pkg.go.dev

# Functions

NewOpt creates a new empty wrap key option.
WithEPK option is to instruct the key wrapping function of the ephemeral key to be used in the wrapping process.
WithSender option is for setting a sender key with crypto wrapping (eg: AuthCrypt).
WithTag option is to instruct the key wrapping function of the authentication tag to be used in the wrapping process.
WithXC20PKW option is a flag option for crypto wrapping.

# Structs

PrivateKey mainly used to exchange ephemeral private key in JWE encrypter.
PublicKey mainly to exchange EPK in RecipientWrappedKey.
RecipientWrappedKey contains recipient key material required to unwrap CEK.

# Interfaces

Crypto interface provides all crypto operations needed in the Aries framework.

# Type aliases

WrapKeyOpts are the crypto.Wrap key options.