Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeDecrypt ¶
type CompositeDecrypt = api.CompositeDecrypt
CompositeDecrypt will decrypt a `ciphertext` representing a composite encryption with a protected cek for the recipient caller of this interface. In order to get the plaintext embedded, this type is configured with the recipient key type that will decrypt the embedded cek first.
type CompositeEncrypt ¶
type CompositeEncrypt = api.CompositeEncrypt
CompositeEncrypt will encrypt a `plaintext` using AEAD primitive (with ECDH-ES cek key wrapping by recipient executed externally). It returns the resulting serialized JWE []byte. This type is used mainly for repudiation requests where the sender identity remains unknown to the recipient in a serialized EncryptedData envelope (used mainly to build JWE messages).