public class TestOCSPCertServer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestOCSPCertServer.ServerTask |
| Constructor and Description |
|---|
TestOCSPCertServer() |
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate |
getCACert() |
java.security.cert.X509Certificate |
getRootCert() |
org.bouncycastle.pkix.PKIXIdentity |
issueClientCert(java.lang.String subjectName,
boolean markRevoked) |
org.bouncycastle.cert.ocsp.OCSPResp |
respond(org.bouncycastle.cert.ocsp.OCSPReq request) |
public TestOCSPCertServer()
throws java.lang.Exception
java.lang.Exceptionpublic java.security.cert.X509Certificate getRootCert()
public java.security.cert.X509Certificate getCACert()
public org.bouncycastle.pkix.PKIXIdentity issueClientCert(java.lang.String subjectName,
boolean markRevoked)
throws java.lang.Exception
java.lang.Exceptionpublic org.bouncycastle.cert.ocsp.OCSPResp respond(org.bouncycastle.cert.ocsp.OCSPReq request)
throws java.lang.Exception
java.lang.Exception