Class CertificateSubject


  • @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).
    • Constructor Detail

      • CertificateSubject

        @Deprecated
        @ConstructorProperties({"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)
        Deprecated.
    • Method Detail

      • getCommonName

        public String getCommonName()
        Common name or fully-qualified domain name (RDN CN).
        Returns:
        the value
      • getCountry

        public String getCountry()
        Country name (RDN C).
        Returns:
        the value
      • getDomainComponent

        public String getDomainComponent()
        Domain component (RDN DC).
        Returns:
        the value
      • getDistinguishedNameQualifier

        public String getDistinguishedNameQualifier()
        Distinguished name qualifier(RDN DNQ).
        Returns:
        the value
      • getGenerationQualifier

        public String getGenerationQualifier()
        Personal generational qualifier (for example, Sr., Jr.

        3rd, or IV).

        Returns:
        the value
      • getGivenName

        public String getGivenName()
        Personal given name (RDN G or GN).
        Returns:
        the value
      • getInitials

        public String getInitials()
        Personal initials.
        Returns:
        the value
      • getLocalityName

        public String getLocalityName()
        Locality (RDN L).
        Returns:
        the value
      • getOrganization

        public String getOrganization()
        Organization (RDN O).
        Returns:
        the value
      • getOrganizationalUnit

        public String getOrganizationalUnit()
        Organizational unit (RDN OU).
        Returns:
        the value
      • getPseudonym

        public String getPseudonym()
        Subject pseudonym.
        Returns:
        the value
      • getSerialNumber

        public String getSerialNumber()
        Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
        Returns:
        the value
      • getStateOrProvinceName

        public String getStateOrProvinceName()
        State or province name (RDN ST or S).
        Returns:
        the value
      • getStreet

        public String getStreet()
        Street address (RDN STREET).
        Returns:
        the value
      • getSurname

        public String getSurname()
        Personal surname (RDN SN).
        Returns:
        the value
      • getTitle

        public String getTitle()
        Title (RDN T or TITLE).
        Returns:
        the value
      • getUserId

        public String getUserId()
        User ID (RDN UID).
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel