Class TimeStampRequestBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.tsp.TimeStampRequestBCFips
- All Implemented Interfaces:
-
ITimeStampRequest
Wrapper class for
TimeStampRequest
.
-
Constructor Summary
ConstructorDescriptionTimeStampRequestBCFips
(org.bouncycastle.tsp.TimeStampRequest timeStampRequest) Creates new wrapper instance forTimeStampRequest
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.byte[]
Calls actualgetEncoded
method for wrapped TimeStampRequest object.getNonce()
Calls actualgetNonce
method for wrapped TimeStampRequest object.org.bouncycastle.tsp.TimeStampRequest
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
TimeStampRequestBCFips
public TimeStampRequestBCFips(org.bouncycastle.tsp.TimeStampRequest timeStampRequest) Creates new wrapper instance forTimeStampRequest
.- Parameters:
-
timeStampRequest
-TimeStampRequest
to be wrapped
-
-
Method Details
-
getTimeStampRequest
public org.bouncycastle.tsp.TimeStampRequest getTimeStampRequest()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TimeStampRequest
.
-
getEncoded
Calls actualgetEncoded
method for wrapped TimeStampRequest object.- Specified by:
-
getEncoded
in interfaceITimeStampRequest
- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
getNonce
Calls actualgetNonce
method for wrapped TimeStampRequest object.- Specified by:
-
getNonce
in interfaceITimeStampRequest
- Returns:
- nonce value.
-
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.
-