pub struct Ed25519;Expand description
Ed25519(非批准)。
Trait Implementations§
Source§impl SignatureVerificationAlgorithm for Ed25519
impl SignatureVerificationAlgorithm for Ed25519
Source§fn verify_signature(
&self,
public_key: &[u8],
message: &[u8],
signature: &[u8],
) -> Result<(), InvalidSignature>
fn verify_signature( &self, public_key: &[u8], message: &[u8], signature: &[u8], ) -> Result<(), InvalidSignature>
Verify a signature. Read more
Source§fn public_key_alg_id(&self) -> AlgorithmIdentifier
fn public_key_alg_id(&self) -> AlgorithmIdentifier
Return the
AlgorithmIdentifier that must equal a public key’s
subjectPublicKeyInfo value for this SignatureVerificationAlgorithm
to be used for signature verification.Source§fn signature_alg_id(&self) -> AlgorithmIdentifier
fn signature_alg_id(&self) -> AlgorithmIdentifier
Return the
AlgorithmIdentifier that must equal the signatureAlgorithm value
on the data to be verified for this SignatureVerificationAlgorithm to be used
for signature verification.Source§fn fips_status(&self) -> FipsStatus
fn fips_status(&self) -> FipsStatus
Return the FIPS status of this algorithm or implementation.
Auto Trait Implementations§
impl Freeze for Ed25519
impl RefUnwindSafe for Ed25519
impl Send for Ed25519
impl Sync for Ed25519
impl Unpin for Ed25519
impl UnsafeUnpin for Ed25519
impl UnwindSafe for Ed25519
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more