Class BasicOCSPResponseBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ocsp.BasicOCSPResponseBCFips
All Implemented Interfaces:
IASN1Encodable, IBasicOCSPResponse

public class BasicOCSPResponseBCFips extends ASN1EncodableBCFips implements IBasicOCSPResponse
Wrapper class for BasicOCSPResponse.
  • Constructor Details

    • BasicOCSPResponseBCFips

      public BasicOCSPResponseBCFips (org.bouncycastle.asn1.ocsp.BasicOCSPResponse basicOCSPResponse)
      Creates new wrapper instance for BasicOCSPResponse.
      Parameters:
      basicOCSPResponse - BasicOCSPResponse to be wrapped
  • Method Details

    • getBasicOCSPResponse

      public org.bouncycastle.asn1.ocsp.BasicOCSPResponse getBasicOCSPResponse()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped BasicOCSPResponse.
    • getProducedAtDate

      public Date getProducedAtDate() throws ParseException
      Gets TbsResponseData for the wrapped BasicOCSPResponse object and calls actual getProducedAt method, then gets Date.
      Specified by:
      getProducedAtDate in interface IBasicOCSPResponse
      Returns:
      produced at date.
      Throws:
      ParseException - when parsing cannot be completed.