A B C D E F G H I K L M N O P R S T U V W Z

A

addCertification(long, long, String, String) - Method in class com.didisoft.pgp.KeyStore
Appends certification to a given OpenPGP key in the key store.
addSaveListener(IKeyStoreSaveListener) - Method in class com.didisoft.pgp.KeyStore
Adds IKeyStoreSaveListener listener that will be notified on each KeyStore modification event
addSearchListener(IKeyStoreSearchListener) - Method in class com.didisoft.pgp.KeyStore
Adds IKeyStoreSearchListener listener that will be notified on each search of a key that is not present in this KeyStore
addSubKey(String, String, boolean, String, int) - Method in class com.didisoft.pgp.KeyStore
Adds a sub key to an existig OpenPGP key pair

Example:
addSubKey(long, String, boolean, EcCurve.Enum) - Method in class com.didisoft.pgp.KeyStore
Adds a ECC OpenPGP sub key to an existig ECC OpenPGP key pair

Example:
addSubKey(long, String, boolean, String, int) - Method in class com.didisoft.pgp.KeyStore
Adds a sub key to an existing OpenPGP key pair

Example:
addUserId(long, String, String) - Method in class com.didisoft.pgp.KeyStore
Appends an additional User Id signature to a key contained in this key store.
AES_128 - Static variable in interface com.didisoft.pgp.CypherAlgorithm
128 bit AES (Rijndael)
AES_192 - Static variable in interface com.didisoft.pgp.CypherAlgorithm
192 bit AES (Rijndael)
AES_256 - Static variable in interface com.didisoft.pgp.CypherAlgorithm
256 bit AES (Rijndael)
assignDesignatedRevoker(String, String, String, String) - Method in class com.didisoft.pgp.RevocationLib
Authorizes the specified key as a designated revoker for this key.
assignDesignatedRevoker(KeyStore, long, String, long) - Method in class com.didisoft.pgp.RevocationLib
Authorizes the specified key as designated revoker for this key.
assignDesignatedRevoker(KeyStore, String, String, String) - Method in class com.didisoft.pgp.RevocationLib
Authorizes the specified key as designated revoker for this key.

B

BINARY - Static variable in interface com.didisoft.pgp.ContentDataType
indicates Binary content in the OpenPGP archive
BLOWFISH - Static variable in interface com.didisoft.pgp.CypherAlgorithm
Blowfish
BZIP2 - Static variable in interface com.didisoft.pgp.CompressionAlgorithm
 

C

