Struct coset::CoseMacBuilder [−][src]
pub struct CoseMacBuilder(_);
Expand description
Builder for CoseMac
objects.
Implementations
Set the associated field.
Add a CoseRecipient
.
Calculate the tag value, using mac
. Any protected header values should be set
before using this method, as should the payload
.
Panics
This function will panic if the payload
has not been set.
Calculate the tag value, using mac
. Any protected header values should be set
before using this method, as should the payload
.
Panics
This function will panic if the payload
has not been set.
Trait Implementations
Returns the “default value” for a type. Read more