Class InvalidEncryptionKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bouncycastle.openpgp.PGPException
org.bouncycastle.openpgp.api.exception.OpenPGPKeyException
org.bouncycastle.openpgp.api.exception.InvalidEncryptionKeyException
- All Implemented Interfaces:
Serializable
Exception that gets thrown if the user tries to encrypt a message for an
OpenPGPCertificate that does not contain any usable, valid encryption keys.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidEncryptionKeyException(OpenPGPCertificate certificate) InvalidEncryptionKeyException(OpenPGPCertificate.OpenPGPComponentKey encryptionSubkey) -
Method Summary
Methods inherited from class OpenPGPKeyException
getComponentKey, getKeyMethods inherited from class PGPException
getCause, getUnderlyingExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEncryptionKeyException
-
InvalidEncryptionKeyException
-