iaik.cms
Class InvalidContentHashException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.SignatureException
iaik.cms.CMSSignatureException
iaik.cms.InvalidContentHashException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidContentHashException
- extends CMSSignatureException
This exception may be thrown if the verification of a SignedData signature
fails because the hash calculated over the content does not match to the
value of signed MessageDigest attribute value.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidContentHashException
public InvalidContentHashException()
- Creates a
InvalidContentHashException
with no message describing
the exception.
InvalidContentHashException
public InvalidContentHashException(java.lang.String msg)
- Creates a
InvalidContentHashException
with the given message
describing this particular exception.
- Parameters:
msg
- the message string describing this exception
InvalidContentHashException
public InvalidContentHashException(java.lang.String msg,
CertificateIdentifier signerID)
- Creates a
InvalidContentHashException
with the given message and
the given signer identifier.
- Parameters:
msg
- the message string describing this exceptionsignerID
- the signer identifier of the entity for which signature
verification has failed
IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC