Class RespIDBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cert.ocsp.RespIDBC
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cert.ocsp.RespIDrespID
-
Method Summary
All 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.org.bouncycastle.cert.ocsp.RespIDgetRespID()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.IResponderIDtoASN1Primitive()Calls actualtoASN1Primitivemethod for the wrapped BasicOCSPResp object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Constructor Detail
-
RespIDBC
public RespIDBC(org.bouncycastle.cert.ocsp.RespID respID)
Creates new wrapper instance forRespID.- Parameters:
respID-RespIDto be wrapped
-
RespIDBC
public RespIDBC(IX500Name x500Name)
Creates new wrapper instance forRespID.- Parameters:
x500Name- X500Name wrapper to createRespID
-
-
Method Detail
-
getRespID
public org.bouncycastle.cert.ocsp.RespID getRespID()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
RespID.
-
toASN1Primitive
public IResponderID toASN1Primitive()
Calls actualtoASN1Primitivemethod for the wrapped BasicOCSPResp object.- Specified by:
toASN1Primitivein interfaceIRespID- Returns:
- Responder ID as a ASN1 primitive.
-
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
-
-