Struct coset::CoseKeyBuilder[][src]

pub struct CoseKeyBuilder(_);
Expand description

Builder for CoseKey objects.

Implementations

Constructor for builder.

Build the completed object.

Set the associated field.

Set the associated field.

Constructor for an elliptic curve public key specified by x and y coordinates.

Constructor for an elliptic curve public key specified by x coordinate plus sign of y coordinate.

Constructor for an elliptic curve private key specified by d, together with public x and y coordinates.

Constructor for a symmetric key specified by k.

Set the algorithm.

Add a key operation.

Set a parameter value.

Panics

This function will panic if it used to set a parameter label from the iana::KeyParameter range.

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.