Trait AssociatedOid

Source
pub trait AssociatedOid {
    const OID: ObjectIdentifier;
}
Expand description

A trait which associates an OID with a type.

Required Associated Constants§

Source

const OID: ObjectIdentifier

The OID associated with this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AssociatedOid for Secp256k1

Source§

impl<C> AssociatedOid for Signature<C>

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.

Implementors§