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

A

addCertification(long, long, String, String) - Method in class com.didisoft.pgp.KeyStore
Appends certification to a given OpenPGP key in the key store.
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.

C

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.
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:
clearSignFile(String, String, String, HashAlgorithm, String) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a file.
clearSignFileVersion3(String, String, String, HashAlgorithm, 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, HashAlgorithm) - Method in class com.didisoft.pgp.PGPLib
OpenPGP clear signs a String

Example usage:

clearSignStringVersion3(String, String, String, HashAlgorithm) - 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 Android
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 - Enum in com.didisoft.pgp
Enumeration that lists the supported compression algorithms for OpenPGP encryption.
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:
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 - Enum in com.didisoft.pgp
Enumeration that lists the supported symmetric encryption algorithms used in the library.

D

decryptAndVerifyFile(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).
decryptAndVerifyFile(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).
decryptAndVerifyFileTo(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).
decryptAndVerifyFileTo(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.
decryptAndVerifyStream(InputStream, KeyStore, String, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerifyStream(InputStream, InputStream, String, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerifyStreamTo(InputStream, InputStream, String, InputStream, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerifyStreamTo(InputStream, KeyStore, String, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies OpenPGP encrypted and signed stream.
decryptAndVerifyString(String, String, String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP one pass signed end encrypted message.
decryptAndVerifyString(String, String, String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Decrypts and verifies an OpenPGP one pass signed end encrypted message.
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 Private key input stream.
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.
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.
DetachedSignatureException - Class in com.didisoft.pgp.exceptions
Internal exception indicating that an OpenPGP file contains detached signature
DetachedSignatureException(String) - Constructor for class com.didisoft.pgp.exceptions.DetachedSignatureException
 
DetachedSignatureException(String, Exception) - Constructor for class 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 data stream contents.
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.
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

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

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(CompressionAlgorithm) 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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)

Example usage:

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(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(CompressionAlgorithm) 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(CompressionAlgorithm) 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(CompressionAlgorithm) 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(CompressionAlgorithm) 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(CompressionAlgorithm) if supported by the public key, otherwise the first supported by the key algorithm is used.
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.

F

FileIsEncryptedException - Class in com.didisoft.pgp.exceptions
Exception that indicates that a file is encrypted.
FileIsEncryptedException(String) - Constructor for class com.didisoft.pgp.exceptions.FileIsEncryptedException
 
FileIsEncryptedException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.FileIsEncryptedException
 
FileIsPBEEncryptedException - Class in com.didisoft.pgp.exceptions
Exception that indicates that a file is encrypted with a password (PBE, password based encryption).
FileIsPBEEncryptedException(String) - Constructor for class com.didisoft.pgp.exceptions.FileIsPBEEncryptedException
 
FileIsPBEEncryptedException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.FileIsPBEEncryptedException
 

G

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, KeyAlgorithm, String, CompressionAlgorithm[], HashAlgorithm[], CypherAlgorithm[]) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP key pair (public and private key).
generateKeyPair(int, String, KeyAlgorithm, String, CompressionAlgorithm[], HashAlgorithm[], CypherAlgorithm[], long) - Method in class com.didisoft.pgp.KeyStore
Generates OpenPGP Key pair (public and private key).
generateKeyPair(int, String, KeyAlgorithm, String, CompressionAlgorithm[], HashAlgorithm[], CypherAlgorithm[], long) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates an OpenPGP key pair (public and private key).
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
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
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.
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.LDAPClient
Tries to retrieve a key from an LDAP server searching by hexadecimal Key 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.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.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.
getKeys() - Method in class com.didisoft.pgp.KeyStore
Returns the key pairs stored in this OpenPGP key store.
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
getModificationDate() - Method in class com.didisoft.pgp.inspect.ContentItem
Modification date as stored in the OpenPGP archive
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
getTrust() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the trust data assigned to 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.
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 - Enum in com.didisoft.pgp
Enumeration that lists the supported hashing algorithms used in the library.
hasPrivateKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is there a private key in this key pair.

I

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(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(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.
importPublickKey(String) - Method in class com.didisoft.pgp.KeyStore
Deprecated. Replaced by KeyStore.importPublicKey(String)
IntegrityCheckException - Class in com.didisoft.pgp.exceptions
Exception that indicates that the data is corrupted.
IntegrityCheckException(String) - Constructor for class 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.
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
isInMemory() - Method in class com.didisoft.pgp.KeyStore
Indicates is this KeyStore instance stored in-memory
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.
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.
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

K

KeyAlgorithm - Enum in com.didisoft.pgp
Interface that lists the supported asymmetric algorithms for OpenPGP keys.
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.
KeyIsExpiredException - Class in com.didisoft.pgp.exceptions
Exception that indicates that a supplied key is expired.
KeyIsExpiredException(String) - Constructor for class com.didisoft.pgp.exceptions.KeyIsExpiredException
 
KeyIsExpiredException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.KeyIsExpiredException
 
KeyIsRevokedException - Class in com.didisoft.pgp.exceptions
Exception that indicates that a supplied key is revoked.
KeyIsRevokedException(String) - Constructor for class com.didisoft.pgp.exceptions.KeyIsRevokedException
 
KeyIsRevokedException(String, Exception) - Constructor for class 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.

L

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

Requires: unboundid-ldapsdk-se.jar (can be obtained from : https://www.unboundid.com/products/ldapsdk/)

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
 
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:
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 encrypted a given OpenPGP archive
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

N

NONE - Static variable in interface com.didisoft.pgp.TrustLevel
Not trusted or not verified yet
NonPGPDataException - Class in com.didisoft.pgp.exceptions
Exception that indicates that a supplied data is not a valid OpenPGP message.
NonPGPDataException(String) - Constructor for class com.didisoft.pgp.exceptions.NonPGPDataException
 
NonPGPDataException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.NonPGPDataException
 
NoPrivateKeyFoundException - Class 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 class com.didisoft.pgp.exceptions.NoPrivateKeyFoundException
 
NoPrivateKeyFoundException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.NoPrivateKeyFoundException
 
NoPublicKeyFoundException - Class 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 class com.didisoft.pgp.exceptions.NoPublicKeyFoundException
 
NoPublicKeyFoundException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.NoPublicKeyFoundException
 

P

PGPException - Class in com.didisoft.pgp
Exception indicating that an OpenPGP encryption error has occurred
PGPException(String) - Constructor for class com.didisoft.pgp.PGPException
Constructs the exception from a string message
PGPException(String, Exception) - Constructor for class 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 Android.
PGPLib() - Constructor for class com.didisoft.pgp.PGPLib
The default constructor of the library.

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
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
RSA - Static variable in class com.didisoft.pgp.KeyStore
RSA Algorithm constant

S

save() - Method in class com.didisoft.pgp.KeyStore
Saves the backing file of this KeyStore instance to disk.
saveToStream(OutputStream) - Method in class com.didisoft.pgp.KeyStore
Saves the key store data to a stream
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.
setCompression(CompressionAlgorithm) - 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.)
setCypher(CypherAlgorithm) - 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.)
setFiles(List) - Method in class com.didisoft.pgp.PGPFileInformation
 
setHash(HashAlgorithm) - 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)
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.
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
setUseRevokedKeys(boolean) - Method in class com.didisoft.pgp.PGPLib
Sets should revoked keys still be used
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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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.
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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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(CompressionAlgorithm)
Symmetric cipher algorithm used is the one specified with PGPLib.setCypher(CypherAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

Example:
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(CompressionAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

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(CompressionAlgorithm)
Hashing algorithm used is the one specified with PGPLib.setHash(HashAlgorithm)

Example:

T

TRUSTED - Static variable in interface com.didisoft.pgp.TrustLevel
Maximum trust
TrustLevel - Interface in com.didisoft.pgp
Holds common trust values

V

valueOf(String) - Static method in enum com.didisoft.pgp.CompressionAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.CypherAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.HashAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.didisoft.pgp.KeyAlgorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.didisoft.pgp.CompressionAlgorithm
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
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
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
Returns an array containing the constants of this enum type, in the order they are declared.
verifyFile(String, String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the incoming file as being correctly signed.
verifyFile(String, KeyStore, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the incoming file as being correctly signed.
verifyFile(String, String) - Method in class com.didisoft.pgp.PGPLib
Verifies the incoming file as being correctly signed.
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
Verifies the incoming stream as being correctly signed.
verifyStream(InputStream, InputStream, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies the incoming stream as being correctly signed.
verifyStream(InputStream, KeyStore, OutputStream) - Method in class com.didisoft.pgp.PGPLib
Verifies the incoming stream as being correctly signed.
verifyString(String, String, StringBuffer) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message.
verifyString(String, String, StringBuffer, String) - Method in class com.didisoft.pgp.PGPLib
Verifies an OpenPGP signed only message.

W

WrongPasswordException - Class in com.didisoft.pgp.exceptions
This exception indicates that we have supplied a wrong password for an OpenPGP private key.
WrongPasswordException(String) - Constructor for class com.didisoft.pgp.exceptions.WrongPasswordException
 
WrongPasswordException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.WrongPasswordException
 
WrongPrivateKeyException - Class 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 class com.didisoft.pgp.exceptions.WrongPrivateKeyException
 
WrongPrivateKeyException(String, Exception) - Constructor for class com.didisoft.pgp.exceptions.WrongPrivateKeyException
 

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

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