Class CertificateStatusBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.CertificateStatusBC
- All Implemented Interfaces:
-
ICertificateStatus
- Direct Known Subclasses:
-
RevokedStatusBC
,UnknownStatusBC
Wrapper class for
CertificateStatus
.
-
Constructor Summary
ConstructorDescriptionCertificateStatusBC
(org.bouncycastle.cert.ocsp.CertificateStatus certificateStatus) Creates new wrapper instance forCertificateStatus
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.CertificateStatus
Gets actual org.bouncycastle object being wrapped.getGood()
GetsGOOD
constant for the wrapped CertificateStatus.static CertificateStatusBC
Gets wrapper instance.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
CertificateStatusBC
public CertificateStatusBC(org.bouncycastle.cert.ocsp.CertificateStatus certificateStatus) Creates new wrapper instance forCertificateStatus
.- Parameters:
-
certificateStatus
-CertificateStatus
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
CertificateStatusBC
instance.
-
getCertificateStatus
public org.bouncycastle.cert.ocsp.CertificateStatus getCertificateStatus()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
CertificateStatus
.
-
getGood
GetsGOOD
constant for the wrapped CertificateStatus.- Specified by:
-
getGood
in interfaceICertificateStatus
- Returns:
- CertificateStatus.GOOD wrapper.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-