pub struct Signature { /* private fields */ }
Expand description
RSASSA-PSS signatures as described in RFC8017 § 8.1.
Trait Implementations§
source§impl<D> DigestVerifier<D, Signature> for VerifyingKey<D>where
D: Digest + FixedOutputReset,
impl<D> DigestVerifier<D, Signature> for VerifyingKey<D>where D: Digest + FixedOutputReset,
source§impl PartialEq<Signature> for Signature
impl PartialEq<Signature> for Signature
source§impl<D> PrehashVerifier<Signature> for VerifyingKey<D>where
D: Digest + FixedOutputReset,
impl<D> PrehashVerifier<Signature> for VerifyingKey<D>where D: Digest + FixedOutputReset,
source§impl<D> RandomizedDigestSigner<D, Signature> for BlindedSigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedDigestSigner<D, Signature> for BlindedSigningKey<D>where D: Digest + FixedOutputReset,
source§fn try_sign_digest_with_rng(
&self,
rng: &mut impl CryptoRngCore,
digest: D
) -> Result<Signature>
fn try_sign_digest_with_rng( &self, rng: &mut impl CryptoRngCore, digest: D ) -> Result<Signature>
Attempt to sign the given prehashed message
Digest
, returning a
digital signature on success, or an error if something went wrong.source§fn sign_digest_with_rng(&self, rng: &mut impl CryptoRngCore, digest: D) -> S
fn sign_digest_with_rng(&self, rng: &mut impl CryptoRngCore, digest: D) -> S
Sign the given prehashed message
Digest
, returning a signature. Read moresource§impl<D> RandomizedDigestSigner<D, Signature> for SigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedDigestSigner<D, Signature> for SigningKey<D>where D: Digest + FixedOutputReset,
source§fn try_sign_digest_with_rng(
&self,
rng: &mut impl CryptoRngCore,
digest: D
) -> Result<Signature>
fn try_sign_digest_with_rng( &self, rng: &mut impl CryptoRngCore, digest: D ) -> Result<Signature>
Attempt to sign the given prehashed message
Digest
, returning a
digital signature on success, or an error if something went wrong.source§fn sign_digest_with_rng(&self, rng: &mut impl CryptoRngCore, digest: D) -> S
fn sign_digest_with_rng(&self, rng: &mut impl CryptoRngCore, digest: D) -> S
Sign the given prehashed message
Digest
, returning a signature. Read moresource§impl<D> RandomizedPrehashSigner<Signature> for BlindedSigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedPrehashSigner<Signature> for BlindedSigningKey<D>where D: Digest + FixedOutputReset,
source§fn sign_prehash_with_rng(
&self,
rng: &mut impl CryptoRngCore,
prehash: &[u8]
) -> Result<Signature>
fn sign_prehash_with_rng( &self, rng: &mut impl CryptoRngCore, prehash: &[u8] ) -> Result<Signature>
Attempt to sign the given message digest, returning a digital signature
on success, or an error if something went wrong. Read more
source§impl<D> RandomizedPrehashSigner<Signature> for SigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedPrehashSigner<Signature> for SigningKey<D>where D: Digest + FixedOutputReset,
source§fn sign_prehash_with_rng(
&self,
rng: &mut impl CryptoRngCore,
prehash: &[u8]
) -> Result<Signature>
fn sign_prehash_with_rng( &self, rng: &mut impl CryptoRngCore, prehash: &[u8] ) -> Result<Signature>
Attempt to sign the given message digest, returning a digital signature
on success, or an error if something went wrong. Read more
source§impl<D> RandomizedSigner<Signature> for BlindedSigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedSigner<Signature> for BlindedSigningKey<D>where D: Digest + FixedOutputReset,
source§fn try_sign_with_rng(
&self,
rng: &mut impl CryptoRngCore,
msg: &[u8]
) -> Result<Signature>
fn try_sign_with_rng( &self, rng: &mut impl CryptoRngCore, msg: &[u8] ) -> Result<Signature>
Attempt to sign the given message, returning a digital signature on
success, or an error if something went wrong. Read more
source§fn sign_with_rng(&self, rng: &mut impl CryptoRngCore, msg: &[u8]) -> S
fn sign_with_rng(&self, rng: &mut impl CryptoRngCore, msg: &[u8]) -> S
Sign the given message and return a digital signature
source§impl<D> RandomizedSigner<Signature> for SigningKey<D>where
D: Digest + FixedOutputReset,
impl<D> RandomizedSigner<Signature> for SigningKey<D>where D: Digest + FixedOutputReset,
source§fn try_sign_with_rng(
&self,
rng: &mut impl CryptoRngCore,
msg: &[u8]
) -> Result<Signature>
fn try_sign_with_rng( &self, rng: &mut impl CryptoRngCore, msg: &[u8] ) -> Result<Signature>
Attempt to sign the given message, returning a digital signature on
success, or an error if something went wrong. Read more
source§fn sign_with_rng(&self, rng: &mut impl CryptoRngCore, msg: &[u8]) -> S
fn sign_with_rng(&self, rng: &mut impl CryptoRngCore, msg: &[u8]) -> S
Sign the given message and return a digital signature