Trait coins_bip32::ecdsa::signature::digest::const_oid::AssociatedOid
pub trait AssociatedOid {
const OID: ObjectIdentifier;
}
Expand description
A trait which associates an OID with a type.
Required Associated Constants§
const OID: ObjectIdentifier
const OID: ObjectIdentifier
The OID associated with this type.
Implementations on Foreign Types§
source§impl AssociatedOid for Secp256k1
impl AssociatedOid for Secp256k1
const OID: ObjectIdentifier = pkcs8::ObjectIdentifier::new_unwrap("1.3.132.0.10")
§impl<C> AssociatedOid for Signature<C>where
C: DigestPrimitive,
<C as DigestPrimitive>::Digest: AssociatedOid,
impl<C> AssociatedOid for Signature<C>where C: DigestPrimitive, <C as DigestPrimitive>::Digest: AssociatedOid,
ECDSA ObjectIdentifier
which identifies the digest used by default
with the Signer
and Verifier
traits.
To support non-default digest algorithms, use the [SignatureWithOid
]
type instead.