pub struct JwkBufferEncoder<'b, B: WriteBuffer> { /* private fields */ }
Expand description

A helper structure which writes a JWK to a buffer

Implementations

Create a new instance

Set the key algorithm

Set the supported key operations

Set the key identifier

Complete the JWK output

Trait Implementations

Formats the value using the given formatter. Read more

Get the requested algorithm for the JWK

Add a string attribute

Add a binary attribute to be encoded as unpadded base64-URL

Accessor for the encoder mode

Check if the mode is public

Check if the mode is secret

Check if the mode is thumbprint

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.