Struct coset::CoseEncryptBuilder
source · [−]pub struct CoseEncryptBuilder(_);
Expand description
Builder for CoseEncrypt
objects.
Implementations
Build the completed object.
Set the associated field.
Set the associated field.
Calculate the ciphertext value, using cipher
to generate the encrypted bytes from the
plaintext and combined AAD (in that order). Any protected header values should be set
before using this method.
Calculate the ciphertext value, using cipher
to generate the encrypted bytes from the
plaintext and combined AAD (in that order). Any protected header values should be set
before using this method.
Add a CoseRecipient
.
Trait Implementations
Returns the “default value” for a type. Read more