Skip to main content

AssociatedOid

Trait AssociatedOid 

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

A trait which associates an OID with a type.

Required Associated Constants§

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".

Implementations on Foreign Types§

§

impl<C> AssociatedOid for Signature<C>

Available on crate features digest and hazmat only.

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§

§

impl<T, OutSize, O> AssociatedOid for CtVariableCoreWrapper<T, OutSize, O>

Available on crate feature oid only.
§

const OID: ObjectIdentifier = O::OID

§

impl<T> AssociatedOid for CoreWrapper<T>

Available on crate feature oid only.
§

const OID: ObjectIdentifier = T::OID