public final class CertificateParameters extends KeyParameters
Modifier and Type | Class and Description |
---|---|
static class |
CertificateParameters.CertificateParametersBuilder
A builder that provides a fluent API for constructing
CertificateParameters.CertificateParametersBuilder s. |
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 . |
String[] |
getAlternativeNames()
Get the value of the alternative names parameter that will be used when generating
the certificate.
|
String |
getCa()
Get the value of the certificate authority parameter that will be used when
generating the certificate.
|
String |
getCommonName()
Get the value of the common name parameter that will be used when generating the
certificate.
|
String |
getCountry()
Get the value of the country parameter that will be used when generating the
certificate.
|
Integer |
getDuration()
Get the value of the duration (in days) parameter that will be used when generating
the certificate.
|
ExtendedKeyUsage[] |
getExtendedKeyUsage()
Get the value of the extended key usage extensions that will be used when
generating the certificate.
|
Boolean |
getIsCa()
Get the value of the flag that indicates whether the generated certificate is a
certificate authority.
|
KeyUsage[] |
getKeyUsage()
Get the value of the key usage extensions that will be used when generating the
certificate.
|
String |
getLocality()
Get the value of the locality parameter that will be used when generating the
certificate.
|
String |
getOrganization()
Get the value of the organization parameter that will be used when generating the
certificate.
|
String |
getOrganizationUnit()
Get the value of the organization unit parameter that will be used when generating
the certificate.
|
Boolean |
getSelfSign()
Get the value of the flag that indicates whether the generated certificate is
self-signed.
|
String |
getState()
Get the value of the state parameter that will be used when generating the
certificate.
|
getKeyLength
public String getCommonName()
public String[] getAlternativeNames()
public String getOrganization()
public String getOrganizationUnit()
public String getLocality()
public String getState()
public String getCountry()
public String getCa()
public Boolean getIsCa()
public Boolean getSelfSign()
public Integer getDuration()
public KeyUsage[] getKeyUsage()
public ExtendedKeyUsage[] getExtendedKeyUsage()
public static CertificateParameters.CertificateParametersBuilder builder()
CertificateParameters
.