Exceptions related to OpenPGP operations.

Classes

  ClassDescription
Public classFileIsEncryptedException
Exception that indicates that a file is encrypted.

This exception is thrown when we want to verify that a file was not only signed but signed and encrypted.
Public classIntegrityCheckException
Exception that indicates that the data is corrupted.
Public classKeyIsExpiredException
Exception that indicates that a public key has expired.

This exception is thrown when we want to encrypt content with an OpenPGP key and that key has already expired.
Public classKeyIsRevokedException
Exception indicating that a public key is revoked.

This exception is thrown when we want to encrypt content with an OpenPGP key and that key has already been revoked.
Public classWrongPasswordException
This exception indicates that we have supplied a wrong password for an OpenPGP private key.
Public classWrongPrivateKeyException
This exception indicates that a private key has not been found in a supplied file/stream parameter or KeyStore or a private key is not suitable for decryption or signing.
Public classWrongPublicKeyException
Exception that indicates that a public key has not been found in a supplied file/stream parameter or KeyStore.