|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.SignatureException
iaik.cms.CMSSignatureException
public class CMSSignatureException
This exception may be thrown if SignedData signature verification fails for some reason.
| Field Summary | |
|---|---|
protected CertificateIdentifier |
signerID_
The ID of the entity for which signature verification has failed. |
protected java.lang.Exception |
wrappedException_
The (original) exception that has caused (is wrapped by) this CMSSignatureException. |
| Constructor Summary | |
|---|---|
CMSSignatureException()
Creates a CMSSignatureException with no message describing
the exception. |
|
CMSSignatureException(java.lang.Exception ex)
Creates a CMSSignatureException for the given original
exception. |
|
CMSSignatureException(java.lang.Exception ex,
CertificateIdentifier signerID)
Creates a CMSSignatureException with the given original exception
and the given signer identifier. |
|
CMSSignatureException(java.lang.String msg)
Creates a CMSSignatureException with the given message
describing this particular exception. |
|
CMSSignatureException(java.lang.String msg,
CertificateIdentifier signerID)
Creates a CMSSignatureException with the given message
and the given signer identifier. |
|
CMSSignatureException(java.lang.String msg,
java.lang.Exception ex,
CertificateIdentifier signerID)
Creates a CMSSignatureException with the given original exception,
error message, and the given signer identifier. |
|
| Method Summary | |
|---|---|
CertificateIdentifier |
getSignerID()
Get the signer identifier that identifies the entity for which signature verification has failed. |
java.lang.Exception |
getWrappedException()
Gets the original exception that has caused (is wrapped by) this CMSSignatureException. |
| 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 |
| Field Detail |
|---|
protected CertificateIdentifier signerID_
protected java.lang.Exception wrappedException_
| Constructor Detail |
|---|
public CMSSignatureException()
CMSSignatureException with no message describing
the exception.
public CMSSignatureException(java.lang.String msg)
CMSSignatureException with the given message
describing this particular exception.
msg - the message string describing this exceptionpublic CMSSignatureException(java.lang.Exception ex)
CMSSignatureException for the given original
exception.
ex - the original exception causing this CMSSignatureException
public CMSSignatureException(java.lang.String msg,
CertificateIdentifier signerID)
CMSSignatureException 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
public CMSSignatureException(java.lang.Exception ex,
CertificateIdentifier signerID)
CMSSignatureException with the given original exception
and the given signer identifier.
ex - the original exception causing this CMSSignatureExceptionsignerID - the signer identifier of the entity for which signature
verification has failed
public CMSSignatureException(java.lang.String msg,
java.lang.Exception ex,
CertificateIdentifier signerID)
CMSSignatureException with the given original exception,
error message, and the given signer identifier.
msg - the message string describing this exceptionex - the original exception causing this CMSSignatureExceptionsignerID - the signer identifier of the entity for which signature
verification has failed| Method Detail |
|---|
public CertificateIdentifier getSignerID()
null if no signerID has been setpublic java.lang.Exception getWrappedException()
null if this CMSSignatureException itself is the original exception
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
|