public class CertificateParameters extends KeyParameters
| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateParameters.CertificateParametersBuilder
A builder that provides a fluent API for constructing
CertificateParameters.CertificateParametersBuilders. |
keyLength| Modifier and Type | Method and Description |
|---|---|
static CertificateParameters.CertificateParametersBuilder |
builder()
Create a builder that provides a fluent API for providing the values required
to construct a
CertificateParameters. |
java.lang.String[] |
getAlternativeNames()
Get the value of the alternative names parameter that will be used when generating the certificate.
|
java.lang.String |
getCa()
Get the value of the certificate authority parameter that will be used when generating the certificate.
|
java.lang.String |
getCommonName()
Get the value of the common name parameter that will be used when generating the certificate.
|
java.lang.String |
getCountry()
Get the value of the country parameter that will be used when generating the certificate.
|
java.lang.Integer |
getDuration()
Get the value of the duration (in days) parameter that will be used when generating the certificate.
|
java.lang.Boolean |
getIsCa()
Get the value of the flag that indicates whether the generated certificate is a certificate authority.
|
java.lang.String |
getLocality()
Get the value of the locality parameter that will be used when generating the certificate.
|
java.lang.String |
getOrganization()
Get the value of the organization parameter that will be used when generating the certificate.
|
java.lang.String |
getOrganizationUnit()
Get the value of the organization unit parameter that will be used when generating the certificate.
|
java.lang.Boolean |
getSelfSign()
Get the value of the flag that indicates whether the generated certificate is self-signed.
|
java.lang.String |
getState()
Get the value of the state parameter that will be used when generating the certificate.
|
getKeyLengthpublic java.lang.String getCommonName()
public java.lang.String[] getAlternativeNames()
public java.lang.String getOrganization()
public java.lang.String getOrganizationUnit()
public java.lang.String getLocality()
public java.lang.String getState()
public java.lang.String getCountry()
public java.lang.String getCa()
public java.lang.Boolean getIsCa()
public java.lang.Boolean getSelfSign()
public java.lang.Integer getDuration()
public static CertificateParameters.CertificateParametersBuilder builder()
CertificateParameters.