Module itextpdf

Class OcspClientBouncyCastle

  • All Implemented Interfaces:
    OcspClient

    public class OcspClientBouncyCastle
    extends java.lang.Object
    implements OcspClient
    OcspClient implementation using BouncyCastle.
    Since:
    2.1.6
    Author:
    psoares
    • Constructor Summary

      Constructors 
      Constructor Description
      OcspClientBouncyCastle​(java.security.cert.X509Certificate checkCert, java.security.cert.X509Certificate rootCert, java.lang.String url)
      Creates an instance of an OcspClient that will be using BouncyCastle.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getEncoded()
      Gets an encoded byte array.
      • Methods inherited from class java.lang.Object

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

      • OcspClientBouncyCastle

        public OcspClientBouncyCastle​(java.security.cert.X509Certificate checkCert,
                                      java.security.cert.X509Certificate rootCert,
                                      java.lang.String url)
        Creates an instance of an OcspClient that will be using BouncyCastle.
        Parameters:
        checkCert - the check certificate
        rootCert - the root certificate
        url - the OCSP URL