Class OCSPObjectIdentifiersBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ocsp.OCSPObjectIdentifiersBCFips
All Implemented Interfaces:
IOCSPObjectIdentifiers

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

    • OCSPObjectIdentifiersBCFips

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

    • getInstance

      public static OCSPObjectIdentifiersBCFips getInstance()
      Gets wrapper instance.
      Returns:
      OCSPObjectIdentifiersBCFips 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