public class CertificateAuthority extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SIGNATURE_ALGORITHM |
Constructor and Description |
---|
CertificateAuthority(X509Certificate certificate,
PrivateKey privateKey)
Create fully initialized instance of a Certificate Authority.
|
Modifier and Type | Method and Description |
---|---|
KeyStore.PrivateKeyEntry |
sign(CertificateSigningRequest csr) |
public static final String SIGNATURE_ALGORITHM
public CertificateAuthority(X509Certificate certificate, PrivateKey privateKey)
certificate
- certificate authority's X509 certificateprivateKey
- certificate authority's private RSA keypublic KeyStore.PrivateKeyEntry sign(CertificateSigningRequest csr)
This work is licensed under a Creative Commons Attribution 4.0 International License.