public static class CertificateSubject.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CertificateSubject |
build() |
CertificateSubject.Builder |
commonName(String commonName)
Common name or fully-qualified domain name (RDN CN).
|
CertificateSubject.Builder |
copy(CertificateSubject model) |
CertificateSubject.Builder |
country(String country)
Country name (RDN C).
|
CertificateSubject.Builder |
distinguishedNameQualifier(String distinguishedNameQualifier)
Distinguished name qualifier(RDN DNQ).
|
CertificateSubject.Builder |
domainComponent(String domainComponent)
Domain component (RDN DC).
|
CertificateSubject.Builder |
generationQualifier(String generationQualifier)
Personal generational qualifier (for example, Sr., Jr.
|
CertificateSubject.Builder |
givenName(String givenName)
Personal given name (RDN G or GN).
|
CertificateSubject.Builder |
initials(String initials)
Personal initials.
|
CertificateSubject.Builder |
localityName(String localityName)
Locality (RDN L).
|
CertificateSubject.Builder |
organization(String organization)
Organization (RDN O).
|
CertificateSubject.Builder |
organizationalUnit(String organizationalUnit)
Organizational unit (RDN OU).
|
CertificateSubject.Builder |
pseudonym(String pseudonym)
Subject pseudonym.
|
CertificateSubject.Builder |
serialNumber(String serialNumber)
Unique subject identifier, which is not the same as the certificate serial number (RDN
SERIALNUMBER).
|
CertificateSubject.Builder |
stateOrProvinceName(String stateOrProvinceName)
State or province name (RDN ST or S).
|
CertificateSubject.Builder |
street(String street)
Street address (RDN STREET).
|
CertificateSubject.Builder |
surname(String surname)
Personal surname (RDN SN).
|
CertificateSubject.Builder |
title(String title)
Title (RDN T or TITLE).
|
CertificateSubject.Builder |
userId(String userId)
User ID (RDN UID).
|
public CertificateSubject.Builder commonName(String commonName)
Common name or fully-qualified domain name (RDN CN).
commonName
- the value to setpublic CertificateSubject.Builder country(String country)
Country name (RDN C).
country
- the value to setpublic CertificateSubject.Builder domainComponent(String domainComponent)
Domain component (RDN DC).
domainComponent
- the value to setpublic CertificateSubject.Builder distinguishedNameQualifier(String distinguishedNameQualifier)
Distinguished name qualifier(RDN DNQ).
distinguishedNameQualifier
- the value to setpublic CertificateSubject.Builder generationQualifier(String generationQualifier)
Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
generationQualifier
- the value to setpublic CertificateSubject.Builder givenName(String givenName)
Personal given name (RDN G or GN).
givenName
- the value to setpublic CertificateSubject.Builder initials(String initials)
Personal initials.
initials
- the value to setpublic CertificateSubject.Builder localityName(String localityName)
Locality (RDN L).
localityName
- the value to setpublic CertificateSubject.Builder organization(String organization)
Organization (RDN O).
organization
- the value to setpublic CertificateSubject.Builder organizationalUnit(String organizationalUnit)
Organizational unit (RDN OU).
organizationalUnit
- the value to setpublic CertificateSubject.Builder pseudonym(String pseudonym)
Subject pseudonym.
pseudonym
- the value to setpublic CertificateSubject.Builder serialNumber(String serialNumber)
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
serialNumber
- the value to setpublic CertificateSubject.Builder stateOrProvinceName(String stateOrProvinceName)
State or province name (RDN ST or S).
stateOrProvinceName
- the value to setpublic CertificateSubject.Builder street(String street)
Street address (RDN STREET).
street
- the value to setpublic CertificateSubject.Builder surname(String surname)
Personal surname (RDN SN).
surname
- the value to setpublic CertificateSubject.Builder title(String title)
Title (RDN T or TITLE).
title
- the value to setpublic CertificateSubject.Builder userId(String userId)
User ID (RDN UID).
userId
- the value to setpublic CertificateSubject build()
public CertificateSubject.Builder copy(CertificateSubject model)
Copyright © 2016–2024. All rights reserved.