Struct rsa::pss::Pss

source ·
pub struct Pss {
    pub blinded: bool,
    pub digest: Box<dyn DynDigest + Send + Sync>,
    pub salt_len: Option<usize>,
}
Expand description

Digital signatures using PSS padding.

Fields§

§blinded: bool

Create blinded signatures.

§digest: Box<dyn DynDigest + Send + Sync>

Digest type to use.

§salt_len: Option<usize>

Salt length.

Implementations§

New PSS padding for the given digest.

New PSS padding for the given digest with a salt value of the given length.

New PSS padding for blinded signatures (RSA-BSSA) for the given digest.

New PSS padding for blinded signatures (RSA-BSSA) for the given digest with a salt value of the given length.

Trait Implementations§

Formats the value using the given formatter. Read more
Sign the given digest.
Verify a signed message. 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

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.