ASN1Subject
public struct ASN1Subject : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Fully qualified domain name (FQDN) associated with the certificate subject.
Declaration
Swift
public let commonName: String?
-
Two-digit code that specifies the country in which the certificate subject located.
Declaration
Swift
public let country: String?
-
Disambiguating information for the certificate subject.
Declaration
Swift
public let distinguishedNameQualifier: String?
-
Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
Declaration
Swift
public let generationQualifier: String?
-
First name.
Declaration
Swift
public let givenName: 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.
Declaration
Swift
public let initials: String?
-
The locality (such as a city or town) in which the certificate subject is located.
Declaration
Swift
public let locality: String?
-
Legal name of the organization with which the certificate subject is affiliated.
Declaration
Swift
public let organization: String?
-
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
Declaration
Swift
public let organizationalUnit: 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.
Declaration
Swift
public let pseudonym: String?
-
The certificate serial number.
Declaration
Swift
public let serialNumber: String?
-
State in which the subject of the certificate is located.
Declaration
Swift
public let state: 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.
Declaration
Swift
public let surname: String?
-
A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.
Declaration
Swift
public let title: String?
-
init(commonName:country:distinguishedNameQualifier:generationQualifier:givenName:initials:locality:organization:organizationalUnit:pseudonym:serialNumber:state:surname:title:)
Undocumented
Declaration
Swift
public init(commonName: String? = nil, country: String? = nil, distinguishedNameQualifier: String? = nil, generationQualifier: String? = nil, givenName: String? = nil, initials: String? = nil, locality: String? = nil, organization: String? = nil, organizationalUnit: String? = nil, pseudonym: String? = nil, serialNumber: String? = nil, state: String? = nil, surname: String? = nil, title: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws