Class TestOCSPCertServer


  • public class TestOCSPCertServer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestOCSPCertServer

        public TestOCSPCertServer()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
    • 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