Class OCSPObjectIdentifiersBC

java.lang.Object
com.itextpdf.bouncycastle.asn1.ocsp.OCSPObjectIdentifiersBC
All Implemented Interfaces:
IOCSPObjectIdentifiers

public class OCSPObjectIdentifiersBC extends Object implements IOCSPObjectIdentifiers
Wrapper class for OCSPObjectIdentifiers.
  • Constructor Details

    • OCSPObjectIdentifiersBC

      public OCSPObjectIdentifiersBC (org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers ocspObjectIdentifiers)
      Creates new wrapper instance for OCSPObjectIdentifiers.
      Parameters:
      ocspObjectIdentifiers - OCSPObjectIdentifiers to be wrapped
  • Method Details

    • getInstance

      public static OCSPObjectIdentifiersBC getInstance()
      Gets wrapper instance.
      Returns:
      OCSPObjectIdentifiersBC instance.
    • getOCSPObjectIdentifiers

      public org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers getOCSPObjectIdentifiers()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped OCSPObjectIdentifiers.
    • getIdPkixOcspBasic

      public IASN1ObjectIdentifier getIdPkixOcspBasic()
      Gets id_pkix_ocsp_basic constant for the wrapped OCSPObjectIdentifiers.
      Specified by:
      getIdPkixOcspBasic in interface IOCSPObjectIdentifiers
      Returns:
      OCSPObjectIdentifiers.id_pkix_ocsp_basic wrapper.
    • getIdPkixOcspNonce

      public IASN1ObjectIdentifier getIdPkixOcspNonce()
      Gets id_pkix_ocsp_nonce constant for the wrapped OCSPObjectIdentifiers.
      Specified by:
      getIdPkixOcspNonce in interface IOCSPObjectIdentifiers
      Returns:
      OCSPObjectIdentifiers.id_pkix_ocsp_nonce wrapper.
    • getIdPkixOcspNoCheck

      public IASN1ObjectIdentifier getIdPkixOcspNoCheck()
      Gets id_pkix_ocsp_nocheck constant for the wrapped OCSPObjectIdentifiers.
      Specified by:
      getIdPkixOcspNoCheck in interface IOCSPObjectIdentifiers
      Returns:
      OCSPObjectIdentifiers.id_pkix_ocsp_nocheck wrapper.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object