Struct coset::HeaderBuilder[][src]

pub struct HeaderBuilder(_);
Expand description

Builder for Header objects.

Implementations

Constructor for builder.

Build the completed object.

Set the associated field.

Set the algorithm.

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 IV, and clear any partial IV already set.

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.