com.didisoft.pgp.exceptions
Class KeyIsRevokedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by lw.bouncycastle.openpgp.PGPException
              extended by com.didisoft.pgp.PGPException
                  extended by com.didisoft.pgp.exceptions.KeyIsRevokedException
All Implemented Interfaces:
java.io.Serializable

public class KeyIsRevokedException
extends PGPException

Exception that indicates that a supplied key is revoked.

To enable usage of revoked keys, invoke PGPLib.setUseRevokeKeys(true)

Since:
2.5.7
See Also:
PGPLib.setUseRevokedKeys(boolean), Serialized Form

Constructor Summary
KeyIsRevokedException(java.lang.String message)
           
KeyIsRevokedException(java.lang.String message, java.lang.Exception underlying)
           
 
Method Summary
 
Methods inherited from class lw.bouncycastle.openpgp.PGPException
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyIsRevokedException

public KeyIsRevokedException(java.lang.String message)

KeyIsRevokedException

public KeyIsRevokedException(java.lang.String message,
                             java.lang.Exception underlying)


Copyright © 2006-2017 DidiSoft Ltd. All Rights Reserved.