public class RestCaClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CT_pkix_cert |
| Constructor and Description |
|---|
RestCaClient(String caUrl,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCaCert() |
void |
init() |
X509Certificate |
requestCert(String certprofile,
org.bouncycastle.asn1.pkcs.CertificationRequest csr) |
boolean |
revokeCert(BigInteger serialNumber,
org.bouncycastle.asn1.x509.CRLReason reason) |
void |
shutdown() |
boolean |
unrevokeCert(BigInteger serialNumber) |
public static final String CT_pkix_cert
public X509Certificate getCaCert()
public void shutdown()
public X509Certificate requestCert(String certprofile, org.bouncycastle.asn1.pkcs.CertificationRequest csr) throws Exception
Exceptionpublic boolean revokeCert(BigInteger serialNumber, org.bouncycastle.asn1.x509.CRLReason reason) throws Exception
Exceptionpublic boolean unrevokeCert(BigInteger serialNumber) throws Exception
ExceptionCopyright © 2018. All rights reserved.