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
ConstructorsConstructorDescriptionCertificateStatusBC(org.bouncycastle.cert.ocsp.CertificateStatus certificateStatus) Creates new wrapper instance forCertificateStatus. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.CertificateStatusGets actual org.bouncycastle object being wrapped.getGood()GetsGOODconstant for the wrapped CertificateStatus.static CertificateStatusBCGets wrapper instance.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
CertificateStatusBC
public CertificateStatusBC(org.bouncycastle.cert.ocsp.CertificateStatus certificateStatus) Creates new wrapper instance forCertificateStatus.- Parameters:
-
certificateStatus-CertificateStatusto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
CertificateStatusBCinstance.
-
getCertificateStatus
public org.bouncycastle.cert.ocsp.CertificateStatus getCertificateStatus()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
CertificateStatus.
-
getGood
GetsGOODconstant for the wrapped CertificateStatus.- Specified by:
-
getGoodin 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
DelegatestoStringmethod call to the wrapped object.
-