Class OCSPResponseStatusBC

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

public class OCSPResponseStatusBC extends ASN1EncodableBC implements IOCSPResponseStatus
Wrapper class for OCSPResponseStatus.
  • Constructor Details

    • OCSPResponseStatusBC

      public OCSPResponseStatusBC (org.bouncycastle.asn1.ocsp.OCSPResponseStatus ocspResponseStatus)
      Creates new wrapper instance for OCSPResponseStatus.
      Parameters:
      ocspResponseStatus - OCSPResponseStatus to be wrapped
  • Method Details

    • getInstance

      public static OCSPResponseStatusBC getInstance()
      Gets wrapper instance.
      Returns:
      OCSPResponseStatusBC instance.
    • getOcspResponseStatus

      public org.bouncycastle.asn1.ocsp.OCSPResponseStatus getOcspResponseStatus()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped OCSPResponseStatus.
    • getSuccessful

      public int getSuccessful()
      Gets SUCCESSFUL constant for the wrapped OCSPResponseStatus.
      Specified by:
      getSuccessful in interface IOCSPResponseStatus
      Returns:
      OCSPResponseStatus.SUCCESSFUL value.