com.didisoft.pgp.exceptions
Class KeyIsExpiredException

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.KeyIsExpiredException
All Implemented Interfaces:
java.io.Serializable

public class KeyIsExpiredException
extends PGPException

Exception that indicates that a supplied key is expired.

To enable usage of expired keys, invoke PGPLib.setUseExpiredKeys(true)

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

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

KeyIsExpiredException

public KeyIsExpiredException(java.lang.String message)

KeyIsExpiredException

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


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