Class OCSPObjectIdentifiersBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ocsp.OCSPObjectIdentifiersBC
-
- All Implemented Interfaces:
IOCSPObjectIdentifiers
public class OCSPObjectIdentifiersBC extends java.lang.Object implements IOCSPObjectIdentifiers
Wrapper class forOCSPObjectIdentifiers.
-
-
Field Summary
Fields Modifier and Type Field Description private static IASN1ObjectIdentifierID_PKIX_OCSP_ARCHIVE_CUTOFFprivate static IASN1ObjectIdentifierID_PKIX_OCSP_BASICprivate static IASN1ObjectIdentifierID_PKIX_OCSP_NOCHECKprivate static IASN1ObjectIdentifierID_PKIX_OCSP_NONCEprivate static OCSPObjectIdentifiersBCINSTANCEprivate org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiersocspObjectIdentifiers
-
Constructor Summary
Constructors Constructor Description OCSPObjectIdentifiersBC(org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers ocspObjectIdentifiers)Creates new wrapper instance forOCSPObjectIdentifiers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.IASN1ObjectIdentifiergetIdPkixOcspArchiveCutoff()Getsid_pkix_ocsp_archive_cutoffconstant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifiergetIdPkixOcspBasic()Getsid_pkix_ocsp_basicconstant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifiergetIdPkixOcspNoCheck()Getsid_pkix_ocsp_nocheckconstant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifiergetIdPkixOcspNonce()Getsid_pkix_ocsp_nonceconstant for the wrapped OCSPObjectIdentifiers.static OCSPObjectIdentifiersBCgetInstance()Gets wrapper instance.org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiersgetOCSPObjectIdentifiers()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Field Detail
-
INSTANCE
private static final OCSPObjectIdentifiersBC INSTANCE
-
ID_PKIX_OCSP_BASIC
private static final IASN1ObjectIdentifier ID_PKIX_OCSP_BASIC
-
ID_PKIX_OCSP_NONCE
private static final IASN1ObjectIdentifier ID_PKIX_OCSP_NONCE
-
ID_PKIX_OCSP_NOCHECK
private static final IASN1ObjectIdentifier ID_PKIX_OCSP_NOCHECK
-
ID_PKIX_OCSP_ARCHIVE_CUTOFF
private static final IASN1ObjectIdentifier ID_PKIX_OCSP_ARCHIVE_CUTOFF
-
ocspObjectIdentifiers
private final org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers ocspObjectIdentifiers
-
-
Method Detail
-
getInstance
public static OCSPObjectIdentifiersBC getInstance()
Gets wrapper instance.- Returns:
OCSPObjectIdentifiersBCinstance.
-
getOCSPObjectIdentifiers
public org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers getOCSPObjectIdentifiers()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPObjectIdentifiers.
-
getIdPkixOcspBasic
public IASN1ObjectIdentifier getIdPkixOcspBasic()
Getsid_pkix_ocsp_basicconstant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspBasicin interfaceIOCSPObjectIdentifiers- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_basic wrapper.
-
getIdPkixOcspNonce
public IASN1ObjectIdentifier getIdPkixOcspNonce()
Getsid_pkix_ocsp_nonceconstant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspNoncein interfaceIOCSPObjectIdentifiers- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_nonce wrapper.
-
getIdPkixOcspNoCheck
public IASN1ObjectIdentifier getIdPkixOcspNoCheck()
Getsid_pkix_ocsp_nocheckconstant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspNoCheckin interfaceIOCSPObjectIdentifiers- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_nocheck wrapper.
-
getIdPkixOcspArchiveCutoff
public IASN1ObjectIdentifier getIdPkixOcspArchiveCutoff()
Getsid_pkix_ocsp_archive_cutoffconstant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspArchiveCutoffin interfaceIOCSPObjectIdentifiers- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_archive_cutoff wrapper.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-