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.
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.
available() - Method in class org.apache.tools.tar.TarInputStream
Get the available data that can be read from the current entry in the archive.

B

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).
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.
CHKSUMLEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the checksum field in a header buffer.
CLASS_DEFAULT - Static variable in class com.didisoft.pgp.bc.RevocationKey
 
CLASS_SENSITIVE - Static variable in class com.didisoft.pgp.bc.RevocationKey
 
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.
close() - Method in class org.apache.tools.tar.TarBuffer
Close the TarBuffer.
close() - Method in class org.apache.tools.tar.TarInputStream
Closes this stream.
close() - Method in class org.apache.tools.tar.TarOutputStream
Ends the TAR archive and closes the underlying OutputStream.
closeEntry() - Method in class org.apache.tools.tar.TarOutputStream
Close an entry.
com.didisoft.pgp - package com.didisoft.pgp
Provides easy OpenPGP API for Java Developers.
com.didisoft.pgp.bc - package com.didisoft.pgp.bc
Internal classes extending BouncyCastle API
com.didisoft.pgp.exceptions - package com.didisoft.pgp.exceptions
Detailed OpenPGP exceptions extending BouncyCastle PGPException
CompressionAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported compression algorithms for OpenPGP encryption.
computeCheckSum(byte[]) - Static method in class org.apache.tools.tar.TarUtils
Compute the checksum of a tar entry header.
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:
copyEntryContents(OutputStream) - Method in class org.apache.tools.tar.TarInputStream
Copies the contents of the current tar archive entry directly into an output stream.
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.

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 2.x systems).
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 2.x systems).
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.
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.
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.
DEFAULT_BLKSIZE - Static variable in class org.apache.tools.tar.TarBuffer
Default block size
DEFAULT_DIR_MODE - Static variable in class org.apache.tools.tar.TarEntry
Default permissions bits for directories
DEFAULT_FILE_MODE - Static variable in class org.apache.tools.tar.TarEntry
Default permissions bits for files
DEFAULT_RCDSIZE - Static variable in class org.apache.tools.tar.TarBuffer
Default record size
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.
DES - Static variable in interface com.didisoft.pgp.CypherAlgorithm
DES
DEVLEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the devices field in a header buffer.
DSA - Static variable in class com.didisoft.pgp.KeyStore
DSA Algorithm constant, implementation of DH/DSS (signature)

E

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 corressponding private key is lost.
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, 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, 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 stream using the first available public key from a key 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 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.
equals(TarEntry) - Method in class org.apache.tools.tar.TarEntry
Determine if the two entries are equal.
equals(Object) - Method in class org.apache.tools.tar.TarEntry
Determine if the two entries are equal.
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.
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(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 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.
extractAll(String) - Method in class org.apache.tools.tar.TarInputStream
 

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
 
finish() - Method in class org.apache.tools.tar.TarOutputStream
Ends the TAR archive without closing the underlying OutputStream.

G

generate() - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
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) - 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, String, String, String, String[], String[], String[], long) - Static method in class com.didisoft.pgp.PGPKeyPair
Generates OpenPGP Key pair (public and private key).
getAction() - Method in class com.didisoft.pgp.PGPFileInformation
 
getAlgorithm() - Method in class com.didisoft.pgp.bc.RevocationKey
 
