Package org.bouncycastle.tsp.cms
Class ImprintDigestInvalidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.bouncycastle.tsp.cms.ImprintDigestInvalidException
-
- All Implemented Interfaces:
java.io.Serializable
public class ImprintDigestInvalidException extends java.lang.ExceptionThrown during validation of aCMSTimeStampedDatawhen a calculated digest does not match the message imprint recorded in a time stamp token, or when a token being checked is not associated with the evidence present in the message. The offending token is retrievable viagetTimeStampToken().- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImprintDigestInvalidException(java.lang.String message, TimeStampToken token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeStampTokengetTimeStampToken()Return the time stamp token whose imprint check failed.
-
-
-
Constructor Detail
-
ImprintDigestInvalidException
public ImprintDigestInvalidException(java.lang.String message, TimeStampToken token)
-
-
Method Detail
-
getTimeStampToken
public TimeStampToken getTimeStampToken()
Return the time stamp token whose imprint check failed.- Returns:
- the token associated with this exception.
-
-