Package org.bouncycastle.tls.test
Class TestOCSPCertServer
- java.lang.Object
-
- org.bouncycastle.tls.test.TestOCSPCertServer
-
public class TestOCSPCertServer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestOCSPCertServer.ServerTask
-
Constructor Summary
Constructors Constructor Description TestOCSPCertServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.cert.X509CertificategetCACert()java.security.cert.X509CertificategetRootCert()org.bouncycastle.pkix.PKIXIdentityissueClientCert(java.lang.String subjectName, boolean markRevoked)org.bouncycastle.cert.ocsp.OCSPResprespond(org.bouncycastle.cert.ocsp.OCSPReq request)
-
-
-
Method Detail
-
getRootCert
public java.security.cert.X509Certificate getRootCert()
-
getCACert
public java.security.cert.X509Certificate getCACert()
-
issueClientCert
public org.bouncycastle.pkix.PKIXIdentity issueClientCert(java.lang.String subjectName, boolean markRevoked) throws java.lang.Exception- Throws:
java.lang.Exception
-
respond
public org.bouncycastle.cert.ocsp.OCSPResp respond(org.bouncycastle.cert.ocsp.OCSPReq request) throws java.lang.Exception- Throws:
java.lang.Exception
-
-