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 org.bouncycastle.openpgp.api.exception.OpenPGPKeyException
getComponentKey, getKey
Methods inherited from class org.bouncycastle.openpgp.PGPException
getCause, getUnderlyingException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEncryptionKeyException
-
InvalidEncryptionKeyException
-