[][src]Enum x509_parser::objects::Nid

#[repr(u8)]pub enum Nid {
    Undef,
    Algorithm,
    RsaDsi,
    Pkcs,
    Md2,
    Md5,
    Rc4,
    RsaEncryption,
    RsaMd2,
    RsaMd5,
    PbdMd2Des,
    PbeMd5Des,
    X500,
    X509,
    CommonName,
    CountryName,
    LocalityName,
    StateOrProvinceName,
    OrganizationName,
    OrganizationalUnitName,
    Rsa,
    Pkcs7,
    Pkcs7Data,
    Pkcs7SignedData,
    Pkcs7EnvelopedData,
    Pkcs7SignedAndEnvelopedData,
    Pkcs7DigestData,
    Pkcs7EncryptedData,
    Pkcs3,
    DhKeyAgreement,
    DesEcb,
    DesCfb,
    DesCbc,
    DesEde,
    DesEde3,
    IdeaCbc,
    IdeaCfb,
    IdeaEcb,
    Rc2Cbc,
    Rc2Ecb,
    Rc2Cfb,
    Rc2Ofb,
    Sha,
    Sha1WithRsaEncryption,
    DesEdeCbc,
    DesEde3Cbc,
    DesOfb,
    IdeaOfb,
    Pkcs9,
    EmailAddress,
    UnstructuredName,
    ContentType,
    MessageDigest,
    SigningTime,
    Countersignature,
    ChallengePassword,
    UnstructuredAddress,
    ExtendedCertificateAttributes,
    RsaSha1,
    SubjectKeyIdentifier,
    KeyUsage,
    PrivateKeyUsagePeriod,
    SubjectAltName,
    BasicConstraints,
    CertificatePolicies,
    AuthorityKeyIdentifier,
}

ASN.1 node internal identifier

This enumeration lists the node IDs used (and/or supported) in X.509 certificates. It is not guaranteed to be exhaustive.

Variants

Undef
Algorithm
RsaDsi
Pkcs
Md2
Md5
Rc4
RsaEncryption
RsaMd2
RsaMd5
PbdMd2Des
PbeMd5Des
X500
X509
CommonName
CountryName
LocalityName
StateOrProvinceName
OrganizationName
OrganizationalUnitName
Rsa
Pkcs7
Pkcs7Data
Pkcs7SignedData
Pkcs7EnvelopedData
Pkcs7SignedAndEnvelopedData
Pkcs7DigestData
Pkcs7EncryptedData
Pkcs3
DhKeyAgreement
DesEcb
DesCfb
DesCbc
DesEde
DesEde3
IdeaCbc
IdeaCfb
IdeaEcb
Rc2Cbc
Rc2Ecb
Rc2Cfb
Rc2Ofb
Sha
Sha1WithRsaEncryption
DesEdeCbc
DesEde3Cbc
DesOfb
IdeaOfb
Pkcs9
EmailAddress
UnstructuredName
ContentType
MessageDigest
SigningTime
Countersignature
ChallengePassword
UnstructuredAddress
ExtendedCertificateAttributes
RsaSha1
SubjectKeyIdentifier
KeyUsage
PrivateKeyUsagePeriod
SubjectAltName
BasicConstraints
CertificatePolicies
AuthorityKeyIdentifier

Trait Implementations

impl Clone for Nid[src]

impl Copy for Nid[src]

impl Debug for Nid[src]

impl PartialEq<Nid> for Nid[src]

impl StructuralPartialEq for Nid[src]

Auto Trait Implementations

impl RefUnwindSafe for Nid

impl Send for Nid

impl Sync for Nid

impl Unpin for Nid

impl UnwindSafe for Nid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.