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 IASN1ObjectIdentifier
ID_PKIX_OCSP_ARCHIVE_CUTOFF
private static IASN1ObjectIdentifier
ID_PKIX_OCSP_BASIC
private static IASN1ObjectIdentifier
ID_PKIX_OCSP_NOCHECK
private static IASN1ObjectIdentifier
ID_PKIX_OCSP_NONCE
private static OCSPObjectIdentifiersBC
INSTANCE
private org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers
ocspObjectIdentifiers
-
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 boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.IASN1ObjectIdentifier
getIdPkixOcspArchiveCutoff()
Getsid_pkix_ocsp_archive_cutoff
constant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifier
getIdPkixOcspBasic()
Getsid_pkix_ocsp_basic
constant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifier
getIdPkixOcspNoCheck()
Getsid_pkix_ocsp_nocheck
constant for the wrapped OCSPObjectIdentifiers.IASN1ObjectIdentifier
getIdPkixOcspNonce()
Getsid_pkix_ocsp_nonce
constant for the wrapped OCSPObjectIdentifiers.static OCSPObjectIdentifiersBC
getInstance()
Gets wrapper instance.org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers
getOCSPObjectIdentifiers()
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method 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:
OCSPObjectIdentifiersBC
instance.
-
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_basic
constant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspBasic
in interfaceIOCSPObjectIdentifiers
- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_basic wrapper.
-
getIdPkixOcspNonce
public IASN1ObjectIdentifier getIdPkixOcspNonce()
Getsid_pkix_ocsp_nonce
constant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspNonce
in interfaceIOCSPObjectIdentifiers
- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_nonce wrapper.
-
getIdPkixOcspNoCheck
public IASN1ObjectIdentifier getIdPkixOcspNoCheck()
Getsid_pkix_ocsp_nocheck
constant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspNoCheck
in interfaceIOCSPObjectIdentifiers
- Returns:
- OCSPObjectIdentifiers.id_pkix_ocsp_nocheck wrapper.
-
getIdPkixOcspArchiveCutoff
public IASN1ObjectIdentifier getIdPkixOcspArchiveCutoff()
Getsid_pkix_ocsp_archive_cutoff
constant for the wrapped OCSPObjectIdentifiers.- Specified by:
getIdPkixOcspArchiveCutoff
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-