[][src]Struct picky_asn1_x509::certification_request::CertificationRequestInfo

pub struct CertificationRequestInfo {
    pub version: u8,
    pub subject: Name,
    pub subject_public_key_info: SubjectPublicKeyInfo,
    pub attributes: Implicit<Option<HeaderOnly<ApplicationTag0<()>>>>,
}

RFC 2986 #4

CertificationRequestInfo ::= SEQUENCE {
     version       INTEGER { v1(0) } (v1,...),
     subject       Name,
     subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
     attributes    [0] Attributes{{ CRIAttributes }}
}

Fields

version: u8subject: Namesubject_public_key_info: SubjectPublicKeyInfoattributes: Implicit<Option<HeaderOnly<ApplicationTag0<()>>>>

Not yet supported

Implementations

impl CertificationRequestInfo[src]

pub fn new(subject: Name, subject_public_key_info: SubjectPublicKeyInfo) -> Self[src]

Trait Implementations

impl Clone for CertificationRequestInfo[src]

impl Debug for CertificationRequestInfo[src]

impl<'de> Deserialize<'de> for CertificationRequestInfo[src]

impl PartialEq<CertificationRequestInfo> for CertificationRequestInfo[src]

impl Serialize for CertificationRequestInfo[src]

impl StructuralPartialEq for CertificationRequestInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.