iaik.cms
Class CertificateNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.SignatureException
                  extended by iaik.cms.CMSSignatureException
                      extended by iaik.cms.CertificateNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class CertificateNotFoundException
extends CMSSignatureException

This exception may be thrown when the certificate that has been used for signing is not included in the SignedData object. In this case an alternative verify method has to be used that allows to suppply the certificate/key from outside.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class iaik.cms.CMSSignatureException
signerID_, wrappedException_
 
Constructor Summary
CertificateNotFoundException()
          Creates a CertificateNotFoundException with no message describing the exception.
CertificateNotFoundException(java.lang.String msg)
          Creates a CertificateNotFoundException with the given message describing this particular exception.
CertificateNotFoundException(java.lang.String msg, CertificateIdentifier certID)
          Creates a CertificateNotFoundException with the given message and the certificate identifier.
 
Method Summary
 
Methods inherited from class iaik.cms.CMSSignatureException
getSignerID, getWrappedException
 
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
 

Constructor Detail

CertificateNotFoundException

public CertificateNotFoundException()
Creates a CertificateNotFoundException with no message describing the exception.


CertificateNotFoundException

public CertificateNotFoundException(java.lang.String msg)
Creates a CertificateNotFoundException with the given message describing this particular exception.

Parameters:
msg - the message string describing this exception

CertificateNotFoundException

public CertificateNotFoundException(java.lang.String msg,
                                    CertificateIdentifier certID)
Creates a CertificateNotFoundException with the given message and the certificate identifier.

Parameters:
msg - the message string describing this exception
certID - the certificate identifier of the entity for which a certificate has been searched

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 5.1, (c) 2002 IAIK, (c) 2003 - 2010 SIC