pub trait AssociatedOid {
const OID: ObjectIdentifier;
}Expand description
A trait which associates an OID with a type.
Required Associated Constants§
Sourceconst OID: ObjectIdentifier
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 CrlReason
impl AssociatedOid for CrlReason
const OID: ObjectIdentifier = ID_CE_CRL_REASONS
Source§impl AssociatedOid for NistP256
Available on crate feature pkcs8 only.
impl AssociatedOid for NistP256
Available on crate feature
pkcs8 only.const OID: ObjectIdentifier
Source§impl AssociatedOid for NistP384
Available on crate feature pkcs8 only.
impl AssociatedOid for NistP384
Available on crate feature
pkcs8 only.const OID: ObjectIdentifier
Source§impl AssociatedOid for NistP521
Available on crate feature pkcs8 only.
impl AssociatedOid for NistP521
Available on crate feature
pkcs8 only.const OID: ObjectIdentifier
Source§impl AssociatedOid for SubjectInfoAccessSyntax
impl AssociatedOid for SubjectInfoAccessSyntax
const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
Source§impl AssociatedOid for CertificatePolicies
impl AssociatedOid for CertificatePolicies
const OID: ObjectIdentifier = ID_CE_CERTIFICATE_POLICIES
Source§impl AssociatedOid for NameConstraints
impl AssociatedOid for NameConstraints
const OID: ObjectIdentifier = ID_CE_NAME_CONSTRAINTS
Source§impl AssociatedOid for PolicyConstraints
impl AssociatedOid for PolicyConstraints
const OID: ObjectIdentifier = ID_CE_POLICY_CONSTRAINTS
Source§impl AssociatedOid for IssuingDistributionPoint
impl AssociatedOid for IssuingDistributionPoint
const OID: ObjectIdentifier = ID_PE_SUBJECT_INFO_ACCESS
Source§impl AssociatedOid for BaseCrlNumber
impl AssociatedOid for BaseCrlNumber
const OID: ObjectIdentifier = ID_CE_DELTA_CRL_INDICATOR
Source§impl AssociatedOid for CrlNumber
impl AssociatedOid for CrlNumber
const OID: ObjectIdentifier = ID_CE_CRL_NUMBER
Source§impl AssociatedOid for FreshestCrl
impl AssociatedOid for FreshestCrl
const OID: ObjectIdentifier = ID_CE_FRESHEST_CRL
Source§impl AssociatedOid for PrivateKeyUsagePeriod
impl AssociatedOid for PrivateKeyUsagePeriod
const OID: ObjectIdentifier = ID_CE_PRIVATE_KEY_USAGE_PERIOD
Source§impl AssociatedOid for PolicyMappings
impl AssociatedOid for PolicyMappings
const OID: ObjectIdentifier = ID_CE_POLICY_MAPPINGS
Source§impl AssociatedOid for InhibitAnyPolicy
impl AssociatedOid for InhibitAnyPolicy
const OID: ObjectIdentifier = ID_CE_INHIBIT_ANY_POLICY
Source§impl AssociatedOid for IssuerAltName
impl AssociatedOid for IssuerAltName
const OID: ObjectIdentifier = ID_CE_ISSUER_ALT_NAME
Source§impl AssociatedOid for SubjectDirectoryAttributes
impl AssociatedOid for SubjectDirectoryAttributes
const OID: ObjectIdentifier = ID_CE_SUBJECT_DIRECTORY_ATTRIBUTES
Source§impl AssociatedOid for ChallengePassword
impl AssociatedOid for ChallengePassword
const OID: ObjectIdentifier
Source§impl AssociatedOid for ExtensionReq
impl AssociatedOid for ExtensionReq
const OID: ObjectIdentifier = ID_EXTENSION_REQ
Source§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.
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.
const OID: ObjectIdentifier
Source§impl<T> AssociatedOid for CoreWrapper<T>where
T: BufferKindUser + AssociatedOid,
<T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
<<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
Available on crate feature oid only.
impl<T> AssociatedOid for CoreWrapper<T>where
T: BufferKindUser + AssociatedOid,
<T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
<<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
Available on crate feature
oid only.const OID: ObjectIdentifier = T::OID
Source§impl<T, OutSize, O> AssociatedOid for CtVariableCoreWrapper<T, OutSize, O>where
T: VariableOutputCore,
O: AssociatedOid,
OutSize: ArrayLength<u8> + IsLessOrEqual<<T as OutputSizeUser>::OutputSize>,
<OutSize as IsLessOrEqual<<T as OutputSizeUser>::OutputSize>>::Output: NonZero,
<T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
<<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
Available on crate feature oid only.
impl<T, OutSize, O> AssociatedOid for CtVariableCoreWrapper<T, OutSize, O>where
T: VariableOutputCore,
O: AssociatedOid,
OutSize: ArrayLength<u8> + IsLessOrEqual<<T as OutputSizeUser>::OutputSize>,
<OutSize as IsLessOrEqual<<T as OutputSizeUser>::OutputSize>>::Output: NonZero,
<T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
<<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
Available on crate feature
oid only.