Class OCSPResponseBC

java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ocsp.OCSPResponseBC
All Implemented Interfaces:
IASN1Encodable, IOCSPResponse

public class OCSPResponseBC extends ASN1EncodableBC implements IOCSPResponse
Wrapper class for OCSPResponse.
  • Constructor Details

    • OCSPResponseBC

      public OCSPResponseBC (org.bouncycastle.asn1.ocsp.OCSPResponse ocspResponse)
      Creates new wrapper instance for OCSPResponse.
      Parameters:
      ocspResponse - OCSPResponse to be wrapped
    • OCSPResponseBC

      public OCSPResponseBC (IOCSPResponseStatus respStatus, IResponseBytes responseBytes)
      Creates new wrapper instance for OCSPResponse.
      Parameters:
      respStatus - OCSPResponseStatus wrapper
      responseBytes - ResponseBytes wrapper
  • Method Details

    • getOcspResponse

      public org.bouncycastle.asn1.ocsp.OCSPResponse getOcspResponse()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped OCSPResponse.