Struct k256::ecdsa::VerifyingKey [−][src]
pub struct VerifyingKey { /* fields omitted */ }
ecdsa-core
and ecdsa
only.Expand description
ECDSA/secp256k1 verification key (i.e. public key)
Implementations
Initialize VerifyingKey
from a SEC1-encoded public key.
Initialize VerifyingKey
from a SEC1 EncodedPoint
.
Serialize this VerifyingKey
as a SEC1-encoded bytestring
(with point compression applied)
Trait Implementations
impl<D> DigestVerifier<D, Signature<Secp256k1>> for VerifyingKey where
D: Digest<OutputSize = U32>,
impl<D> DigestVerifier<D, Signature<Secp256k1>> for VerifyingKey where
D: Digest<OutputSize = U32>,
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Parse SubjectPublicKeyInfo
into a public key object.
Deserialize object from ASN.1 DER-encoded SubjectPublicKeyInfo
(binary format). Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Serialize this value as a SEC1 EncodedPoint
, optionally applying
point compression. Read more
impl<S> Verifier<S> for VerifyingKey where
S: PrehashSignature,
Self: DigestVerifier<S::Digest, S>,
impl<S> Verifier<S> for VerifyingKey where
S: PrehashSignature,
Self: DigestVerifier<S::Digest, S>,
Auto Trait Implementations
impl RefUnwindSafe for VerifyingKey
impl Send for VerifyingKey
impl Sync for VerifyingKey
impl Unpin for VerifyingKey
impl UnwindSafe for VerifyingKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self