Bouncy Castle Cryptography Library 1.85

org.bouncycastle.cms
Class CMSTagLengthException

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

public class CMSTagLengthException
extends CMSException

Exception thrown when a recipient is asked to recover AEAD-protected content whose authentication tag is shorter than the recipient's configured minimum tag size (see ).

See Also:
Serialized Form

Constructor Summary
CMSTagLengthException(java.lang.String msg)
           
CMSTagLengthException(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

CMSTagLengthException

public CMSTagLengthException(java.lang.String msg)

CMSTagLengthException

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

Bouncy Castle Cryptography Library 1.85