Class OCSPRespBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPRespBC
- All Implemented Interfaces:
IOCSPResp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final OCSPRespBCprivate final org.bouncycastle.cert.ocsp.OCSPRespprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionOCSPRespBC(IOCSPResponse ocspResponse) Creates new wrapper instance forOCSPResp.OCSPRespBC(org.bouncycastle.cert.ocsp.OCSPResp ocspResp) Creates new wrapper instance forOCSPResp. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped OCSPResp object.static OCSPRespBCGets wrapper instance.org.bouncycastle.cert.ocsp.OCSPRespGets actual org.bouncycastle object being wrapped.Calls actualgetResponseObjectmethod for the wrapped OCSPResp object.intCalls actualgetStatusmethod for the wrapped OCSPResp object.intGetsSUCCESSFULconstant for the wrapped OCSPResp.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Field Details
-
INSTANCE
-
SUCCESSFUL
private static final int SUCCESSFUL- See Also:
-
ocspResp
private final org.bouncycastle.cert.ocsp.OCSPResp ocspResp
-
-
Constructor Details
-
OCSPRespBC
public OCSPRespBC(org.bouncycastle.cert.ocsp.OCSPResp ocspResp) Creates new wrapper instance forOCSPResp.- Parameters:
ocspResp-OCSPRespto be wrapped
-
OCSPRespBC
Creates new wrapper instance forOCSPResp.- Parameters:
ocspResponse- OCSPResponse wrapper
-
-
Method Details
-
getInstance
-
getOcspResp
public org.bouncycastle.cert.ocsp.OCSPResp getOcspResp()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPResp.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped OCSPResp object.- Specified by:
getEncodedin interfaceIOCSPResp- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException- on encoding error.
-
getStatus
-
getResponseObject
Calls actualgetResponseObjectmethod for the wrapped OCSPResp object.- Specified by:
getResponseObjectin interfaceIOCSPResp- Returns:
- response object.
- Throws:
OCSPExceptionBC
-
getSuccessful
public int getSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPResp.- Specified by:
getSuccessfulin interfaceIOCSPResp- Returns:
- OCSPResp.SUCCESSFUL value.
-
equals
-
hashCode
-
toString
-