Class TimeStampRequestBC
java.lang.Object
com.itextpdf.bouncycastle.tsp.TimeStampRequestBC
- All Implemented Interfaces:
ITimeStampRequest
Wrapper class for
TimeStampRequest.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.tsp.TimeStampRequest -
Constructor Summary
ConstructorsConstructorDescriptionTimeStampRequestBC(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.
-
Field Details
-
timeStampRequest
private final org.bouncycastle.tsp.TimeStampRequest timeStampRequest
-
-
Constructor Details
-
TimeStampRequestBC
public TimeStampRequestBC(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
-
hashCode
-
toString
-