pub struct EcdsaP384Verifier;Available on crate feature
p384 only.Expand description
ECDSA P-384 with SHA-384 signature verifier.
Handles OID ecdsa-with-SHA384 (1.2.840.10045.4.3.3).
Feature-gated behind p384.
RFC 5758 §3.2 mandates that AlgorithmIdentifier.parameters MUST be
absent for ecdsa-with-SHA384. The p384 crate’s VerifyingKey::try_from
parses the issuer SPKI and enforces RFC 5480 §2.1.1 (named-curve only;
implicit null parameters); algorithm-identifier parameter handling is
the caller’s responsibility — pkix-path does not currently reject a
trailing-NULL parameter on the signature algorithm. This matches the
existing behaviour for EcdsaP256Verifier.
Trait Implementations§
Source§impl Clone for EcdsaP384Verifier
impl Clone for EcdsaP384Verifier
Source§fn clone(&self) -> EcdsaP384Verifier
fn clone(&self) -> EcdsaP384Verifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EcdsaP384Verifier
Source§impl Debug for EcdsaP384Verifier
impl Debug for EcdsaP384Verifier
Source§impl Default for EcdsaP384Verifier
impl Default for EcdsaP384Verifier
Source§fn default() -> EcdsaP384Verifier
fn default() -> EcdsaP384Verifier
Returns the “default value” for a type. Read more
impl Eq for EcdsaP384Verifier
Source§impl Hash for EcdsaP384Verifier
impl Hash for EcdsaP384Verifier
Source§impl PartialEq for EcdsaP384Verifier
impl PartialEq for EcdsaP384Verifier
Source§fn eq(&self, other: &EcdsaP384Verifier) -> bool
fn eq(&self, other: &EcdsaP384Verifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SignatureVerifier for EcdsaP384Verifier
impl SignatureVerifier for EcdsaP384Verifier
Source§fn verify_signature(
&self,
algorithm: AlgorithmIdentifierRef<'_>,
issuer_spki: SubjectPublicKeyInfoRef<'_>,
message: &[u8],
signature: &[u8],
) -> Result<(), SignatureError>
fn verify_signature( &self, algorithm: AlgorithmIdentifierRef<'_>, issuer_spki: SubjectPublicKeyInfoRef<'_>, message: &[u8], signature: &[u8], ) -> Result<(), SignatureError>
impl StructuralPartialEq for EcdsaP384Verifier
Auto Trait Implementations§
impl Freeze for EcdsaP384Verifier
impl RefUnwindSafe for EcdsaP384Verifier
impl Send for EcdsaP384Verifier
impl Sync for EcdsaP384Verifier
impl Unpin for EcdsaP384Verifier
impl UnsafeUnpin for EcdsaP384Verifier
impl UnwindSafe for EcdsaP384Verifier
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