public class InvalidContentTypeException extends CMSSignatureException
CounterSignature attribute contains a ContentType attribute (not allowed for
counter signatures).signerID_, wrappedException_| Constructor and Description |
|---|
InvalidContentTypeException()
Default constructor.
|
InvalidContentTypeException(java.lang.String msg)
Creates a
InvalidContentTypeException with the given message
describing this particular exception. |
InvalidContentTypeException(java.lang.String msg,
CertificateIdentifier signerID)
Creates a
InvalidContentHashException with the given message and
the given signer identifier. |
getSignerID, getWrappedExceptionpublic InvalidContentTypeException()
public InvalidContentTypeException(java.lang.String msg)
InvalidContentTypeException with the given message
describing this particular exception.msg - the message string describing this exceptionpublic InvalidContentTypeException(java.lang.String msg,
CertificateIdentifier signerID)
InvalidContentHashException with the given message and
the given signer identifier.msg - the message string describing this exceptionsignerID - the signer identifier of the entity for which signature
verification has failed