@Generated(value="software.amazon.awssdk:codegen") public final class ASN1Subject extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ASN1Subject.Builder,ASN1Subject>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
ASN1Subject.Builder |
Modifier and Type | Method and Description |
---|---|
static ASN1Subject.Builder |
builder() |
String |
commonName()
Fully qualified domain name (FQDN) associated with the certificate subject.
|
String |
country()
Two-digit code that specifies the country in which the certificate subject located.
|
String |
distinguishedNameQualifier()
Disambiguating information for the certificate subject.
|
boolean |
equals(Object obj) |
String |
generationQualifier()
Typically a qualifier appended to the name of an individual.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
givenName()
First name.
|
int |
hashCode() |
String |
initials()
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.
|
String |
locality()
The locality (such as a city or town) in which the certificate subject is located.
|
String |
organization()
Legal name of the organization with which the certificate subject is affiliated.
|
String |
organizationalUnit()
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is
affiliated.
|
String |
pseudonym()
Typically a shortened version of a longer GivenName.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ASN1Subject.Builder> |
serializableBuilderClass() |
String |
serialNumber()
The certificate serial number.
|
String |
state()
State in which the subject of the certificate is located.
|
String |
surname()
Family name.
|
String |
title()
A title such as Mr.
|
ASN1Subject.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String country()
Two-digit code that specifies the country in which the certificate subject located.
public String organization()
Legal name of the organization with which the certificate subject is affiliated.
public String organizationalUnit()
A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
public String distinguishedNameQualifier()
Disambiguating information for the certificate subject.
public String state()
State in which the subject of the certificate is located.
public String commonName()
Fully qualified domain name (FQDN) associated with the certificate subject.
public String serialNumber()
The certificate serial number.
public String locality()
The locality (such as a city or town) in which the certificate subject is located.
public String title()
A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.
public String surname()
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.
public String givenName()
First name.
public String initials()
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.
public String pseudonym()
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.
public String generationQualifier()
Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
public ASN1Subject.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ASN1Subject.Builder,ASN1Subject>
public static ASN1Subject.Builder builder()
public static Class<? extends ASN1Subject.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.