Class TimeStampTokenBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.tsp.TimeStampTokenBCFips
- All Implemented Interfaces:
-
ITimeStampToken
Wrapper class for
TimeStampToken.
-
Constructor Summary
ConstructorsConstructorDescriptionTimeStampTokenBCFips(org.bouncycastle.tsp.TimeStampToken timeStampToken) Creates new wrapper instance forTimeStampToken. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped TimeStampToken object.Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.org.bouncycastle.tsp.TimeStampTokenGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.voidvalidate(ISignerInformationVerifier verifier) Calls actualvalidatemethod for the wrapped TimeStampToken object.
-
Constructor Details
-
TimeStampTokenBCFips
public TimeStampTokenBCFips(org.bouncycastle.tsp.TimeStampToken timeStampToken) Creates new wrapper instance forTimeStampToken.- Parameters:
-
timeStampToken-TimeStampTokento be wrapped
-
-
Method Details
-
getTimeStampToken
public org.bouncycastle.tsp.TimeStampToken getTimeStampToken()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TimeStampToken.
-
getTimeStampInfo
Calls actualgetTimeStampInfomethod for the wrapped TimeStampToken object.- Specified by:
-
getTimeStampInfoin interfaceITimeStampToken - Returns:
-
ITimeStampTokenInfothe wrapper for the received TimeStampInfo object.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped TimeStampToken object.- Specified by:
-
getEncodedin interfaceITimeStampToken - Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
validate
Calls actualvalidatemethod for the wrapped TimeStampToken object.- Specified by:
-
validatein interfaceITimeStampToken - Parameters:
-
verifier- SignerInformationVerifier wrapper - Throws:
-
TSPExceptionBCFips
-
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.
-