Struct rsa::pss::BlindedSigningKey

source ·
pub struct BlindedSigningKey<D>where
    D: Digest,
{ /* private fields */ }
Expand description

Signing key for producing “blinded” RSASSA-PSS signatures as described in draft-irtf-cfrg-rsa-blind-signatures.

Implementations

Create a new RSASSA-PSS signing key which produces “blinded” signatures.

Create a new RSASSA-PSS signing key which produces “blinded” signatures with a salt of the given length.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Serialize a [SecretDocument] containing a PKCS#8-encoded private key.
Serialize this private key as PEM-encoded PKCS#8 with the given [LineEnding].
Write ASN.1 DER-encoded PKCS#8 private key to the given path
Write ASN.1 DER-encoded PKCS#8 private key to the given path
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Attempt to sign the given prehashed message Digest, returning a digital signature on success, or an error if something went wrong. Read more
Sign the given prehashed message Digest, returning a signature. Read more
Attempt to sign the given message, returning a digital signature on success, or an error if something went wrong. Read more
Sign the given message and return a digital signature

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
Serialize a [SecretDocument] containing a PKCS#1-encoded private key.
Serialize this private key as PEM-encoded PKCS#1 with the given [LineEnding].
Write ASN.1 DER-encoded PKCS#1 private key to the given path.
Write ASN.1 DER-encoded PKCS#1 private key to the given path.

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.