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