CAST5 - Static variable in interface com.didisoft.pgp.CypherAlgorithm
CAST 5 (Default).
changePrimaryUserId(long, String, String) - Method in class com.didisoft.pgp.KeyStore
Changes the primary (first) user Id signature of a key with a new user Id


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
changePrivateKeyPassword(String, String, String) - Method in class com.didisoft.pgp.KeyStore
Changes private key password.
changePrivateKeyPassword(long, String, String) - Method in class com.didisoft.pgp.KeyStore
Changes private key password.
changePrivateKeyPassword(String, String) - Method in class com.didisoft.pgp.PGPKeyPair
Changes the password of this private key.
changeUserId(long, String, String, String) - Method in class com.didisoft.pgp.KeyStore
Changes an existing user Id signature of a key with a new user Id


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
checkPassword(String) - Method in class com.didisoft.pgp.KeyPairInformation
Checks if a password for a private key is correct
checkPassword(String, String) - Static method in class com.didisoft.pgp.KeyStore
Checks if a password for a key store file is correct Example usage:
clearKeyExpirationTime(String, String) - Method in class com.didisoft.pgp.KeyStore
Clears the key expiration time of a specified OpenPGP key, and makes the key valid forever
clearKeyExpirationTime(long, String) - Method in class com.didisoft.pgp.KeyStore
Clears the key expiration time of a specified OpenPGP key, and makes the key valid forever
clearSignFile(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a file.
clearSignFileVersion3(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a file, using OpenPGP version 3 signature format (old format used by PGP 2.x)

Use when needed compatibility with PGP 2.x

GPG equivalent command: gpg --force-v3-sigs --clearsign inputFileName

Example:

clearSignString(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a String

Example usage:

clearSignStringVersion3(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a String, using OpenPGP version 3 signature format (the old format)

Use when needed compatibility with PGP 2.x and PGP 5.x systems.
com.didisoft.pgp - package com.didisoft.pgp
OpenPGP Library for Java
com.didisoft.pgp.events - package com.didisoft.pgp.events
 
com.didisoft.pgp.exceptions - package com.didisoft.pgp.exceptions
Custom Exceptions
com.didisoft.pgp.inspect - package com.didisoft.pgp.inspect
OpenPGP inspection API (Advanced)
com.didisoft.pgp.net - package com.didisoft.pgp.net
 
CompressionAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported compression algorithms for OpenPGP encryption.
CompressionAlgorithm.Enum - Enum in com.didisoft.pgp
 
containsKey(String) - Method in class com.didisoft.pgp.KeyStore
Returns true if public or private key with the specified User ID exists in this KeyStore

Example:
containsKey(long) - Method in class com.didisoft.pgp.KeyStore
Returns true if a public or private key with the specified Key Id exists in this KeyStore

Example:
containsPrivateKey(String) - Method in class com.didisoft.pgp.KeyStore
Returns true if a private key with the specified User ID exists in this KeyStore

Example:
containsPrivateKey(long) - Method in class com.didisoft.pgp.KeyStore
Returns true if a private key with the specified Key Id exists in this KeyStore

Example:
containsPublicKey(String) - Method in class com.didisoft.pgp.KeyStore
Returns true if a public key with the specified User ID exists in this KeyStore

Example:
containsPublicKey(long) - Method in class com.didisoft.pgp.KeyStore
Returns true if a public key with the specified Key Id exists in this KeyStore

Example:
ContentDataType - Interface in com.didisoft.pgp
Interface that lists the supported content type settings for OpenPGP archives
ContentItem - Class in com.didisoft.pgp.inspect
Information for a file contained in an OpenPGP archive.
createRevocationCertificateInFile(String, String, byte, String, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a key revocation certificate for a given OpenPGP key file and stores it in a file.
createRevocationCertificateInFile(KeyStore, long, String, byte, String, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file.
createRevocationCertificateInFile(KeyStore, String, String, byte, String, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file.
createRevocationCertificateText(String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a revocation certificate in ASCII armored string format for a given OpenPGP key.
createRevocationCertificateText(KeyStore, long, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a revocation certificate for a given OpenPGP key in ASCII armored string format.
createRevocationCertificateText(KeyStore, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Creates a revocation certificate for a given OpenPGP key in ASCII armored string format.
CypherAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported symmetric encryption algorithms used in the library.
CypherAlgorithm.Enum - Enum in com.didisoft.pgp
 

D

decryptAndVerify(String, String, String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP one pass signed end encrypted message.
decryptAndVerify(String, String, String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP one pass signed end encrypted message.
decryptAndVerify(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP encrypted and signed file
Supports OpenPGP version 3 format too (used by PGP(r) 5 and below).
decryptAndVerify(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies one pass encrypted and signed OpenPGP file
Supports OpenPGP version 3 format too (used by PGP 6.5 and below).
decryptAndVerify(InputStream, KeyStore, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerify(InputStream, InputStream, String, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerifyFile(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, KeyStore, String, String) instead
decryptAndVerifyFile(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyFile(String, String, String, String, String) instead
decryptAndVerifyFileTo(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, KeyStore, String, String) instead
decryptAndVerifyFileTo(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyTo(String, String, String, String, String) instead
decryptAndVerifyStream(InputStream, KeyStore, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyStream(InputStream, KeyStore, String, OutputStream) instead
decryptAndVerifyStream(InputStream, InputStream, String, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(InputStream, InputStream, String, InputStream, OutputStream) instead
decryptAndVerifyStreamTo(InputStream, InputStream, String, InputStream, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyTo(InputStream, InputStream, String, InputStream, String) instead
decryptAndVerifyStreamTo(InputStream, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerifyTo(InputStream, KeyStore, String, String) instead
decryptAndVerifyString(String, String, String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, String, String, String, StringBuffer) instead
decryptAndVerifyString(String, InputStream, String, InputStream, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, String, String, String, StringBuffer, String) instead
decryptAndVerifyString(String, String, String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.decryptAndVerify(String, String, String, String, StringBuffer, String) instead
decryptAndVerifyTo(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature and decrypts a one pass signed and encrypted OpenPGP file into a folder
Supports OpenPGP version 3 format too (used by PGP 6.5 and below).
decryptAndVerifyTo(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP encrypted and signed file to a folder
This methods is very suitable for multi file PGP archives.
decryptAndVerifyTo(InputStream, InputStream, String, InputStream, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature and decrypts an OpenPGP encrypted and signed stream contents into a folder
Supports OpenPGP version 3 format too (used by PGP 6.5 and below).
decryptAndVerifyTo(InputStream, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptFile(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted file using key from a OpenPGP key store.
decryptFile(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted file using Private key file.
decryptFile(String, InputStream, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted file using Private key input stream.
decryptFilePBE(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP file that was encrypted with password (PBE, symmetric key encrypted).
decryptFileTo(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts the content of an OpenPGP encrypted file into a folder.
decryptFileTo(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts the content of an OpenPGP encrypted file into a folder.
decryptStream(InputStream, InputStream, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted stream using Private key input stream.
decryptStream(InputStream, KeyStore, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted stream using a private key supplied as an input stream.
decryptStreamPBE(InputStream, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP stream that was encrypted with a password (PBE, symmetric key encrypted).
decryptStreamTo(InputStream, InputStream, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted stream to a specified folder.
decryptStreamTo(InputStream, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted stream to a specified folder.
decryptString(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted UTF-8 string message

Example:
decryptString(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted string message.
decryptString(String, InputStream, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted UTF-8 string message.
decryptString(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted UTF-8 string message.
decryptString(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted string message.
decryptString(String, InputStream, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP encrypted string message.
decryptStringPBE(String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP password encrypted UTF-8 string message.
decryptStringPBE(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts an OpenPGP password encrypted string message.
DEFAULT_LDAP_PORT - Static variable in class com.didisoft.pgp.net.LDAPClient
 
deleteKeyPair(String) - Method in class com.didisoft.pgp.KeyStore
Deletes the first public and private key pair from this key store that have the specified User Id.
deleteKeyPair(long) - Method in class com.didisoft.pgp.KeyStore
Deletes public and private key pair from this key store that have the specified Key Id.
deletePrivateKey(String) - Method in class com.didisoft.pgp.KeyStore
Deletes the first private key with the specified User Id from this KeyStore.
deletePrivateKey(long) - Method in class com.didisoft.pgp.KeyStore
Deletes the first private key with the specified User Id from this KeyStore.
deletePublicKey(String) - Method in class com.didisoft.pgp.KeyStore
Deletes the first public key with the specified User Id from this KeyStore.
deletePublicKey(long) - Method in class com.didisoft.pgp.KeyStore
Deletes the first public key with the specified Key Id from this KeyStore.
deleteSubKey(String) - Method in class com.didisoft.pgp.KeyStore
Removes a sub key form a key pair in this KeyStore Example:
deleteSubKey(long) - Method in class com.didisoft.pgp.KeyStore
Removes a sub key form a key pair in this KeyStore Example:
deleteUserId(long, String) - Method in class com.didisoft.pgp.KeyStore
Removes a user Id signature from a key


Example usage:
Check the file KeyStoreChangeUserId.java located in the examples folder in the library archive.
DES - Static variable in interface com.didisoft.pgp.CypherAlgorithm
DES
DetachedSignatureException - Exception in com.didisoft.pgp.exceptions
Internal exception indicating that an OpenPGP file contains detached signature
DetachedSignatureException(String) - Constructor for exception com.didisoft.pgp.exceptions.DetachedSignatureException
 
DetachedSignatureException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.DetachedSignatureException
 
detachedSignFile(String, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given file.
detachedSignFile(String, KeyStore, long, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given file.
detachedSignFile(String, KeyStore, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given file.
detachedSignStream(InputStream, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given data stream contents.
detachedSignStream(InputStream, KeyStore, long, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given data stream contents.
detachedSignStream(InputStream, KeyStore, String, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
Creates an OpenPGP detached signature for a given data stream contents.
detachedVerify(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
detachedVerify(String, String, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
detachedVerify(InputStream, InputStream, InputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
detachedVerify(InputStream, InputStream, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
detachedVerifyStream(InputStream, InputStream, InputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
detachedVerifyStream(InputStream, InputStream, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies that an OpenPGP detached signature is signed from a trusted sender.
DSA - Static variable in class com.didisoft.pgp.KeyStore
DSA Algorithm constant, implementation of DH/DSS (signature)

E

EC - Static variable in interface com.didisoft.pgp.KeyAlgorithm
Elliptic Curve cryptography (ECC) in OpenPGP
EC - Static variable in class com.didisoft.pgp.KeyStore
Elliptic Curve cryptography (ECC) in OpenPGP
EcCurve - Interface in com.didisoft.pgp
Lists the OpenPGP Elliptic Curve Cryptography (ECC) supported named curves defined in RFC 6637
EcCurve.Enum - Enum in com.didisoft.pgp
 
ELGAMAL - Static variable in interface com.didisoft.pgp.KeyAlgorithm
ElGamal.
ELGAMAL - Static variable in class com.didisoft.pgp.KeyStore
ElGamal Algorithm constant, implementation of DH/DSS (encryption)
ENCRYPTED - Static variable in class com.didisoft.pgp.PGPFileInformation
 
encryptFile(String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using the public key of the recipient.
encryptFile(String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using the public key of the recipient.
encryptFile(String, String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a file for multiple recipients.


Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example usage:

encryptFile(String, KeyStore, String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a file for multiple recipients.


Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:

encryptFile(String, KeyStore, long[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a file for multiple recipients.


Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptFile(String, InputStream, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using the first available public key from a key ring input stream

Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:

encryptFile(String, KeyStore, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store.
encryptFile(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store.
encryptFile(String, KeyStore, long, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store.
encryptFile(String, KeyStore, long, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts given file using specified public key, stored in specified OpenPGP key store.
encryptFileByKeyId(KeyStore, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Use instead
encryptFileByUserId(KeyStore, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Use instead
encryptFilePBE(String, String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
Encrypts a file with a public key and a passphrase.
The passphrase can be used to decrypt the file if the corresponding private key is lost.
encryptFilePBE(String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
Encrypts a file with a passphrase.
The same passphrase is used to decrypt the file

Equivalent GnuPG command:
gpg -c -e [dataFileName]

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptFiles(String[], String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts multiple files into one OpenPGP archive.
encryptFiles(String[], String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts multiple files into one OpenPGP archive.
encryptFiles(String[], KeyStore, String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts multiple files into one OpenPGP archive

Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:

encryptFiles(String[], KeyStore, long[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts multiple files into one OpenPGP archive

Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example usage:

encryptStream(InputStream, String, InputStream[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts an input stream using the first available Public key from a Key ring input stream

Compression algorithm used is the one specified with #setCompression(CompressionAlgorithm) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, long, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts stream using the first available public key from a key ring file.
encryptStream(InputStream, String, long, String, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts stream using the first available public key from a key ring file.
encryptStream(InputStream, String, KeyStore, String, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP Encrypts Input Stream using a Public key located in a KeyStore

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, KeyStore, String[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP Encrypts Input Stream using a Public key located in a KeyStore

Compression algorithm used is the one specified with #setCompression(CompressionAlgorithm) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, KeyStore, long[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts input stream using recipients' public keys located in a KeyStore

Compression algorithm used is the one specified with #setCompression(CompressionAlgorithm) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, KeyStore, long, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts input stream using a recipient public key located in a KeyStore

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, long, InputStream, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts an input stream using the first available public key supplied as an input stream

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, InputStream, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts an input stream using the first available Public key from a Key ring input stream

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStream(InputStream, String, PGPKeyPair, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts an input stream using the first available Public key from a Key ring input stream

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptStreamPBE(InputStream, String, String, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
Encrypts an input stream with a password based OpenPGP encryption (PBE)

Compression algorithm used is the one specified with PGPLib.setCompression(String) if supported by the public key, otherwise the first supported by the key algorithm is used.
encryptString(String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a UTF-8 encoded string message
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptString(String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptString(String, String[], String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptString(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a UTF-8 String message

Example:
encryptString(String, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message

Example:
encryptString(String, KeyStore, long) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a UTF-8 String message

Example:
encryptString(String, KeyStore, long, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message

Example:
encryptString(String, KeyStore, long[], String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message for multiple recipients

Example:
encryptString(String, KeyStore, String[], String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message for multiple recipients

Example:
encryptString(String, InputStream) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String UTF-8 message
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptString(String, InputStream, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptStringPBE(String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a UTF-8 String message with a password
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
encryptStringPBE(String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP encrypts a String message with a password
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)

Example:
exportKeyRing(String, boolean) - Method in class com.didisoft.pgp.KeyPairInformation
Exports the key pair (both the public and the private key if available) located in this object in one file.
exportKeyRing(String, String) - Method in class com.didisoft.pgp.KeyStore
Exports Key ring (both public and private key) located in this Key store in one file.
exportKeyRing(String, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports Key ring (both public and private key) located in this Key store in one file.
exportKeyRing(OutputStream, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports Key ring (both public and private key) located in this Key store into a stream.
exportKeyRing(OutputStream, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports Key ring (both public and private key) located in this Key store into a stream.
exportKeyRing(String, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports Key ring (both public and private key) located in this Key store in one file.
exportPrivateKey(String, boolean) - Method in class com.didisoft.pgp.KeyPairInformation
Exports the private key part of this key pair into a file.
exportPrivateKey(String, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports private key from this OpenPGP key store, into a file.
exportPrivateKey(OutputStream, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports a private key from this OpenPGP key store into a stream.
exportPrivateKey(OutputStream, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports a private key from this KeyStore instance into a stream.
exportPrivateKey(String, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports private key from this KeyStore instance, into a file.
exportPublicKey(String, boolean) - Method in class com.didisoft.pgp.KeyPairInformation
Exports the public key part of this key pair into a file.
exportPublicKey(String, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports a public key from this KeyStore instance into a file.
exportPublicKey(OutputStream, String, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports a public key from this KeyStore instance into a stream.
exportPublicKey(OutputStream, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports public key from this KeyStore instance into a file.
exportPublicKey(String, long, boolean) - Method in class com.didisoft.pgp.KeyStore
Exports public key from this KeyStore instance into a file.
exportPubring(String) - Method in class com.didisoft.pgp.KeyStore
Exports all public keys in a pubring.pkr (used by PGP, EBS, GnuPg) compatible format.
exportSecring(String) - Method in class com.didisoft.pgp.KeyStore
Exports all private keys in a secring.skr (used by PGP, EBS, GnuPg) compatible format.

F

FileIsEncryptedException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a file is encrypted.
FileIsEncryptedException(String) - Constructor for exception com.didisoft.pgp.exceptions.FileIsEncryptedException
 
FileIsEncryptedException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.FileIsEncryptedException
 
FileIsPBEEncryptedException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a file is encrypted with a password (PBE, password based encryption).
FileIsPBEEncryptedException(String) - Constructor for exception com.didisoft.pgp.exceptions.FileIsPBEEncryptedException
 
FileIsPBEEncryptedException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.FileIsPBEEncryptedException
 
fromString(String) - Method in enum com.didisoft.pgp.CompressionAlgorithm.Enum
 
fromString(String) - Method in enum com.didisoft.pgp.CypherAlgorithm.Enum
 
fromString(String) - Method in enum com.didisoft.pgp.EcCurve.Enum
 
fromString(String) - Method in enum com.didisoft.pgp.HashAlgorithm.Enum
 
fromString(String) - Method in enum com.didisoft.pgp.KeyAlgorithm.Enum
 

G

generateEccKeyPair(String, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm

Default algorithms for the key are:
Symmetric cipher: AES-256, AES-192, AES-128
Hash: SHA-512, SHA-384, SHA-256
Compression: ZIP, ZLIB, BZIP2, Uncompressed
generateEccKeyPair(String, String, String, long) - Method in class com.didisoft.pgp.KeyStore
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm

Default algorithms for the key are:
Symmetric cipher: AES-256, AES-192, AES-128
Hash: SHA-512, SHA-384, SHA-256
Compression: ZIP, ZLIB, BZIP2, Uncompressed
generateEccKeyPair(String, String, String, String[], String[], String[]) - Method in class com.didisoft.pgp.KeyStore
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm

Note: The generated key pair has no expiration date
generateEccKeyPair(String, String, String, String[], String[], String[], long) - Method in class com.didisoft.pgp.KeyStore
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm
generateEccKeyPair(String, String, String) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm

Note: The generated key pair has no expiration date
generateEccKeyPair(String, String, String, String[], String[], String[]) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm

Note: The generated key pair has no expiration date
generateEccKeyPair(String, String, String, String[], String[], String[], long) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates an OpenPGP key pair with Elliptic Curve cryptography (ECC) asymmetric encryption algorithm
generateElGamalKeyPair(int, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateElGamalKeyPair(int, int, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateElGamalKeyPair(int, String, String, int) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateElGamalKeyPair(int, int, String, String, int) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateElGamalKeyPair(int, String, String) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates OpenPGP Key pair with ElGamal (DH/DSS) encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateKeyPair(int, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with RSA encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateKeyPair(int, String, String, String, String[], String[], String[]) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP key pair (public and private key).
generateKeyPair(int, String, String, String, String[], String[], String[], long) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP key pair (public and private key).
generateKeyPair(int, int, String, String, String, String[], String[], String[], long) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP key pair (public and private key).
generateKeyPair(int, String, String, String, String, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair (public and private key).
generateKeyPair(int, String, String, String, String, String, String, long) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair (public and private key).
generateKeyPair(int, int, String, String, String, String, String, String, long) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair (public and private key).
generateKeyPair(int, String, String, String, String[], String[], String[], long) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates an OpenPGP key pair (public and private key).
generateRsaKeyPair(int, String, String) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with RSA encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateRsaKeyPair(int, String, String, int) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair with RSA encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
generateRsaKeyPair(int, String, String) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates OpenPGP Key pair with RSA encryption and predefined values for compression, hashing and cypher like the ones generated with PGP Desktop(tm) key generation wizard.
getAction() - Method in class com.didisoft.pgp.PGPFileInformation
 
getAlgorithm() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the name of the key encryption asymmetric algorithm.
getAlgorithm() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns the name of the key encryption asymmetric algorithm.
getAsciiCommentHeader() - Method in class com.didisoft.pgp.PGPLib
Returns the Comment text that is printed in ASCII armored output
getAsciiVersionHeader() - Method in class com.didisoft.pgp.KeyStore
Returns the Version comment text that is printed in ASCII armored output
getAsciiVersionHeader() - Method in class com.didisoft.pgp.PGPKeyPair
Returns the Version comment text that is printed in ASCII armored output
getAsciiVersionHeader() - Method in class com.didisoft.pgp.PGPLib
Returns the Version comment text that is printed in ASCII armored output
getAsciiVersionHeader() - Method in class com.didisoft.pgp.RevocationLib
Returns the Version comment text that is printed in ASCII armored output
getCompression() - Method in class com.didisoft.pgp.PGPLib
Returns the preferred compression algorithm used by all methods that produce OpenPGP messages (e.g Encrypt, Sign, etc.)
Default is ZIP
getContentType() - Method in class com.didisoft.pgp.PGPLib
Returns the content data type for archives created afterwards
getCreationTime() - Method in class com.didisoft.pgp.KeyPairInformation
Returns when was the key created.
getCreationTime() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns when was the key created.
getCypher() - Method in class com.didisoft.pgp.PGPLib
Returns the preferred symmetric key algorithm used by all methods that produce OpenPGP messages (e.g Encrypt, Sign, etc.)
Default is CAST5
getDebugLevel() - Method in class com.didisoft.pgp.PGPLib
Returns the current debug level.
getDefaultKeyCertificationType() - Method in class com.didisoft.pgp.KeyStore
Returns the default key certification type for new keys created with #generateKeyPair(int, String, KeyAlgorithm, String, CompressionAlgorithm[], HashAlgorithm[], CypherAlgorithm[])
getEncryptionKeySize() - Method in class com.didisoft.pgp.KeyPairInformation
The bit strength of the encryption sub key
getExpirationDate() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the date when this key will expire
getExpirationTime() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the key expiration date
getFileName() - Method in class com.didisoft.pgp.inspect.ContentItem
The file name of an encrypted file.
getFiles() - Method in class com.didisoft.pgp.PGPFileInformation
 
getFingerprint() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the key fingerprint as string.
getFingerprint() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns key finger print.
getKey(String) - Method in class com.didisoft.pgp.KeyStore
Returns the key pair with the specified User Id
getKey(long) - Method in class com.didisoft.pgp.KeyStore
Returns the key pair with the specified Key Id
getKeyByKeyId(long) - Method in class com.didisoft.pgp.net.HKPClient
Tries to retrieve a key from a HKP HTTP/S server searching by Key Id.
getKeyByKeyId(long) - Method in class com.didisoft.pgp.net.LDAPClient
Tries to retrieve a key from an LDAP server searching by Key Id.
getKeyByKeyIdHex(String) - Method in class com.didisoft.pgp.net.HKPClient
Tries to retrieve a key from a HKP HTTP/S server searching by hexadecimal Key Id.
getKeyByKeyIdHex(String) - Method in class com.didisoft.pgp.net.LDAPClient
Tries to retrieve a key from an LDAP server searching by hexadecimal Key Id.
getKeyByUserId(String) - Method in class com.didisoft.pgp.net.HKPClient
Tries to retrieve a key from a HKP HTTP/S key server searching by User Id.
getKeyByUserId(String) - Method in class com.didisoft.pgp.net.LDAPClient
Tries to retrieve a key from an LDAP server searching by User Id.
getKeyHexIds() - Method in class com.didisoft.pgp.KeyStore
Returns array of Hexadecimal string representation of the key Id's for the keys contained in this KeyStore instance.
getKeyId() - Method in class com.didisoft.pgp.inspect.SignatureItem
Gets the signature creator's key Id.
getKeyID() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the Key ID of this key pair.
getKeyID() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns the Key ID of this key pair.
getKeyIdForKeyIdHex(String) - Method in class com.didisoft.pgp.KeyStore
Returns the real Key ID (of type long) corresponding to this Hexadecimal Key Id.
getKeyIdForUserId(String) - Method in class com.didisoft.pgp.KeyStore
Returns the real Key ID (of type long) corresponding to this User Id.
getKeyIdHex() - Method in class com.didisoft.pgp.inspect.SignatureItem
Gets the signature creator's key Id in hexadecimal format
getKeyIDHex() - Method in class com.didisoft.pgp.KeyPairInformation
Returns a string representing the hexadecimal value of the Key ID.
getKeyIDHex() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns a string representing the hexadecimal value of the Key ID.
getKeyIDLongHex() - Method in class com.didisoft.pgp.KeyPairInformation
Returns a string representing the hexadecimal value of the Key ID.
getKeys() - Method in class com.didisoft.pgp.KeyStore
Returns the key pairs stored in this key store
getKeys(String) - Method in class com.didisoft.pgp.KeyStore
Returns the key pairs stored in this key store, having a specified User Id or hexadecimal Key Id
getKeysByUserId(String) - Method in class com.didisoft.pgp.net.HKPClient
Tries to retrieve all keys from a HKP HTTP/S key server searching by User Id.
getKeySize() - Method in class com.didisoft.pgp.KeyPairInformation
Returns key size in bits.
getKeySize() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns key size in bits.
getKeystoreFileName() - Method in class com.didisoft.pgp.KeyStore
Returns this Key store file name (absolute or relative path)
getKeystorePassword() - Method in class com.didisoft.pgp.KeyStore
Returns The password of this KeyStore
getMarginalsNeeded() - Method in class com.didisoft.pgp.KeyStore
Retrieves how many signatures from marginally trusted keys are needed in order a key to be considered trusted.
getMaxTrustDepth() - Method in class com.didisoft.pgp.KeyStore
Retrieves the maximum depth of trust inheritance.
getModificationDate() - Method in class com.didisoft.pgp.inspect.ContentItem
Modification date as stored in the OpenPGP archive
getPreferredCiphers() - Method in class com.didisoft.pgp.KeyPairInformation
The preferred cipher algorithms supported by this key.
getPreferredCompressions() - Method in class com.didisoft.pgp.KeyPairInformation
The preferred compression algorithms supported by this key.
getPreferredHashes() - Method in class com.didisoft.pgp.KeyPairInformation
The preferred hash algorithms supported by this key.
getPrivateSubKeys() - Method in class com.didisoft.pgp.KeyPairInformation
Returns an array from all private sub keys.
getPublicSubKeys() - Method in class com.didisoft.pgp.KeyPairInformation
Returns an array from all public sub keys.
getRawPrivateKeyRing() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the Private key ring part of this Key Pair.
getRawPublicKeyRing() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the Public key ring part of this Key Pair
getRawPublicKeys() - Method in class com.didisoft.pgp.KeyStore
Raw access to the secret keys contained in this KeyStore
getRawSecretKeys() - Method in class com.didisoft.pgp.KeyStore
Raw access to the secret keys contained in this KeyStore
getSignatureTime() - Method in class com.didisoft.pgp.inspect.SignatureItem
Returns the signature creation time
getSignedWithKeyIds() - Method in class com.didisoft.pgp.KeyPairInformation
Returns a list of the key Id's that have signed the public key(s) included in this key pair
getTrust() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the trust data assigned to this key
getUsePrecomputedPrimes() - Method in class com.didisoft.pgp.KeyStore
Returns will the key generation use build in precomputed primes.
getUserAgent() - Method in class com.didisoft.pgp.net.HKPClient
Returns the User-Agent HTTP header that this class sends when communicates with HKP key servers
getUserId() - Method in class com.didisoft.pgp.inspect.SignatureItem
Gets the signer User identifier is available.
getUserID() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the primary (first) User Id associated with this key.
getUserIDs() - Method in class com.didisoft.pgp.KeyPairInformation
Returns User Id's associated with this key.
getUserIDs() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns User Id's associated with this key.
getUserIds() - Method in class com.didisoft.pgp.KeyStore
Returns array of Strings representing all user Id's contained in this KeyStore instance.
getValidDays() - Method in class com.didisoft.pgp.KeyPairInformation
Returns key validity period in days.
getValidDays() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns key validity period in days.
getValue() - Method in enum com.didisoft.pgp.KeyStore.KeyCertificationType
The actual code value for the selected sertification
getVersion() - Method in class com.didisoft.pgp.KeyPairInformation
Returns key format OpenPGP version.
getVersion() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns key format OpenPGP version.

H

HashAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported hashing algorithms used in the library.
HashAlgorithm.Enum - Enum in com.didisoft.pgp
 
hasPrivateKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is there a private key in this key pair.
HKPClient - Class in com.didisoft.pgp.net
Retrieves keys from HTTP/S HKP key servers
Check for details: https://tools.ietf.org/html/draft-shaw-openpgp-hkp-00

Example usage:
HKPClient(String) - Constructor for class com.didisoft.pgp.net.HKPClient
creates a new istance
HKPClient(String, int) - Constructor for class com.didisoft.pgp.net.HKPClient
creates a new istance
HKPClient(String, int, boolean) - Constructor for class com.didisoft.pgp.net.HKPClient
 

I

IDEA - Static variable in interface com.didisoft.pgp.CypherAlgorithm
IDEA.
IKeyStoreSaveListener - Interface in com.didisoft.pgp.events
Listener Interface for KeyStore save events.
IKeyStoreSearchListener - Interface in com.didisoft.pgp.events
Listener Interface for KeyStore key search events.
importKey(InputStream) - Method in class com.didisoft.pgp.KeyStore
Imports the first OpenPGP key from a key data stream

Example:
importKey(String) - Method in class com.didisoft.pgp.KeyStore
Imports private key file into this KeyStore instance.
importKeyRing(String) - Method in class com.didisoft.pgp.KeyStore
Imports OpenPGP key ring into this KeyStore instance.
importKeyRing(String, String) - Method in class com.didisoft.pgp.KeyStore
Imports OpenPGP key ring into this KeyStore instance.
importKeyRing(KeyPairInformation) - Method in class com.didisoft.pgp.KeyStore
Imports a KeyPairInformation object into this KeyStore instance

Example:
importKeyRing(InputStream) - Method in class com.didisoft.pgp.KeyStore
Imports OpenPGP key ring stream into this KeyStore instance.
importKeyRing(InputStream, String) - Method in class com.didisoft.pgp.KeyStore
Imports OpenPGP key ring stream into this KeyStore instance.
importKeyStore(KeyStore) - Method in class com.didisoft.pgp.KeyStore
Imports the keys contained in another KeyStore object into the current instance.
importPrivateKey(String) - Method in class com.didisoft.pgp.KeyStore
Imports a private key file into this KeyStore instance.
importPrivateKey(String, String) - Method in class com.didisoft.pgp.KeyStore
Imports private key file into this KeyStore instance.
importPrivateKey(InputStream) - Method in class com.didisoft.pgp.KeyStore
Imports private key stream into this KeyStore instance.
importPrivateKey(InputStream, String) - Method in class com.didisoft.pgp.KeyStore
Imports private key stream into this KeyStore instance.
importPublicKey(KeyPairInformation) - Method in class com.didisoft.pgp.KeyStore
Imports only the public key component of a KeyPairInformation into this KeyStore instance

Example:
importPublicKey(String) - Method in class com.didisoft.pgp.KeyStore
Imports an OpenPGP public key into this KeyStore instance.
importPublicKey(InputStream) - Method in class com.didisoft.pgp.KeyStore
Imports an OpenPGP public key into this KeyStore instance.
IntegrityCheckException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that the data is corrupted.
IntegrityCheckException(String) - Constructor for exception com.didisoft.pgp.exceptions.IntegrityCheckException
 
isAutoSave() - Method in class com.didisoft.pgp.KeyStore
Returns is auto save on.
isBackupOnSave() - Method in class com.didisoft.pgp.KeyStore
Returns should backups be made on save.
isCaseSensitiveMatchUserIds() - Method in class com.didisoft.pgp.KeyStore
Checks is the search performed by User Id case sensitive or not
isDirectory() - Method in class com.didisoft.pgp.inspect.ContentItem
Is this item a directory or a file.
isEncryptionKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns true if this key can be used for encryption, otherwise false
isEncryptionKey() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns is this Key used for encrypting data.
isExpired() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is this key expired (not usable any more).
isExpired() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns is this Key expired (not usable any more).
isExpiredOnDate(Date) - Method in class com.didisoft.pgp.KeyPairInformation
Returns will this key be expired on a given date
isExpiredOnDate(Date) - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns is this key expired on a given date
isExtractTarFiles() - Method in class com.didisoft.pgp.PGPLib
Checks is the library set to extract embedded TAR files
isFastElGamalGeneration() - Method in class com.didisoft.pgp.KeyStore
Will fast ElGamal parameters generation be performed (with less primality checks)
isInMemory() - Method in class com.didisoft.pgp.KeyStore
Indicates is this KeyStore instance stored in-memory
isOverrideKeyAlgorithmPreferences() - Method in class com.didisoft.pgp.PGPLib
returns will the algorithms choosed with PGPLib.setCompression(String), PGPLib.setCypher(String), PGPLib.setHash(String) override the used key preferences
isPartialMatchUserIds() - Method in class com.didisoft.pgp.KeyStore
Returns can Key User ID parameters be specified with part of the User ID (true) or with the whole User ID (false)
isPartialMatchUserIds() - Method in class com.didisoft.pgp.net.HKPClient
Returns should keys be search by part of the User ID (true) or with the whole User ID only (false)
isPartialMatchUserIds() - Method in class com.didisoft.pgp.net.LDAPClient
Returns should keys be search by part of the User ID (true) or with the whole User ID only (false)
isPBEEncrypted(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP file encrypted with a password.
isPBEEncrypted(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP stream encrypted with a password.
isPgp2Compatible() - Method in class com.didisoft.pgp.PGPLib
Checks is PGP 2.x encryption and signing compatibility mode enabled
isPublicKeyEncrypted(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP file encrypted with a public key.
isPublicKeyEncrypted(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP stream encrypted with a public key.
isRevoked() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is this Key revoked (not usable any more).
isRevoked() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns is this Key revoked (not usable any more).
isSignedOnly(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP archive signed only
isSignedOnly(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Checks is a given OpenPGP archive stream signed only
isSigningKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is this Key used for signing data.
isSigningKey() - Method in class com.didisoft.pgp.KeyPairInformation.SubKey
Returns is this Key used for signing data.
isSkipLucasLehmerPrimeTest() - Method in class com.didisoft.pgp.KeyStore
Will Lucas-Lehmer prime number check be skipped when generating prime numbers for ElGamal keys.
isTrialVersion() - Method in class com.didisoft.pgp.PGPLib
Checks is this an evaluation instance of the library
isTrusted(String) - Method in class com.didisoft.pgp.KeyStore
Returns is a public key with the supplied Key User Id trusted in this key store.
isTrusted(long) - Method in class com.didisoft.pgp.KeyStore
Returns is a public key with the supplied Key Id trusted in this key store.
isUseExpiredKeys() - Method in class com.didisoft.pgp.PGPLib
Returns should expired keys still be used
Default is false
isUseRevokedKeys() - Method in class com.didisoft.pgp.PGPLib
Returns should revoked keys still be used
Default is false
isValidForever() - Method in class com.didisoft.pgp.KeyPairInformation
Returns does this key have an expiration date, or is valid forever

K

KeyAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported asymmetric algorithms for OpenPGP keys.
KeyAlgorithm.Enum - Enum in com.didisoft.pgp
 
keyId2Hex(long) - Static method in class com.didisoft.pgp.KeyPairInformation
Helper method that converts 8 byte key id (of type long) into a hexadecimal string obtained from the lower 4 bytes.
keyId2Hex(long) - Static method in class com.didisoft.pgp.KeyStore
Helper method that converts 8 byte key id (of type long) into a hexadecimal string obtained from the lower 4 bytes.
keyIdToHex(long) - Static method in class com.didisoft.pgp.KeyPairInformation
Helper method that converts 8 byte key id (of type long) into a hexadecimal string obtained from the lower 4 bytes.
keyIdToHex(long) - Static method in class com.didisoft.pgp.KeyStore
Helper method that converts 8 byte key id (of type long) into a hexadecimal string obtained from the lower 4 bytes.
keyIdToLongHex(long) - Static method in class com.didisoft.pgp.KeyPairInformation
Helper method that converts a key id (of type long) into a hexadecimal string.
keyIdToLongHex(long) - Static method in class com.didisoft.pgp.KeyStore
Helper method that converts a key id (of type long) into a hexadecimal string.
KeyIsExpiredException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a supplied key is expired.
KeyIsExpiredException(String) - Constructor for exception com.didisoft.pgp.exceptions.KeyIsExpiredException
 
KeyIsExpiredException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.KeyIsExpiredException
 
KeyIsRevokedException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a supplied key is revoked.
KeyIsRevokedException(String) - Constructor for exception com.didisoft.pgp.exceptions.KeyIsRevokedException
 
KeyIsRevokedException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.KeyIsRevokedException
 
KeyPairInformation - Class in com.didisoft.pgp
Represents an OpenPGP key pair.
KeyPairInformation.SubKey - Class in com.didisoft.pgp
Represents a sub key in a key ring
KeyPairInformation.SubKey(PGPPublicKey) - Constructor for class com.didisoft.pgp.KeyPairInformation.SubKey
 
KeyStore - Class in com.didisoft.pgp
Represents an OpenPGP Key Store.
KeyStore() - Constructor for class com.didisoft.pgp.KeyStore
Creates a new Key Store object stored in-memory.
KeyStore(String, String) - Constructor for class com.didisoft.pgp.KeyStore
Creates a new Key Store object backed by a file.
KeyStore.KeyCertificationType - Enum in com.didisoft.pgp
Possible certification types for an OpenPGP key

L

LDAPClient - Class in com.didisoft.pgp.net
Retrieves keys from LDAP servers that support the pgp ldap schema

Example usage:
LDAPClient(String) - Constructor for class com.didisoft.pgp.net.LDAPClient
Creates a new instance of the class
LDAPClient(String, int) - Constructor for class com.didisoft.pgp.net.LDAPClient
Creates a new instance of the class
LDAPClient(String, int, String, String) - Constructor for class com.didisoft.pgp.net.LDAPClient
 
listDetachedSignatureFile(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists information for an OpenPGP detached signature file
listDetachedSignatureStream(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists information for an OpenPGP detached signature stream
listEncryptionKeyIds(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns the Key Id's that have encrypted a given OpenPGP archive
listEncryptionKeyIds(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns the Key Id's that have encrypted a given OpenPGP archive
listKeys() - Method in class com.didisoft.pgp.KeyStore
Lists keys stored in this OpenPGP key store to the System.out

Example:
listOpenPGPFile(String, String, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists the contents of an OpenPGP encrypted file

Example:
listOpenPGPFile(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists the contents of an OpenPGP signed file

Example:
listOpenPGPStream(InputStream, InputStream, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists the contents of an OpenPGP encrypted stream

Example:
listOpenPGPStream(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Lists the contents of an OpenPGP signed stream

Example:
listRevocationCertificate(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns a list of the revocation signatures contained in an OpenPGP revocation certificate
listRevocationCertificate(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns a list of the revocation signatures contained in an OpenPGP revocation certificate
listSignatures(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns list of SignatureItem for the signatures contained in a signed only archive
listSignatures(String, String, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns list of SignatureItem for the signatures contained in a given OpenPGP archive
listSignatures(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns a list of SignatureItem for the signatures contained in a signed only archive
listSignatures(InputStream, InputStream, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns a list of SignatureItem for the signatures contained in a given OpenPGP archive
listSigningKeyIds(String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns the Key Id's that have signed a given OpenPGP signed only archive
listSigningKeyIds(InputStream) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns the Key Id's that have signed a given OpenPGP signed only archive
listSigningKeyIds(String, String, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns the Key Id's that have signed a given OpenPGP archive
listSigningKeyIds(InputStream, InputStream, String) - Method in class com.didisoft.pgp.inspect.PGPInspectLib
Returns a list of the Key Id's for the key(s) that have signed a given OpenPGP archive
loadFromStream(InputStream, String) - Method in class com.didisoft.pgp.KeyStore
Loads the KeyStore data from a stream, where it has been stored previously.
loadFromStream(InputStream) - Method in class com.didisoft.pgp.KeyStore
Loads the KeyStore data from a stream, where it has been stored previously

M

MARGINAL - Static variable in interface com.didisoft.pgp.TrustLevel
Partially trusted
MD2 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Message Digest 2
MD5 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Message Digest 5

N

NONE - Static variable in interface com.didisoft.pgp.TrustLevel
Not trusted or not verified yet
NonPGPDataException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a supplied data is not a valid OpenPGP message.
NonPGPDataException(String) - Constructor for exception com.didisoft.pgp.exceptions.NonPGPDataException
 
NonPGPDataException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.NonPGPDataException
 
NoPrivateKeyFoundException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a private key has not been found in a supplied file/stream parameter.
NoPrivateKeyFoundException(String) - Constructor for exception com.didisoft.pgp.exceptions.NoPrivateKeyFoundException
 
NoPrivateKeyFoundException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.NoPrivateKeyFoundException
 
NoPublicKeyFoundException - Exception in com.didisoft.pgp.exceptions
Exception that indicates that a public key has not been found in a supplied file/stream parameter.
NoPublicKeyFoundException(String) - Constructor for exception com.didisoft.pgp.exceptions.NoPublicKeyFoundException
 
NoPublicKeyFoundException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.NoPublicKeyFoundException
 

O

onKeyNotFound(KeyStore, boolean, long, String, String) - Method in interface com.didisoft.pgp.events.IKeyStoreSearchListener
Event fired when a matching key (e.g.
onSave(KeyStore) - Method in interface com.didisoft.pgp.events.IKeyStoreSaveListener
Fired on each KeyStore modification event
openFile(String, String) - Static method in class com.didisoft.pgp.KeyStore
Initializes a new Key Store object.
openInMemory() - Static method in class com.didisoft.pgp.KeyStore
Creates a new in-memory KeyStore instance.

P

P256 - Static variable in interface com.didisoft.pgp.EcCurve
Elliptic curve over the field of 256 bit prime numbers (NIST P-256)
P384 - Static variable in interface com.didisoft.pgp.EcCurve
Elliptic curve over the field of 384 bit prime numbers (NIST P-384)
P521 - Static variable in interface com.didisoft.pgp.EcCurve
Elliptic curve over the field of 521 bit prime numbers (NIST P-521)
padLeft(int, int) - Static method in class com.didisoft.pgp.net.LDAPClient
 
PGPException - Exception in com.didisoft.pgp
Exception indicating that an OpenPGP encryption error has occurred
PGPException(String) - Constructor for exception com.didisoft.pgp.PGPException
Constructs the exception from a string message
PGPException(String, Exception) - Constructor for exception com.didisoft.pgp.PGPException
Constructs the exception from a string message and another exception
PGPFileInformation - Class in com.didisoft.pgp
Reserved for future releases.
PGPFileInformation() - Constructor for class com.didisoft.pgp.PGPFileInformation
 
PGPInspectLib - Class in com.didisoft.pgp.inspect
Provides methods for inspecting OpenPGP files and streams.
PGPInspectLib() - Constructor for class com.didisoft.pgp.inspect.PGPInspectLib
 
PGPKeyPair - Class in com.didisoft.pgp
Represents an OpenPGP key loaded from a key file.
PGPKeyPair(String) - Constructor for class com.didisoft.pgp.PGPKeyPair
Initializes the object from a PGP key file.
PGPKeyPair(String, String) - Constructor for class com.didisoft.pgp.PGPKeyPair
Initializes the object from a public and private PGP key files.
PGPLib - Class in com.didisoft.pgp
OpenPGP Library for Java.
PGPLib() - Constructor for class com.didisoft.pgp.PGPLib
The default constructor of the library.
purge() - Method in class com.didisoft.pgp.KeyStore
Clears the internal state of this key store.

R

REASON_KEY_COMPROMISED - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: Key has been compromised
REASON_KEY_NO_LONGER_USED - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: Key is no longer used
REASON_KEY_SUPERSEDED - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: Key is superseded
REASON_NO_REASON - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: No reason specified
REASON_USER_NO_LONGER_USED - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: User Id is no longer used
removeSaveListener(IKeyStoreSaveListener) - Method in class com.didisoft.pgp.KeyStore
Removes IKeyStoreSaveListener listener that was registered with this KeyStore
removeSearchListener(IKeyStoreSearchListener) - Method in class com.didisoft.pgp.KeyStore
Removes IKeyStoreSearchListener listener that was registered with this KeyStore
RevocationLib - Class in com.didisoft.pgp
OpenPGP Key Revocation Library for Java.
RevocationLib() - Constructor for class com.didisoft.pgp.RevocationLib
Constructor that initializes the revocation library class.
revokeKey(KeyStore, long, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a public key or sub key from a KeyStore.
revokeKey(KeyStore, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a public key or sub key from a KeyStore.
revokeKey(String, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a public key.
revokeKeyWithDesignatedRevoker(String, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes an OpenPGP public key with a designated revoker private key file.
revokeKeyWithDesignatedRevoker(KeyStore, long, long, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes an OpenPGP public key located in a KeyStore with a designated revoker.
revokeKeyWithDesignatedRevoker(KeyStore, String, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes an OpenPGP public key located in a KeyStore with a designated revoker.
revokeKeyWithRevocationCertificateFile(String, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr) using a revocation certificate file.
revokeKeyWithRevocationCertificateFile(KeyStore, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a key or subkey from an OpenPGP key ring located in a KeyStore.
revokeKeyWithRevocationCertificateText(String, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr) using a revocation certificate supplied as text.
revokeKeyWithRevocationCertificateText(KeyStore, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a key or subkey located in an OpenPGP KeyStore using a revocation certificate supplied as text.
revokeUserIdSignature(String, String, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a User Id signature binding from an OpenPGP public key file.
revokeUserIdSignature(KeyStore, long, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a User Id signature binding from an OpenPGP public key located in a KeyStore
Note: the corresponding private key must also exist in this KeyStore in order the signature to be produced.
revokeUserIdSignature(KeyStore, String, String, byte, String) - Method in class com.didisoft.pgp.RevocationLib
Revokes a User Id signature binding from an OpenPGP public key located in a KeyStore
Note: if more than one key has this User ID signature use @link RevocationLib.revokeUserIdSignature(KeyStore, long, String, String, byte, String) instead

Equivalent GPG command:
gpg --edit-key [userId]
revsig
RIPEMD160 - Static variable in interface com.didisoft.pgp.HashAlgorithm
RIPEMD-160, 160-bit message digest algorithm (RACE Integrity Primitives Evaluation Message Digest)
RSA - Static variable in interface com.didisoft.pgp.KeyAlgorithm
RSA (Rivest, Shamir and Adleman algorithm)
RSA - Static variable in class com.didisoft.pgp.KeyStore
RSA Algorithm constant

S

SAFER - Static variable in interface com.didisoft.pgp.CypherAlgorithm
SAFER
save() - Method in class com.didisoft.pgp.KeyStore
Saves the backing file of this KeyStore instance to disk.
save(boolean) - Method in class com.didisoft.pgp.KeyStore
 
saveToStream(OutputStream) - Method in class com.didisoft.pgp.KeyStore
Saves the key store data to a stream
The KeyStore is stored unprotected with a password
setAction(int) - Method in class com.didisoft.pgp.PGPFileInformation
 
setAsciiVersionHeader(String) - Method in class com.didisoft.pgp.KeyStore
Sets the Version comment text that is printed in ASCII armored output

Example usage:
setAsciiVersionHeader(String) - Method in class com.didisoft.pgp.PGPKeyPair
Sets the Version comment text that is printed in ASCII armored output

Example usage:
setAsciiVersionHeader(String) - Method in class com.didisoft.pgp.PGPLib
Sets the Version comment text that is printed in ASCII armored output

Example usage:
setAsciiVersionHeader(String) - Method in class com.didisoft.pgp.RevocationLib
Sets the Version comment text that is printed in ASCII armored output

Example usage:
setAutoSave(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets the KeyStore to call save() automatically after each operation that modifies it (for example import key, delete key, etc.)
setBackupOnSave(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets backup file be created (with extension .bak) for this KeyStore on save() operations.
setCaseSensitiveMatchUserIds(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets is the search performed by User Id case sensitive or not
setCompression(String) - Method in class com.didisoft.pgp.PGPLib
Sets the preferred compression algorithm used by all methods that produce OpenPGP messages (e.g Encrypt, Sign, etc.)
setContentType(char) - Method in class com.didisoft.pgp.PGPLib
Sets the content data type for archives created afterwards
setCypher(String) - Method in class com.didisoft.pgp.PGPLib
Sets the preferred symmetric key algorithm used by all methods that produce OpenPGP messages (e.g Encrypt, Sign, etc.)
setDebuglevel(Level) - Method in class com.didisoft.pgp.PGPLib
Sets the current debug information log level
setDefaultKeyCertificationType(KeyStore.KeyCertificationType) - Method in class com.didisoft.pgp.KeyStore
Sets the default key certification type for new keys created with #generateKeyPair(int, String, KeyAlgorithm, String, CompressionAlgorithm[], HashAlgorithm[], CypherAlgorithm[])

Example usage:
setExtractTarFiles(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets should the library extract embedded TAR files
setFastElGamalGeneration(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets should fast ElGamal parameters generation be performed.
setFiles(List) - Method in class com.didisoft.pgp.PGPFileInformation
 
setHash(String) - Method in class com.didisoft.pgp.PGPLib
Sets the preferred hashing algorithm used by all methods that produce OpenPGP signature (all Sign and SigneAndEncrypt methods)
setKeyCertificationType(long, String, KeyStore.KeyCertificationType) - Method in class com.didisoft.pgp.KeyStore
Changes the key certification type of a specified OpenPGP key
setKeyCertificationType(String, String, KeyStore.KeyCertificationType) - Method in class com.didisoft.pgp.KeyStore
Changes the key certification type of a specified OpenPGP key
setKeyExpirationTime(String, String, int) - Method in class com.didisoft.pgp.KeyStore
Changes the key expiration time of a specified OpenPGP key
setKeyExpirationTime(long, String, int) - Method in class com.didisoft.pgp.KeyStore
Changes the key expiration time of a specified OpenPGP key
setKeystorePassword(String) - Method in class com.didisoft.pgp.KeyStore
Changes the password of a file based KeyStore instance
setMarginalsNeeded(int) - Method in class com.didisoft.pgp.KeyStore
Sets how many signatures from marginally trusted keys are needed in order a key to be considered trusted
setMaxTrustDepth(int) - Method in class com.didisoft.pgp.KeyStore
Sets the maximum depth of trust inheritance
setOverrideKeyAlgorithmPreferences(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets will the algorithms choosed with PGPLib.setCompression(String), PGPLib.setCypher(String), PGPLib.setHash(String) override the used key preferences
setPartialMatchUserIds(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets can Key User ID parameters be specified with part of the User ID (true) or with the whole User ID (false)
setPartialMatchUserIds(boolean) - Method in class com.didisoft.pgp.net.HKPClient
Sets should keys be search by part of the User ID (true) or with the whole User ID only (false)
setPartialMatchUserIds(boolean) - Method in class com.didisoft.pgp.net.LDAPClient
Sets should keys be search by part of the User ID (true) or with the whole User ID only (false)
setPgp2Compatible(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets PGP 2.x encryption and signing compatibility mode
setPrivateKeyRing(PGPSecretKeyRing) - Method in class com.didisoft.pgp.KeyPairInformation
Sets the Private key ring part of this Key Pair.
setPublicKeyRing(PGPPublicKeyRing) - Method in class com.didisoft.pgp.KeyPairInformation
Sets the Public key ring part of this Key Pair.
setSkipLucasLehmerPrimeTest(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets should Lucas-Lehmer prime number check be skipped when generating prime numbers for ElGamal keys
setTrust(long, byte) - Method in class com.didisoft.pgp.KeyStore
Sets an internal trust value for a public key, valid only in this KeyStore instance

PGP command line (r) equivalent:
pgp --set-trust keyId --trust trustValue
setTrust(String, byte) - Method in class com.didisoft.pgp.KeyStore
Sets an internal trust value for a public key, valid only in this KeyStore instance

PGP command line (r) equivalent:
pgp --set-trust keyUserId --trust trustValue
setUseExpiredKeys(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets should expired keys still be used
setUsePrecomputedPrimes(boolean) - Method in class com.didisoft.pgp.KeyStore
Sets whether the library will use pre-computed prime numbers from RFC 3526 for ElGamal (DH/DSS) key generation
setUserAgent(String) - Method in class com.didisoft.pgp.net.HKPClient
Sets the User-Agent HTTP header that this class sends when communicates with HKP key servers
setUseRevokedKeys(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets should revoked keys still be used
setUserId(String) - Method in class com.didisoft.pgp.inspect.SignatureItem
 
SHA1 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Secure Hash Algorithm (SHA-1)
SHA224 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Secure Hash Algorithm 224 bit (SHA-2 224)
SHA256 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Secure Hash Algorithm 256 bit (SHA-2 256)
SHA384 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Secure Hash Algorithm 384 bit (SHA-2 384)
SHA512 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Secure Hash Algorithm 512 bit (SHA-2 512)
signAndEncryptFile(String, String, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFile(String, String, String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFile(String, String, String, String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFile(String, InputStream, String, InputStream, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFile(String, KeyStore, String, String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFile(String, KeyStore, String, String, String[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass for multiple recipients.
signAndEncryptFile(String, KeyStore, long, String, long[], String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass for multiple recipients.
signAndEncryptFile(String, KeyStore, long, String, long, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptFileVersion3(String, String, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below)

(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptFileVersion3(String, String, String, String, String, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below)

(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStream(InputStream, String, InputStream, String, InputStream, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a stream in one pass.
signAndEncryptStream(InputStream, String, InputStream, String, InputStream[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a stream in one pass.
signAndEncryptStream(InputStream, String, KeyStore, String, String, String, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass.
signAndEncryptStream(InputStream, String, KeyStore, String, String, String[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass for multiple recipients

(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStream(InputStream, String, KeyStore, String, String, long[], OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass for multiple recipients

(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStreamVersion3(InputStream, String, InputStream, String, InputStream, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below)
(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStreamVersion3(InputStream, String, KeyStore, String, String, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below)
(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStreamVersion3(InputStream, String, KeyStore, long, String, long, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with PGP 6.5 and below)
(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStreamVersion3(InputStream, String, InputStream, String, InputStream, OutputStream, boolean, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a file in one pass, using OpenPGP version 3 signature format (compatible with older PGP 2.x systems)
(Note that this is not the same as first encrypt and then sign a file, because in that case a double compression is performed.)
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptString(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a String message in one pass
The input String is assumed to be UTF-8 encoded.
signAndEncryptString(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a String message in one pass
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signAndEncryptStringVersion3(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a String message in one pass with OpenPGP version 3 signatures
The input String is assumed to be UTF-8 encoded.
signAndEncryptStringVersion3(String, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs and encrypts a String message in one pass creating OpenPGP version 3 signatures
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
SignatureCheckResult - Enum in com.didisoft.pgp
Represents the result of an OpenPGP signature check
SignatureItem - Class in com.didisoft.pgp.inspect
Contains information for an OpenPGP signature
SignatureItem(long, Date) - Constructor for class com.didisoft.pgp.inspect.SignatureItem
 
SIGNED - Static variable in class com.didisoft.pgp.PGPFileInformation
 
SIGNED_AND_ENCRYPTED - Static variable in class com.didisoft.pgp.PGPFileInformation
 
signFile(KeyStore, String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs given file using specified Private Key, using OpenPGP Key Store.
signFile(KeyStore, String, long, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs given file using specified Private Key, using OpenPGP Key Store.
signFile(String, KeyStore, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a file, with private key stored in a KeyStore object.
signFile(String, KeyStore, long, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a file, with private key stored in a KeyStore object.
signFile(String, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a file.
signFile(String, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a file.
signFileVersion3(String, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
Signs a file in OpenPGP version 3 format (compatible with PGP 2.x systems)

Optional settings:
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example usage:

signPublicKey(long, long, String) - Method in class com.didisoft.pgp.KeyStore
Signs a public key with a private key.
signPublicKey(String, String, String) - Method in class com.didisoft.pgp.KeyStore
Signs a public key with a private key.
signPublicKeyAsTrustedIntroducer(long, long, String) - Method in class com.didisoft.pgp.KeyStore
Signs a public key as trusted introducer

When you import keys into your KeyStore and are sure that the trusted third party is really the person they claim to be, you can sign his/her keys.
signPublicKeyAsTrustedIntroducer(String, String, String) - Method in class com.didisoft.pgp.KeyStore
Signs a public key as a trusted introducer with a private key.
signStream(InputStream, String, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a stream.
signStream(InputStream, String, KeyStore, String, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs stream with a private key stored in a KeyStore.
signStream(InputStream, String, KeyStore, long, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs stream with a private key stored in a KeyStore.
signStreamVersion3(InputStream, String, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
Signs a stream using OpenPGP version 3 signatures format (compatible with PGP 2.x systems)

Optional settings:
Compression algorithm used is the one specified with PGPLib.setCompression(String)
Hashing algorithm used is the one specified with PGPLib.setHash(String)

Example:
signString(String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a String message assuming the message is UTF-8 encoded

Example:
signString(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a String message

Example:
signString(String, InputStream, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a String message

Example:
signString(String, KeyStore, String, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a String message

Example:
signString(String, KeyStore, long, String, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs a String message

Example:
submitKey(byte[]) - Method in class com.didisoft.pgp.net.HKPClient
Uploads an OpenPGP key bytes into a HKP HTTP key server
submitKey(byte[]) - Method in class com.didisoft.pgp.net.LDAPClient
Uploads an OpenPGP key bytes into an LDAP server that supports the pgp schema

T

TEXT - Static variable in interface com.didisoft.pgp.ContentDataType
indicates Text content in the OpenPGP archive
toString() - Method in enum com.didisoft.pgp.CompressionAlgorithm.Enum
 
toString() - Method in enum com.didisoft.pgp.EcCurve.Enum
 
TRIPLE_DES - Static variable in interface com.didisoft.pgp.CypherAlgorithm
Triple DES.
TRUSTED - Static variable in interface com.didisoft.pgp.TrustLevel
Maximum trust
TrustLevel - Interface in com.didisoft.pgp
Holds common trust values
TWOFISH - Static variable in interface com.didisoft.pgp.CypherAlgorithm
Twofish.

U

UNCOMPRESSED - Static variable in interface com.didisoft.pgp.CompressionAlgorithm
Data is not compressed
UTF8 - Static variable in interface com.didisoft.pgp.ContentDataType
indicates UTF-8 Text content in the OpenPGP archive

V

valueOf(String) - Static method in enum com.didisoft.pgp.CompressionAlgorithm.Enum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.CypherAlgorithm.Enum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.EcCurve.Enum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.HashAlgorithm.Enum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.KeyAlgorithm.Enum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.KeyStore.KeyCertificationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.SignatureCheckResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.didisoft.pgp.CompressionAlgorithm.Enum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.CypherAlgorithm.Enum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.EcCurve.Enum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.HashAlgorithm.Enum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.KeyAlgorithm.Enum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.KeyStore.KeyCertificationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.didisoft.pgp.SignatureCheckResult
Returns an array containing the constants of this enum type, in the order they are declared.
verifyAndExtract(InputStream, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies a stream for being correctly OpenPGP signed and extracts its data

Example:
verifyAndExtract(InputStream, KeyStore, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies an incoming stream for being correctly OpenPGP signed and extracts its data

Example:
verifyAndExtract(String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyAndExtract(String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyAndExtract(String, KeyStore, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyAndExtract(String, KeyStore, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyAndExtract(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed and extracts the data

Example:
verifyAndExtract(File, File, File) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed and extracts the data

Example:
verifyAndExtract(File, KeyStore, File) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed and extracts the data

Example:
verifyAndExtract(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed and extracts the data

Example:
verifyFile(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use {@link #verifyAndExtract(String, String, String) instead
verifyFile(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use {@link #verifyAndExtract(String, KeyStore, String) instead
verifyFile(String, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyWithoutExtracting(String, String) instead
verifyFile(InputStream, InputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Use PGPLib.verifyStream(InputStream, InputStream)
verifyStream(InputStream, InputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyWithoutExtracting(InputStream, InputStream) instead
verifyStream(InputStream, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyAndExtract(InputStream, InputStream, OutputStream) instead
verifyStream(InputStream, KeyStore, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyAndExtract(InputStream, KeyStore, OutputStream) instead
verifyString(String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyAndExtract(String, String, StringBuffer) instead
verifyString(String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Deprecated. Due to misleading return value. Please use PGPLib.verifyAndExtract(String, String, StringBuffer, String) instead
verifyWithoutExtracting(InputStream, InputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies an incoming stream as being correctly OpenPGP signed without extracting its data

Example:
verifyWithoutExtracting(InputStream, InputStream, String, InputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data

Example:
verifyWithoutExtracting(InputStream, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data

Example:
verifyWithoutExtracting(InputStream, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies an incoming stream as being correctly OpenPGP signed without extracting its data

Example:
verifyWithoutExtracting(String, String, String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed only message without extracting its data

verifyWithoutExtracting(String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed only message without extracting its data

verifyWithoutExtracting(String, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyWithoutExtracting(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message and extracts the contents

verifyWithoutExtracting(File, File) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed without extracting its data

Example:
verifyWithoutExtracting(File, File, String, File) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data

Example:
verifyWithoutExtracting(File, KeyStore) - Method in class com.didisoft.pgp.PGPLib
Verifies a file for being correctly OpenPGP signed without extracting its data

Example:
verifyWithoutExtracting(File, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the signature of an OpenPGP signed and encrypted file, without extracting its data

Example:

W

WrongPasswordException - Exception in com.didisoft.pgp.exceptions
This exception indicates that we have supplied a wrong password for an OpenPGP private key.
WrongPasswordException(String) - Constructor for exception com.didisoft.pgp.exceptions.WrongPasswordException
 
WrongPasswordException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.WrongPasswordException
 
WrongPrivateKeyException - Exception in com.didisoft.pgp.exceptions
This exception indicates that we have supplied a wrong decryption private key for an OpenPGP archive.
WrongPrivateKeyException(String) - Constructor for exception com.didisoft.pgp.exceptions.WrongPrivateKeyException
 
WrongPrivateKeyException(String, Exception) - Constructor for exception com.didisoft.pgp.exceptions.WrongPrivateKeyException
 

Z

ZIP - Static variable in interface com.didisoft.pgp.CompressionAlgorithm
 
ZLIB - Static variable in interface com.didisoft.pgp.CompressionAlgorithm
 

A B C D E F G H I K L M N O P R S T U V W Z

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