public static class CertificateSubjectName.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CertificateSubjectName |
build() |
CertificateSubjectName.Builder |
commonName(String commonName)
The fully qualified domain name used for DNS lookups of the server.
|
CertificateSubjectName.Builder |
copy(CertificateSubjectName model) |
CertificateSubjectName.Builder |
country(String country)
ISO 3166-1 alpha-2 code of the country where the organization is located.
|
CertificateSubjectName.Builder |
emailAddress(String emailAddress)
The email address of the server’s administrator.
|
CertificateSubjectName.Builder |
locality(String locality)
The city in which the organization is located.
|
CertificateSubjectName.Builder |
organization(String organization)
The organization name.
|
CertificateSubjectName.Builder |
organizationalUnit(String organizationalUnit)
The field to differentiate between divisions within an organization.
|
CertificateSubjectName.Builder |
stateProvince(String stateProvince)
The province where the organization is located.
|
public CertificateSubjectName.Builder country(String country)
ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see ISO’s website.
country
- the value to setpublic CertificateSubjectName.Builder stateProvince(String stateProvince)
The province where the organization is located.
stateProvince
- the value to setpublic CertificateSubjectName.Builder locality(String locality)
The city in which the organization is located.
locality
- the value to setpublic CertificateSubjectName.Builder organization(String organization)
The organization name.
organization
- the value to setpublic CertificateSubjectName.Builder organizationalUnit(String organizationalUnit)
The field to differentiate between divisions within an organization.
organizationalUnit
- the value to setpublic CertificateSubjectName.Builder commonName(String commonName)
The fully qualified domain name used for DNS lookups of the server.
commonName
- the value to setpublic CertificateSubjectName.Builder emailAddress(String emailAddress)
The email address of the server’s administrator.
emailAddress
- the value to setpublic CertificateSubjectName build()
public CertificateSubjectName.Builder copy(CertificateSubjectName model)
Copyright © 2016–2024. All rights reserved.