@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateSubject extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The subject of the certificate, which is a distinguished name that identifies the entity that
owns the public key in the certificate.
Note: Objects should always be created or deserialized using the CertificateSubject.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CertificateSubject.Builder
, which maintain a
set of all explicitly set fields called CertificateSubject.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CertificateSubject.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CertificateSubject(String commonName,
String country,
String domainComponent,
String distinguishedNameQualifier,
String generationQualifier,
String givenName,
String initials,
String localityName,
String organization,
String organizationalUnit,
String pseudonym,
String serialNumber,
String stateOrProvinceName,
String street,
String surname,
String title,
String userId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CertificateSubject.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommonName()
Common name or fully-qualified domain name (RDN CN).
|
String |
getCountry()
Country name (RDN C).
|
String |
getDistinguishedNameQualifier()
Distinguished name qualifier(RDN DNQ).
|
String |
getDomainComponent()
Domain component (RDN DC).
|
String |
getGenerationQualifier()
Personal generational qualifier (for example, Sr., Jr.
|
String |
getGivenName()
Personal given name (RDN G or GN).
|
String |
getInitials()
Personal initials.
|
String |
getLocalityName()
Locality (RDN L).
|
String |
getOrganization()
Organization (RDN O).
|
String |
getOrganizationalUnit()
Organizational unit (RDN OU).
|
String |
getPseudonym()
Subject pseudonym.
|
String |
getSerialNumber()
Unique subject identifier, which is not the same as the certificate serial number (RDN
SERIALNUMBER).
|
String |
getStateOrProvinceName()
State or province name (RDN ST or S).
|
String |
getStreet()
Street address (RDN STREET).
|
String |
getSurname()
Personal surname (RDN SN).
|
String |
getTitle()
Title (RDN T or TITLE).
|
String |
getUserId()
User ID (RDN UID).
|
int |
hashCode() |
CertificateSubject.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"commonName","country","domainComponent","distinguishedNameQualifier","generationQualifier","givenName","initials","localityName","organization","organizationalUnit","pseudonym","serialNumber","stateOrProvinceName","street","surname","title","userId"}) public CertificateSubject(String commonName, String country, String domainComponent, String distinguishedNameQualifier, String generationQualifier, String givenName, String initials, String localityName, String organization, String organizationalUnit, String pseudonym, String serialNumber, String stateOrProvinceName, String street, String surname, String title, String userId)
public static CertificateSubject.Builder builder()
Create a new builder.
public CertificateSubject.Builder toBuilder()
public String getCommonName()
Common name or fully-qualified domain name (RDN CN).
public String getCountry()
Country name (RDN C).
public String getDomainComponent()
Domain component (RDN DC).
public String getDistinguishedNameQualifier()
Distinguished name qualifier(RDN DNQ).
public String getGenerationQualifier()
Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
public String getGivenName()
Personal given name (RDN G or GN).
public String getInitials()
Personal initials.
public String getLocalityName()
Locality (RDN L).
public String getOrganization()
Organization (RDN O).
public String getOrganizationalUnit()
Organizational unit (RDN OU).
public String getPseudonym()
Subject pseudonym.
public String getSerialNumber()
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
public String getStateOrProvinceName()
State or province name (RDN ST or S).
public String getStreet()
Street address (RDN STREET).
public String getSurname()
Personal surname (RDN SN).
public String getTitle()
Title (RDN T or TITLE).
public String getUserId()
User ID (RDN UID).
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.