Struct coset::HeaderBuilder [−][src]
pub struct HeaderBuilder(_);
Expand description
Builder for Header
objects.
Implementations
Add a critical header.
Add a critical header.
Set the content type to a numeric value.
Set the content type to a text value.
Set the partial IV, and clear any IV already set.
Add a counter signature.
Set a header label:value pair.
Panics
This function will panic if it used to set a header label from the range [1, 6].
Set a header label:value pair where the label
is text.
Trait Implementations
Returns the “default value” for a type. Read more