getAlgorithm() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the name of the key encryption asymmetric algorithm.
getBlockSize() - Method in class org.apache.tools.tar.TarBuffer
Get the TAR Buffer's block size.
getCheckSumOctalBytes(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Parse the checksum octal integer from a header buffer.
getCheckSumOctalBytesUnix(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
 
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.
getCurrentBlockNum() - Method in class org.apache.tools.tar.TarBuffer
Get the current block number, zero based.
getCurrentRecordNum() - Method in class org.apache.tools.tar.TarBuffer
Get the current record number, within the current block, zero based.
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
getDirectoryEntries() - Method in class org.apache.tools.tar.TarEntry
If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children.
getFile() - Method in class org.apache.tools.tar.TarEntry
Get this entry's file.
getFiles() - Method in class com.didisoft.pgp.PGPFileInformation
 
getFingerprint() - Method in class com.didisoft.pgp.bc.RevocationKey
 
getFingerprint() - Method in class com.didisoft.pgp.KeyPairInformation
Returns the key fingerprint as string.
getGroupId() - Method in class org.apache.tools.tar.TarEntry
Get this entry's group id.
getGroupName() - Method in class org.apache.tools.tar.TarEntry
Get this entry's group name.
getHash() - Method in class com.didisoft.pgp.PGPLib
Returns the preferred hashing algorithm used by all methods that produce OpenPGP signature (all Sign and SignAndEncrypt methods)
Default is SHA1
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.
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.
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.
getLinkName() - Method in class org.apache.tools.tar.TarEntry
Get this entry's link name.
getLongOctalBytes(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Parse an octal long integer from a header buffer.
getLongOctalBytesUnix(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
 
getMode() - Method in class org.apache.tools.tar.TarEntry
Get this entry's mode.
getModTime() - Method in class org.apache.tools.tar.TarEntry
Set this entry's modification time.
getName() - Method in class org.apache.tools.tar.TarEntry
Get this entry's name.
getNameBytes(StringBuffer, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Determine the number of bytes in an entry name.
getNextEntry() - Method in class org.apache.tools.tar.TarInputStream
Get the next entry in this tar archive.
getOctalBytes(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Parse an octal integer from a header buffer.
getOctalBytesUnix(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
 
getOctalCHKSumUnix(long, byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
 
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
getRecordSize() - Method in class org.apache.tools.tar.TarBuffer
Get the TAR Buffer's record size.
getRecordSize() - Method in class org.apache.tools.tar.TarInputStream
Get the record size being used by this stream's TarBuffer.
getRecordSize() - Method in class org.apache.tools.tar.TarOutputStream
Get the record size being used by this stream's TarBuffer.
getRevocationDescription() - Method in class com.didisoft.pgp.bc.RevocationReason
 
getRevocationReason() - Method in class com.didisoft.pgp.bc.RevocationReason
 
getSignatureClass() - Method in class com.didisoft.pgp.bc.RevocationKey
 
getSize() - Method in class org.apache.tools.tar.TarEntry
Get this entry's file size.
getUserId() - Method in class org.apache.tools.tar.TarEntry
Get this entry's user id.
getUserIDs() - Method in class com.didisoft.pgp.KeyPairInformation
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.
getUserName() - Method in class org.apache.tools.tar.TarEntry
Get this entry's user name.
getValidDays() - Method in class com.didisoft.pgp.KeyPairInformation
Returns key validity period in days.
getVersion() - Method in class com.didisoft.pgp.KeyPairInformation
Returns key format OpenPGP version.
GIDLEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the group id field in a header buffer.
GNAMELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the group name field in a header buffer.
GNU_LONGLINK - Static variable in interface org.apache.tools.tar.TarConstants
The namr of the GNU tar entry which contains a long name.
GNU_TMAGIC - Static variable in interface org.apache.tools.tar.TarConstants
The magic tag representing a GNU tar archive.

H

HashAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported hashing algorithms used in the library.
hashCode() - Method in class org.apache.tools.tar.TarEntry
Hashcodes are based on entry names.

I

IDEA - Static variable in interface com.didisoft.pgp.CypherAlgorithm
IDEA.
importKeyRing(String) - Method in class com.didisoft.pgp.KeyStore
Imports OpenPGP key ring into this KeyStore 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.
importPublicKey(String) - Method in class com.didisoft.pgp.KeyStore
Imports Public key into this KeyStore instance.
importPublickKey(String) - Method in class com.didisoft.pgp.KeyStore
Deprecated. Replaced by KeyStore.importPublicKey(String)
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.
isDescendent(TarEntry) - Method in class org.apache.tools.tar.TarEntry
Determine if the given entry is a descendant of this entry.
isDirectory() - Method in class org.apache.tools.tar.TarEntry
Return whether or not this entry represents a directory.
isEncryptionKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns true if this key can be used for encryption, otherwise false
isEOFRecord(byte[]) - Method in class org.apache.tools.tar.TarBuffer
Determine if an archive record indicate End of Archive.
isGNULongNameEntry() - Method in class org.apache.tools.tar.TarEntry
Indicate if this entry is a GNU long name block
isRevoked() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is this Key revoked (not usable any more).
isSigningKey() - Method in class com.didisoft.pgp.KeyPairInformation
Returns is this Key used for signing data.

K

KeyAlgorithm - Interface in com.didisoft.pgp
Interface that lists the supported asymmetric algorithms for OpenPGP keys.
KeyPairInformation - Class in com.didisoft.pgp
Represents an OpenPGP key pair.
KeyPairInformation() - Constructor for class com.didisoft.pgp.KeyPairInformation
 
KeyStore - Class in com.didisoft.pgp
Represents an OpenPGP Key Store.
KeyStore(String, String) - Constructor for class com.didisoft.pgp.KeyStore
Creates a new Key Store object.

L

LF_BLK - Static variable in interface org.apache.tools.tar.TarConstants
Block device file type.
LF_CHR - Static variable in interface org.apache.tools.tar.TarConstants
Character device file type.
LF_CONTIG - Static variable in interface org.apache.tools.tar.TarConstants
Contiguous file type.
LF_DIR - Static variable in interface org.apache.tools.tar.TarConstants
Directory file type.
LF_FIFO - Static variable in interface org.apache.tools.tar.TarConstants
FIFO (pipe) file type.
LF_GNUTYPE_LONGNAME - Static variable in interface org.apache.tools.tar.TarConstants
Identifies the *next* file on the tape as having a long name.
LF_LINK - Static variable in interface org.apache.tools.tar.TarConstants
Link file type.
LF_NORMAL - Static variable in interface org.apache.tools.tar.TarConstants
Normal file type.
LF_OLDNORM - Static variable in interface org.apache.tools.tar.TarConstants
LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
LF_SYMLINK - Static variable in interface org.apache.tools.tar.TarConstants
Symbolic link file type.
listKeys() - Method in class com.didisoft.pgp.KeyStore
Lists keys stored in this OpenPGP key store to Stestem.out like PGP (r) 6.5

Example:
LONGFILE_ERROR - Static variable in class org.apache.tools.tar.TarOutputStream
Fail if a long file name is required in the archive.
LONGFILE_GNU - Static variable in class org.apache.tools.tar.TarOutputStream
GNU tar extensions are used to store long file names in the archive.
LONGFILE_TRUNCATE - Static variable in class org.apache.tools.tar.TarOutputStream
Long paths will be truncated in the archive.

M

MAGICLEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the magic field in a header buffer.
mark(int) - Method in class org.apache.tools.tar.TarInputStream
Since we do not support marking just yet, we do nothing.
markSupported() - Method in class org.apache.tools.tar.TarInputStream
Since we do not support marking just yet, we return false.
MAX_NAMELEN - Static variable in class org.apache.tools.tar.TarEntry
Maximum length of a user's name in the tar file
MAXSIZE - Static variable in interface org.apache.tools.tar.TarConstants
The maximum size of a file in a tar archive (That's 11 sevens, octal).
MD2 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Message Digest 2
MD5 - Static variable in interface com.didisoft.pgp.HashAlgorithm
Message Digest 5
MILLIS_PER_SECOND - Static variable in class org.apache.tools.tar.TarEntry
Convert millis to seconds
MODELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the mode field in a header buffer.
MODTIMELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the modification time field in a header buffer.

N

NAMELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the name field in a header buffer.
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
 

O

org.apache.tools.tar - package org.apache.tools.tar
TAR infrastructure internal classes

P

parseName(byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Parse an entry name from a header buffer.
parseOctal(byte[], int, int) - Static method in class org.apache.tools.tar.TarUtils
Parse an octal string from a header buffer.
parseTarHeader(byte[]) - Method in class org.apache.tools.tar.TarEntry
Parse an entry's header information from a header buffer.
PGPFileInformation - Class in com.didisoft.pgp
Reserved for future releases.
PGPFileInformation() - Constructor for class com.didisoft.pgp.PGPFileInformation
 
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
 
PGPSignatureSubpacketGeneratorExtended - Class in com.didisoft.pgp.bc
Internal class that extends PGPSignatureSubpacketGenerator.
PGPSignatureSubpacketGeneratorExtended() - Constructor for class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
putNextEntry(TarEntry) - Method in class org.apache.tools.tar.TarOutputStream
Put an entry on the output stream.

R

read() - Method in class org.apache.tools.tar.TarInputStream
Reads a byte from the current tar archive entry.
read(byte[], int, int) - Method in class org.apache.tools.tar.TarInputStream
Reads bytes from the current tar archive entry.
readRecord() - Method in class org.apache.tools.tar.TarBuffer
Read a record from the input stream and return the data.
REASON_KEY_COMPROMISED - Static variable in class com.didisoft.pgp.bc.RevocationReason
Revocation code: Key has been compromised
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.bc.RevocationReason
Revocation code: Key is no longer used
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.bc.RevocationReason
Revocation code: Key is superseded
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.bc.RevocationReason
Revocation code: No reason specified
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.bc.RevocationReason
Revocation code: User Id is no longer used
REASON_USER_NO_LONGER_USED - Static variable in class com.didisoft.pgp.RevocationLib
Revocation code: User Id is no longer used
reset() - Method in class org.apache.tools.tar.TarInputStream
Since we do not support marking just yet, we do nothing.
RevocationKey - Class in com.didisoft.pgp.bc
Represents revocation key OpenPGP signature sub packet.
RevocationKey(boolean, byte[]) - Constructor for class com.didisoft.pgp.bc.RevocationKey
 
RevocationKey(boolean, byte, byte, byte[]) - Constructor for class com.didisoft.pgp.bc.RevocationKey
 
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.
RevocationReason - Class in com.didisoft.pgp.bc
Represents revocation reason OpenPGP signature sub packet.
RevocationReason(boolean, byte[]) - Constructor for class com.didisoft.pgp.bc.RevocationReason
 
RevocationReason(boolean, byte, String) - Constructor for class com.didisoft.pgp.bc.RevocationReason
 
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.
setAction(int) - Method in class com.didisoft.pgp.PGPFileInformation
 
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.
setBufferDebug(boolean) - Method in class org.apache.tools.tar.TarOutputStream
Sets the debugging flag in this stream's TarBuffer.
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.)
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.)
setDebug(boolean) - Method in class org.apache.tools.tar.TarBuffer
Set the debugging flag for the buffer.
setDebug(boolean) - Method in class org.apache.tools.tar.TarInputStream
Sets the debugging flag.
setDebug(boolean) - Method in class org.apache.tools.tar.TarOutputStream
Sets the debugging flag.
setEmbeddedSignature(boolean, PGPSignature) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setExportable(boolean, boolean) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setFiles(List) - Method in class com.didisoft.pgp.PGPFileInformation
 
setGroupId(int) - Method in class org.apache.tools.tar.TarEntry
Set this entry's group id.
setGroupName(String) - Method in class org.apache.tools.tar.TarEntry
Set this entry's group name.
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)
setIds(int, int) - Method in class org.apache.tools.tar.TarEntry
Convenience method to set this entry's group and user ids.
setIssuerKeyID(boolean, long) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Sets issuer key sub packet
setKeyExpirationTime(boolean, long) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Set the number of seconds a key is valid for after the time of its creation.
setKeyFlags(boolean, int) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setLongFileMode(int) - Method in class org.apache.tools.tar.TarOutputStream
Set the long file mode.
setMode(int) - Method in class org.apache.tools.tar.TarEntry
Set the mode for this entry
setModTime(long) - Method in class org.apache.tools.tar.TarEntry
Set this entry's modification time.
setModTime(Date) - Method in class org.apache.tools.tar.TarEntry
Set this entry's modification time.
setName(String) - Method in class org.apache.tools.tar.TarEntry
Set this entry's name.
setNames(String, String) - Method in class org.apache.tools.tar.TarEntry
Convenience method to set this entry's group and user names.
setNotationData(boolean, boolean, String, String) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setPreferredCompressionAlgorithms(boolean, int[]) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setPreferredHashAlgorithms(boolean, int[]) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setPreferredSymmetricAlgorithms(boolean, int[]) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setPrimaryUserID(boolean, boolean) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
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.
setRevocable(boolean, boolean) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setRevocationKey(boolean, byte, byte[]) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Sets revocation key sub packet
setRevocationReason(boolean, byte, String) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Sets revocation reason sub packet
setSignatureCreationTime(boolean, Date) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Set the creation time for the signature.
setSignatureExpirationTime(boolean, long) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Set the number of seconds a signature is valid for after the time of its creation.
setSignerUserID(boolean, String) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
 
setSize(long) - Method in class org.apache.tools.tar.TarEntry
Set this entry's file size.
setTrust(boolean, int, int) - Method in class com.didisoft.pgp.bc.PGPSignatureSubpacketGeneratorExtended
Add a TrustSignature packet to the signature.
setUserId(int) - Method in class org.apache.tools.tar.TarEntry
Set this entry's user id.
setUserName(String) - Method in class org.apache.tools.tar.TarEntry
Set this entry's user name.
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, 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, 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, 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:
signAndEncryptStream(InputStream, String, InputStream, String, InputStream, 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.
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:
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, String, String, String, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs file.
signFile(String, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs 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.
signStream(InputStream, String, InputStream, String, OutputStream, boolean) - Method in class com.didisoft.pgp.PGPLib
OpenPGP signs 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 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:
SIZELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the size field in a header buffer.
skip(long) - Method in class org.apache.tools.tar.TarInputStream
Skip bytes in the input buffer.
skipRecord() - Method in class org.apache.tools.tar.TarBuffer
Skip over a record on the input stream.

T

TarBuffer - Class in org.apache.tools.tar
The TarBuffer class implements the tar archive concept of a buffered input stream.
TarBuffer(InputStream) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an input stream.
TarBuffer(InputStream, int) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an input stream.
TarBuffer(InputStream, int, int) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an input stream.
TarBuffer(OutputStream) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an output stream.
TarBuffer(OutputStream, int) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an output stream.
TarBuffer(OutputStream, int, int) - Constructor for class org.apache.tools.tar.TarBuffer
Constructor for a TarBuffer on an output stream.
TarConstants - Interface in org.apache.tools.tar
This interface contains all the definitions used in the package.
TarEntry - Class in org.apache.tools.tar
This class represents an entry in a Tar archive.
TarEntry(String) - Constructor for class org.apache.tools.tar.TarEntry
Construct an entry with only a name.
TarEntry(String, boolean) - Constructor for class org.apache.tools.tar.TarEntry
Construct an entry with only a name.
TarEntry(String, String) - Constructor for class org.apache.tools.tar.TarEntry
 
TarEntry(String, byte) - Constructor for class org.apache.tools.tar.TarEntry
Construct an entry with a name and a link flag.
TarEntry(File) - Constructor for class org.apache.tools.tar.TarEntry
 
TarEntry(File, String) - Constructor for class org.apache.tools.tar.TarEntry
Construct an entry for a file.
TarEntry(byte[]) - Constructor for class org.apache.tools.tar.TarEntry
Construct an entry from an archive's header bytes.
TarInputStream - Class in org.apache.tools.tar
The TarInputStream reads a UNIX tar archive as an InputStream.
TarInputStream(InputStream) - Constructor for class org.apache.tools.tar.TarInputStream
Constructor for TarInputStream.
TarInputStream(InputStream, int) - Constructor for class org.apache.tools.tar.TarInputStream
Constructor for TarInputStream.
TarInputStream(InputStream, int, int) - Constructor for class org.apache.tools.tar.TarInputStream
Constructor for TarInputStream.
TarOutputStream - Class in org.apache.tools.tar
The TarOutputStream writes a UNIX tar archive as an OutputStream.
TarOutputStream(OutputStream) - Constructor for class org.apache.tools.tar.TarOutputStream
Constructor for TarInputStream.
TarOutputStream(OutputStream, int) - Constructor for class org.apache.tools.tar.TarOutputStream
Constructor for TarInputStream.
TarOutputStream(OutputStream, int, int) - Constructor for class org.apache.tools.tar.TarOutputStream
Constructor for TarInputStream.
TarUtils - Class in org.apache.tools.tar
This class provides static utility methods to work with byte streams.
TarUtils() - Constructor for class org.apache.tools.tar.TarUtils
 
TMAGIC - Static variable in interface org.apache.tools.tar.TarConstants
The magic tag representing a POSIX tar archive.
TRIPLE_DES - Static variable in interface com.didisoft.pgp.CypherAlgorithm
Triple DES.
TWOFISH - Static variable in interface com.didisoft.pgp.CypherAlgorithm
Twofish.

U

UIDLEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the user id field in a header buffer.
UNAMELEN - Static variable in interface org.apache.tools.tar.TarConstants
The length of the user name field in a header buffer.
UNCOMPRESSED - Static variable in interface com.didisoft.pgp.CompressionAlgorithm
Data is not compressed

V

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.

W

write(int) - Method in class org.apache.tools.tar.TarOutputStream
Writes a byte to the current tar archive entry.
write(byte[]) - Method in class org.apache.tools.tar.TarOutputStream
Writes bytes to the current tar archive entry.
write(byte[], int, int) - Method in class org.apache.tools.tar.TarOutputStream
Writes bytes to the current tar archive entry.
writeEntryHeader(byte[]) - Method in class org.apache.tools.tar.TarEntry
Write an entry's header information to a header buffer.
writeFileEntry(TarEntry) - Method in class org.apache.tools.tar.TarOutputStream
 
writeFileEntry(TarEntry, String) - Method in class org.apache.tools.tar.TarOutputStream
 
writeRecord(byte[]) - Method in class org.apache.tools.tar.TarBuffer
Write an archive record to the archive.
writeRecord(byte[], int) - Method in class org.apache.tools.tar.TarBuffer
Write an archive record to the archive, where the record may be inside of a larger array buffer.
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
 

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-2010 DidiSoft Eood All Rights Reserved.