Bouncy Castle Cryptography Library 1.85

org.bouncycastle.cms
Class CMSAlgorithmNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.bouncycastle.cms.CMSException
              extended byorg.bouncycastle.cms.CMSAlgorithmNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class CMSAlgorithmNotAllowedException
extends CMSException

Exception thrown when a recipient is asked to recover content protected under a content-encryption algorithm that is not in the recipient's configured allowed set (see ).

See Also:
Serialized Form

Constructor Summary
CMSAlgorithmNotAllowedException(java.lang.String msg)
           
CMSAlgorithmNotAllowedException(java.lang.String msg, java.lang.Exception e)
           
 
Methods inherited from class org.bouncycastle.cms.CMSException
getCause, getUnderlyingException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

CMSAlgorithmNotAllowedException

public CMSAlgorithmNotAllowedException(java.lang.String msg)

CMSAlgorithmNotAllowedException

public CMSAlgorithmNotAllowedException(java.lang.String msg,
                                       java.lang.Exception e)

Bouncy Castle Cryptography Library 1.85