[][src]Struct rusoto_acm_pca::ASN1Subject

pub struct ASN1Subject {
    pub common_name: Option<String>,
    pub country: Option<String>,
    pub distinguished_name_qualifier: Option<String>,
    pub generation_qualifier: Option<String>,
    pub given_name: Option<String>,
    pub initials: Option<String>,
    pub locality: Option<String>,
    pub organization: Option<String>,
    pub organizational_unit: Option<String>,
    pub pseudonym: Option<String>,
    pub serial_number: Option<String>,
    pub state: Option<String>,
    pub surname: Option<String>,
    pub title: Option<String>,
}

Contains information about the certificate subject. The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity.

Fields

common_name: Option<String>

Fully qualified domain name (FQDN) associated with the certificate subject.

country: Option<String>

Two-digit code that specifies the country in which the certificate subject located.

distinguished_name_qualifier: Option<String>

Disambiguating information for the certificate subject.

generation_qualifier: Option<String>

Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.

given_name: Option<String>

First name.

initials: Option<String>

Concatenation that typically contains the first letter of the GivenName, the first letter of the middle name if one exists, and the first letter of the SurName.

locality: Option<String>

The locality (such as a city or town) in which the certificate subject is located.

organization: Option<String>

Legal name of the organization with which the certificate subject is affiliated.

organizational_unit: Option<String>

A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.

pseudonym: Option<String>

Typically a shortened version of a longer GivenName. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.

serial_number: Option<String>

The certificate serial number.

state: Option<String>

State in which the subject of the certificate is located.

surname: Option<String>

Family name. In the US and the UK, for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.

title: Option<String>

A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.

Trait Implementations

impl PartialEq<ASN1Subject> for ASN1Subject[src]

impl Default for ASN1Subject[src]

impl Clone for ASN1Subject[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ASN1Subject[src]

impl Serialize for ASN1Subject[src]

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

Auto Trait Implementations

impl Send for ASN1Subject

impl Sync for ASN1Subject

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self