Alphabetical Index

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

A

Add a revocation or some other key certification to a key.
Add a certification to the given public key.
addMethod(char[]) - method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Add a PBE encryption method to the encrypted object.
Add a public key encrypted session key to the encrypted object.
Return a new collection object containing the contents of the passed in collection and the passed in public key ring.
Return a new collection object containing the contents of the passed in collection and the passed in secret key ring.
addSubKey(org.bouncycastle.openpgp.PGPKeyPair) - method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
Add a sub key to the key ring to be generated with default certification.
AES_128 - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
AES_192 - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
AES_256 - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
ArmoredInputStream - class org.bouncycastle.bcpg.ArmoredInputStream
reader for Base64 armored objects - read the headers and then start returning bytes when the data is reached.
ArmoredInputStream(InputStream) - constructor for class org.bouncycastle.bcpg.ArmoredInputStream
Create a stream for reading a PGP armoured message, parsing up to a header and then reading the data that follows.
ArmoredInputStream(InputStream,boolean) - constructor for class org.bouncycastle.bcpg.ArmoredInputStream
Create an armoured input stream which will assume the data starts straight away, or parse for headers first depending on the value of hasHeaders.
ArmoredOutputStream - class org.bouncycastle.bcpg.ArmoredOutputStream
Basic output stream.
ArmoredOutputStream(OutputStream) - constructor for class org.bouncycastle.bcpg.ArmoredOutputStream
available() - method in class org.bouncycastle.bcpg.ArmoredInputStream
available() - method in class org.bouncycastle.bcpg.BCPGInputStream
available() - method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
available() - method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream

B

BCPGInputStream - class org.bouncycastle.bcpg.BCPGInputStream
reader for PGP objects
BCPGInputStream(InputStream) - constructor for class org.bouncycastle.bcpg.BCPGInputStream
BCPGKey - interface org.bouncycastle.bcpg.BCPGKey
base interface for a PGP key
BCPGObject - class org.bouncycastle.bcpg.BCPGObject
base class for a PGP object.
BCPGOutputStream - class org.bouncycastle.bcpg.BCPGOutputStream
Basic output stream.
BCPGOutputStream(OutputStream) - constructor for class org.bouncycastle.bcpg.BCPGOutputStream
BCPGOutputStream(OutputStream,int) - constructor for class org.bouncycastle.bcpg.BCPGOutputStream
Create a stream representing an old style partial object.
BCPGOutputStream(OutputStream,int,byte[]) - constructor for class org.bouncycastle.bcpg.BCPGOutputStream
Create a new style partial input stream buffered into chunks.
BCPGOutputStream(OutputStream,int,long) - constructor for class org.bouncycastle.bcpg.BCPGOutputStream
BCPGOutputStream(OutputStream,int,long,boolean) - constructor for class org.bouncycastle.bcpg.BCPGOutputStream
Create a stream representing a general packet.
beginClearText(int) - method in class org.bouncycastle.bcpg.ArmoredOutputStream
Start a clear text signed message.
BINARY - static field in class org.bouncycastle.openpgp.PGPLiteralData
BINARY - static field in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
BINARY_DOCUMENT - static field in class org.bouncycastle.openpgp.PGPSignature
BLOWFISH - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
ByteArrayHandler - class org.bouncycastle.openpgp.examples.ByteArrayHandler
Simple routine to encrypt and decrypt using a passphrase.

C

CAN_CERTIFY - static field in class org.bouncycastle.openpgp.PGPKeyFlags
CAN_ENCRYPT_COMMS - static field in class org.bouncycastle.openpgp.PGPKeyFlags
CAN_ENCRYPT_STORAGE - static field in class org.bouncycastle.openpgp.PGPKeyFlags
CAN_SIGN - static field in class org.bouncycastle.openpgp.PGPKeyFlags
CANONICAL_TEXT_DOCUMENT - static field in class org.bouncycastle.openpgp.PGPSignature
CAST5 - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
CASUAL_CERTIFICATION - static field in class org.bouncycastle.openpgp.PGPSignature
CERTIFICATION_REVOCATION - static field in class org.bouncycastle.openpgp.PGPSignature
ClearSignedFileProcessor - class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
A simple utility class that creates clear signed files and verifies them.
close() - method in class org.bouncycastle.bcpg.ArmoredOutputStream
Note: close does nor close the underlying stream.
close() - method in class org.bouncycastle.bcpg.BCPGOutputStream
close() - method in class org.bouncycastle.bcpg.OutputStreamPacket
close() - method in class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Close the compressed object.
close() - method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Close off the encrypted object.
close() - method in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Close the literal data packet.
COMPRESSED_DATA - static field in class org.bouncycastle.bcpg.PacketTags
CompressedDataPacket - class org.bouncycastle.bcpg.CompressedDataPacket
generic compressed data object.
CompressionAlgorithmTags - interface org.bouncycastle.bcpg.CompressionAlgorithmTags
Basic tags for compression algorithms
CONSOLE - static field in class org.bouncycastle.openpgp.PGPLiteralData
The special name indicating a "for your eyes only" packet.
CONSOLE - static field in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
The special name indicating a "for your eyes only" packet.
ContainedPacket - class org.bouncycastle.bcpg.ContainedPacket
Basic type for a PGP packet.
Return a copy of the passed in secret key, encrypted using a new password and the passed in algorithm.
CRC24 - class org.bouncycastle.bcpg.CRC24
CRC24() - constructor for class org.bouncycastle.bcpg.CRC24
CREATION_TIME - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags

D

data - field in class org.bouncycastle.bcpg.SignatureSubpacket
data - field in class org.bouncycastle.bcpg.UserAttributeSubpacket
decrypt(byte[],char[]) - static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
decrypt the passed in message stream
DEFAULT_CERTIFICATION - static field in class org.bouncycastle.openpgp.PGPSignature
DES - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
DetachedSignatureProcessor - class org.bouncycastle.openpgp.examples.DetachedSignatureProcessor
A simple utility class that creates seperate signatures for files and verifies them.
DIFFIE_HELLMAN - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
DIRECT_KEY - static field in class org.bouncycastle.openpgp.PGPSignature
DOUBLE_SHA - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
DSA - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
DSAElGamalKeyRingGenerator - class org.bouncycastle.openpgp.examples.DSAElGamalKeyRingGenerator
A simple utility class that generates a public/secret keyring containing a DSA signing key and an El Gamal key for encryption.
DSAPublicBCPGKey - class org.bouncycastle.bcpg.DSAPublicBCPGKey
base class for an DSA Public Key.
DSASecretBCPGKey - class org.bouncycastle.bcpg.DSASecretBCPGKey
base class for an DSA Public Key.
DSASecretBCPGKey(BigInteger) - constructor for class org.bouncycastle.bcpg.DSASecretBCPGKey

E

EC - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
ECDSA - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
ELGAMAL_ENCRYPT - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
ELGAMAL_GENERAL - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
ElGamalPublicBCPGKey - class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
base class for an ElGamal Public Key.
ElGamalSecretBCPGKey - class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
base class for an ElGamal Secret Key.
ElGamalSecretBCPGKey(BigInteger) - constructor for class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.BCPGObject
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.ContainedPacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.MarkerPacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.MPInteger
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.PublicKeyPacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.S2K
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.SecretKeyPacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.SignaturePacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.TrustPacket
encode(org.bouncycastle.bcpg.BCPGOutputStream) - method in class org.bouncycastle.bcpg.UserIDPacket
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPOnePassSignature
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPPublicKey
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPPublicKeyRing
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPSecretKey
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
encode(OutputStream) - method in class org.bouncycastle.openpgp.PGPSignature
encode(OutputStream) - method in class org.bouncycastle.bcpg.SignatureSubpacket
encode(OutputStream) - method in class org.bouncycastle.bcpg.UserAttributeSubpacket
encrypt(byte[],char[],String,int,boolean) - static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
Simple PGP encryptor between byte[].
endClearText() - method in class org.bouncycastle.bcpg.ArmoredOutputStream
equals(Object) - method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
equals(Object) - method in class org.bouncycastle.bcpg.UserAttributeSubpacket
EXPERIMENTAL_1 - static field in class org.bouncycastle.bcpg.PacketTags
EXPERIMENTAL_2 - static field in class org.bouncycastle.bcpg.PacketTags
EXPERIMENTAL_3 - static field in class org.bouncycastle.bcpg.PacketTags
EXPERIMENTAL_4 - static field in class org.bouncycastle.bcpg.PacketTags
ExperimentalPacket - class org.bouncycastle.bcpg.ExperimentalPacket
basic packet for an experimental packet.
EXPIRE_TIME - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
Exportable - class org.bouncycastle.bcpg.sig.Exportable
packet giving signature creation time.
EXPORTABLE - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
Exportable(boolean,boolean) - constructor for class org.bouncycastle.bcpg.sig.Exportable
Exportable(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.Exportable
extractPrivateKey(char[],String) - method in class org.bouncycastle.openpgp.PGPSecretKey
Extract a PGPPrivate key from the SecretKey's encrypted contents.

F

finish() - method in class org.bouncycastle.bcpg.BCPGOutputStream
Finish writing out the current packet without closing the underlying stream.
flush() - method in class org.bouncycastle.bcpg.ArmoredOutputStream
flush() - method in class org.bouncycastle.bcpg.BCPGOutputStream
Flush the underlying stream.

G

generate() - method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Return a signature object containing the current signature state.
generate() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
generate() - method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Return a V3 signature object containing the current signature state.
Generate a certification, such as a revocation, for the passed in key.
Generate a certification for the passed in key against the passed in master key.
Generate a certification for the passed in id and key.
generateOnePassVersion(boolean) - method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Return the one pass header associated with the current signature.
generateOnePassVersion(boolean) - method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Return the one pass header associated with the current signature.
generatePublicKeyRing() - method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
Return the public key ring that corresponds to the secret key ring.
generateSecretKeyRing() - method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
Return the secret key ring.
generateTest() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
Generated signature test
get(int) - method in class org.bouncycastle.openpgp.PGPEncryptedDataList
get(int) - method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
get(int) - method in class org.bouncycastle.openpgp.PGPSignatureList
getAlgorithm() - method in class org.bouncycastle.bcpg.CompressedDataPacket
return the algorithm tag value.
getAlgorithm() - method in class org.bouncycastle.openpgp.PGPCompressedData
Return the algorithm used for compression
getAlgorithm() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return the algorithm code associated with the public key.
getAlgorithm() - method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
getAlgorithm() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getAlgorithm(int) - static method in class org.bouncycastle.openpgp.examples.PubringDump
getArmorHeaderLine() - method in class org.bouncycastle.bcpg.ArmoredInputStream
Return the armor header line (if there is one)
getArmorHeaders() - method in class org.bouncycastle.bcpg.ArmoredInputStream
Return the armor headers (the lines after the armor header line),
getBitStrength() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return the strength of the key in bits.
getContents() - method in class org.bouncycastle.bcpg.ExperimentalPacket
getCreationTime() - method in class org.bouncycastle.openpgp.PGPPublicKey
getCreationTime() - method in class org.bouncycastle.openpgp.PGPSignature
Return the creation time of the signature.
getCreationTime() - method in class org.bouncycastle.bcpg.SignaturePacket
Return the creation time of the signature in milli-seconds.
getCriticalTags() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getCrtCoefficient() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the crt coefficient
getData() - method in class org.bouncycastle.bcpg.SignatureSubpacket
return the generic data making up the packet.
getData() - method in class org.bouncycastle.bcpg.UserAttributeSubpacket
return the generic data making up the packet.
getDataStream() - method in class org.bouncycastle.openpgp.PGPCompressedData
Return an uncompressed input stream which allows reading of the compressed data.
getDataStream() - method in class org.bouncycastle.openpgp.PGPLiteralData
Return the input stream representing the data stream
getDataStream(char[],String) - method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
Return the decrypted input stream, using the passed in passPhrase.
Return the decrypted data stream for the packet.
getDecoderStream(InputStream) - static method in class org.bouncycastle.openpgp.PGPUtil
Return either an ArmoredInputStream or a BCPGInputStream based on whether the initial characters of the stream are binary PGP encodings or not.
getDefaultProvider() - static method in class org.bouncycastle.openpgp.PGPUtil
Return the provider that will be used by factory classes in situations where a provider must be determined on the fly.
getDepth() - method in class org.bouncycastle.bcpg.sig.TrustSignature
getDigest() - method in class org.bouncycastle.bcpg.ModDetectionCodePacket
getEncAlgorithm() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getEncAlgorithm() - method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
getEncoded() - method in class org.bouncycastle.bcpg.BCPGKey
return a string of bytes giving the encoded format of the key, as described by it's format.
getEncoded() - method in class org.bouncycastle.bcpg.BCPGObject
getEncoded() - method in class org.bouncycastle.bcpg.ContainedPacket
getEncoded() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
return the standard PGP encoding of the key.
getEncoded() - method in class org.bouncycastle.bcpg.DSASecretBCPGKey
return the standard PGP encoding of the key.
getEncoded() - method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
return the standard PGP encoding of the key.
getEncoded() - method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
return the standard PGP encoding of the key.
getEncoded() - method in class org.bouncycastle.openpgp.PGPOnePassSignature
getEncoded() - method in class org.bouncycastle.openpgp.PGPPublicKey
getEncoded() - method in class org.bouncycastle.openpgp.PGPPublicKeyRing
getEncoded() - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
getEncoded() - method in class org.bouncycastle.openpgp.PGPSecretKey
getEncoded() - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
getEncoded() - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
getEncoded() - method in class org.bouncycastle.openpgp.PGPSignature
getEncoded() - method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
return the standard PGP encoding of the key.
getEncoded() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the standard PGP encoding of the key.
getEncodedContents() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getEncodedContents() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getEncoding() - method in class org.bouncycastle.bcpg.attr.ImageAttribute
getEncryptedDataObjects() - method in class org.bouncycastle.openpgp.PGPEncryptedDataList
getEncSessionKey() - method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
getEncyptedDataObjects() - method in class org.bouncycastle.openpgp.PGPEncryptedDataList
getFileName() - method in class org.bouncycastle.bcpg.LiteralDataPacket
getFileName() - method in class org.bouncycastle.openpgp.PGPLiteralData
Return the file name that's associated with the data stream.
getFingerprint() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return the fingerprint of the key.
getFlags() - method in class org.bouncycastle.bcpg.sig.KeyFlags
getFormat() - method in class org.bouncycastle.bcpg.BCPGKey
Return the base format for this key - in the case of the symmetric keys it will generally be raw indicating that the key is just a straight byte representation, for an asymmetric key the format will be PGP, indicating the key is a string of MPIs encoded in PGP format.
getFormat() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
return "PGP"
getFormat() - method in class org.bouncycastle.bcpg.DSASecretBCPGKey
return "PGP"
getFormat() - method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
return "PGP"
getFormat() - method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
return "PGP"
getFormat() - method in class org.bouncycastle.bcpg.LiteralDataPacket
return the format tag value.
getFormat() - method in class org.bouncycastle.openpgp.PGPLiteralData
Return the format of the data stream - BINARY or TEXT.
getFormat() - method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
return "PGP"
getFormat() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return "PGP"
getG() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
getG() - method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
getHashAlgorithm() - method in class org.bouncycastle.bcpg.OnePassSignaturePacket
return the hashAlgorithm tag
getHashAlgorithm() - method in class org.bouncycastle.bcpg.S2K
return the hash algorithm for this S2K
getHashAlgorithm() - method in class org.bouncycastle.bcpg.SignaturePacket
return the hashAlgorithm tag
getHashedSubPackets() - method in class org.bouncycastle.openpgp.PGPSignature
getHashedSubPackets() - method in class org.bouncycastle.bcpg.SignaturePacket
getID() - method in class org.bouncycastle.bcpg.sig.SignerUserID
getID() - method in class org.bouncycastle.bcpg.UserIDPacket
getImageAttribute() - method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
getImageData() - method in class org.bouncycastle.bcpg.attr.ImageAttribute
getInputStream() - method in class org.bouncycastle.bcpg.InputStreamPacket
Note: you can only read from this once...
getInputStream() - method in class org.bouncycastle.openpgp.PGPCompressedData
Return the raw input stream contained in the object.
getInputStream() - method in class org.bouncycastle.openpgp.PGPEncryptedData
Return the raw input stream for the data stream.
getInputStream() - method in class org.bouncycastle.openpgp.PGPLiteralData
Return the raw input stream for the data stream.
getInputStream() - method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
Return the raw input stream for the data stream.
getIssuerKeyID() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getIterationCount() - method in class org.bouncycastle.bcpg.S2K
return the iteration count
getIV() - method in class org.bouncycastle.bcpg.S2K
return the iv for the key generation algorithm
getIV() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getKey() - method in class org.bouncycastle.openpgp.PGPPrivateKey
Return the contained private key.
getKey() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getKey(String) - method in class org.bouncycastle.openpgp.PGPPublicKey
Return the public key contained in the object.
getKeyAlgorithm() - method in class org.bouncycastle.bcpg.OnePassSignaturePacket
return the encryption algorithm tag
getKeyAlgorithm() - method in class org.bouncycastle.bcpg.SignaturePacket
return the encryption algorithm tag
getKeyEncryptionAlgorithm() - method in class org.bouncycastle.openpgp.PGPSecretKey
return the algorithm the key is encrypted with.
getKeyExpirationTime() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return the number of seconds a key is valid for after its creation date.
getKeyFlags() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getKeyID() - method in class org.bouncycastle.bcpg.sig.IssuerKeyID
getKeyID() - method in class org.bouncycastle.bcpg.OnePassSignaturePacket
getKeyID() - method in class org.bouncycastle.openpgp.PGPKeyPair
Return the keyID associated with this key pair.
getKeyID() - method in class org.bouncycastle.openpgp.PGPOnePassSignature
getKeyID() - method in class org.bouncycastle.openpgp.PGPPrivateKey
Return the keyID associated with the contained private key.
getKeyID() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return the keyID associated with the public key.
getKeyID() - method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
Return the keyID for the key used to encrypt the data.
getKeyID() - method in class org.bouncycastle.openpgp.PGPSecretKey
Return the keyID of the public key associated with this key.
getKeyID() - method in class org.bouncycastle.openpgp.PGPSignature
Return the id of the key that created the signature.
getKeyID() - method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
getKeyID() - method in class org.bouncycastle.bcpg.SignaturePacket
return the keyID
getKeyRings() - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
return the public key rings making up this collection.
getKeyRings() - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
return the secret key rings making up this collection.
getKeyRings(String) - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getKeyRings(String) - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getKeyRings(String,boolean) - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getKeyRings(String,boolean) - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getModificationTime() - method in class org.bouncycastle.bcpg.LiteralDataPacket
Return the modification time of the file in milli-seconds.
getModificationTime() - method in class org.bouncycastle.openpgp.PGPLiteralData
Return the modification time for the file.
getModulus() - method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
getModulus() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the modulus for this key.
getName() - method in class org.bouncycastle.openpgp.test.PGPCompressionTest
getName() - method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
getName() - method in class org.bouncycastle.openpgp.test.PGPDSATest
getName() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
getName() - method in class org.bouncycastle.openpgp.test.PGPMarkerTest
getName() - method in class org.bouncycastle.openpgp.test.PGPPacketTest
getName() - method in class org.bouncycastle.openpgp.test.PGPPBETest
getName() - method in class org.bouncycastle.openpgp.test.PGPRSATest
getP() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
getP() - method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
getPreferredCompressionAlgorithms() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getPreferredHashAlgorithms() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getPreferredSymmetricAlgorithms() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getPreferrences() - method in class org.bouncycastle.bcpg.sig.PreferredAlgorithms
getPrimeExponentP() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the prime exponent of p
getPrimeExponentQ() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the prime exponent of q
getPrimeP() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the prime P
getPrimeQ() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the prime Q
getPrivateExponent() - method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the private exponent for this key.
getPrivateKey() - method in class org.bouncycastle.openpgp.PGPKeyPair
getProtectionMode() - method in class org.bouncycastle.bcpg.S2K
the protection mode - only if GN_DUMMY_S2K
getPublicExponent() - method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
getPublicKey() - method in class org.bouncycastle.openpgp.PGPKeyPair
getPublicKey() - method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return the first public key in the ring.
getPublicKey() - method in class org.bouncycastle.openpgp.PGPSecretKey
Return the public key associated with this key.
getPublicKey() - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the public key for the master key.
getPublicKey(long) - method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return the public key refered to by the passed in keyID if it is present.
getPublicKey(long) - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return the PGP public key associated with the given key id.
getPublicKeyPacket() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getPublicKeyRing(long) - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return the public key ring which contains the key referred to by keyID.
getPublicKeys() - method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return an iterator containing all the public keys.
getQ() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
getS2K() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getS2K() - method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
getSecKeyData() - method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
getSecretKey() - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the master private key.
getSecretKey(long) - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
getSecretKey(long) - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return the PGP secret key associated with the given key id.
getSecretKeyData() - method in class org.bouncycastle.bcpg.SecretKeyPacket
getSecretKeyRing(long) - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return the secret key ring which contains the key referred to by keyID.
getSecretKeys() - method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return an iterator containing all the secret keys.
getSignature() - method in class org.bouncycastle.openpgp.PGPSignature
getSignature() - method in class org.bouncycastle.bcpg.SignaturePacket
return the signature bytes - note this is normalised to be the ASN.1 encoding of what appears in the signature packet.
getSignatureCreationTime() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getSignatureExpirationTime() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return the number of seconds a signature is valid for after its creation date.
getSignatures() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return all signatures/certifications associated with this key.
getSignaturesForID(String) - method in class org.bouncycastle.openpgp.PGPPublicKey
Return any signatures associated with the passed in id.
Return an iterator of signatures associated with the passed in user attributes.
getSignaturesOfType(int) - method in class org.bouncycastle.openpgp.PGPPublicKey
Return signatures of the passed in type that are on this key.
getSignatureTrailer() - method in class org.bouncycastle.openpgp.PGPSignature
getSignatureTrailer() - method in class org.bouncycastle.bcpg.SignaturePacket
return the signature trailer that must be included with the data to reconstruct the signature
getSignatureType() - method in class org.bouncycastle.bcpg.OnePassSignaturePacket
Return the signature type.
getSignatureType() - method in class org.bouncycastle.openpgp.PGPOnePassSignature
getSignatureType() - method in class org.bouncycastle.openpgp.PGPSignature
getSignatureType() - method in class org.bouncycastle.bcpg.SignaturePacket
return the signature type.
getSignerUserID() - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getSubpacket(int) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
getSubpacket(int) - method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
getSubpackets() - method in class org.bouncycastle.bcpg.UserAttributePacket
getTag() - method in class org.bouncycastle.bcpg.ExperimentalPacket
getTime() - method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
Return the number of seconds after creation time a key is valid for.
getTime() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getTime() - method in class org.bouncycastle.bcpg.sig.SignatureCreationTime
getTime() - method in class org.bouncycastle.bcpg.sig.SignatureExpirationTime
return time in seconds before signature expires after creation time.
getTrustAmount() - method in class org.bouncycastle.bcpg.sig.TrustSignature
getType() - method in class org.bouncycastle.bcpg.S2K
getType() - method in class org.bouncycastle.bcpg.SignatureSubpacket
getType() - method in class org.bouncycastle.bcpg.UserAttributeSubpacket
getUnderlyingException() - method in class org.bouncycastle.openpgp.PGPException
getUnhashedSubPackets() - method in class org.bouncycastle.openpgp.PGPSignature
getUnhashedSubPackets() - method in class org.bouncycastle.bcpg.SignaturePacket
getUserAttributes() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return any user attribute vectors associated with the key.
getUserAttributes() - method in class org.bouncycastle.openpgp.PGPSecretKey
Return any user attribute vectors associated with the key.
getUserIDs() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return any userIDs associated with the key.
getUserIDs() - method in class org.bouncycastle.openpgp.PGPSecretKey
Return any userIDs associated with the key.
getValidDays() - method in class org.bouncycastle.openpgp.PGPPublicKey
getValidDays() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getValue() - method in class org.bouncycastle.bcpg.CRC24
getValue() - method in class org.bouncycastle.bcpg.MPInteger
getVersion() - method in class org.bouncycastle.openpgp.PGPPublicKey
getVersion() - method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
getVersion() - method in class org.bouncycastle.bcpg.PublicKeyPacket
getVersion() - method in class org.bouncycastle.bcpg.SignaturePacket
get the version number
getVersion() - method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
getX() - method in class org.bouncycastle.bcpg.DSASecretBCPGKey
getX() - method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
getY() - method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
getY() - method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
GNU_DUMMY_S2K - static field in class org.bouncycastle.bcpg.S2K

H

HashAlgorithmTags - interface org.bouncycastle.bcpg.HashAlgorithmTags
basic tags for hash algorithms
hashCode() - method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
hashCode() - method in class org.bouncycastle.bcpg.UserAttributeSubpacket
HAVAL_5_160 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags

I

IDEA - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
IMAGE_ATTRIBUTE - static field in class org.bouncycastle.bcpg.UserAttributeSubpacketTags
ImageAttribute - class org.bouncycastle.bcpg.attr.ImageAttribute
Basic type for a image attribute packet.
ImageAttribute(byte[]) - constructor for class org.bouncycastle.bcpg.attr.ImageAttribute
Initialise the generator for signing.
Initialise the generator for signing.
Initialise the signature object for verification.
InputStreamPacket - class org.bouncycastle.bcpg.InputStreamPacket
Returns a new key ring with the publick key passed in either added or replacing an existing one.
isClearText() - method in class org.bouncycastle.bcpg.ArmoredInputStream
isCritical() - method in class org.bouncycastle.bcpg.SignatureSubpacket
isEmpty() - method in class org.bouncycastle.openpgp.PGPEncryptedDataList
isEmpty() - method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
isEmpty() - method in class org.bouncycastle.openpgp.PGPSignatureList
isEncryptionKey() - method in class org.bouncycastle.openpgp.PGPPublicKey
return true if this key is marked as suitable for encryption.
isExportable() - method in class org.bouncycastle.bcpg.sig.Exportable
isIntegrityProtected() - method in class org.bouncycastle.openpgp.PGPEncryptedData
Return true if the message is integrity protected.
isMasterKey() - method in class org.bouncycastle.openpgp.PGPPublicKey
Return true if this is a master key.
isMasterKey() - method in class org.bouncycastle.openpgp.PGPSecretKey
Return true if this is a master key.
isPrimaryUserID() - method in class org.bouncycastle.bcpg.sig.PrimaryUserID
isRevocable() - method in class org.bouncycastle.bcpg.sig.Revocable
isSigningKey() - method in class org.bouncycastle.openpgp.PGPSecretKey
return true if this key is marked as suitable for signature generation.
ISSUER_KEY_ID - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
IssuerKeyID - class org.bouncycastle.bcpg.sig.IssuerKeyID
packet giving signature creation time.
IssuerKeyID(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID
IssuerKeyID(boolean,long) - constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID

K

KEY_EXPIRE_TIME - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
KEY_FLAGS - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
KEY_REVOCATION - static field in class org.bouncycastle.openpgp.PGPSignature
KEY_SERVER_PREFS - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
KeyBasedFileProcessor - class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor
A simple utility class that encrypts/decrypts public key based encryption files.
KeyBasedLargeFileProcessor - class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor
A simple utility class that encrypts/decrypts public key based encryption large files.
KeyExpirationTime - class org.bouncycastle.bcpg.sig.KeyExpirationTime
packet giving time after creation at which the key expires.
KeyExpirationTime(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.KeyExpirationTime
KeyExpirationTime(boolean,long) - constructor for class org.bouncycastle.bcpg.sig.KeyExpirationTime
KeyFlags - class org.bouncycastle.bcpg.sig.KeyFlags
Packet holding the key flag values.
KeyFlags(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.KeyFlags
KeyFlags(boolean,int) - constructor for class org.bouncycastle.bcpg.sig.KeyFlags
keyIDToBytes(long) - static method in class org.bouncycastle.bcpg.sig.IssuerKeyID

L

LITERAL_DATA - static field in class org.bouncycastle.bcpg.PacketTags
LiteralDataPacket - class org.bouncycastle.bcpg.LiteralDataPacket
generic literal data packet.

M

main(String[]) - static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
main(String[]) - static method in class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
main(String[]) - static method in class org.bouncycastle.openpgp.examples.DetachedSignatureProcessor
main(String[]) - static method in class org.bouncycastle.openpgp.examples.DSAElGamalKeyRingGenerator
main(String[]) - static method in class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor
main(String[]) - static method in class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor
main(String[]) - static method in class org.bouncycastle.openpgp.examples.PBEFileProcessor
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPCompressionTest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPDSATest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPMarkerTest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPPacketTest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPPBETest
main(String[]) - static method in class org.bouncycastle.openpgp.test.PGPRSATest
main(String[]) - static method in class org.bouncycastle.openpgp.examples.PubringDump
main(String[]) - static method in class org.bouncycastle.openpgp.test.RegressionTest
main(String[]) - static method in class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
main(String[]) - static method in class org.bouncycastle.openpgp.examples.SignedFileProcessor
makeKeyFromPassPhrase(int,char[],String) - static method in class org.bouncycastle.openpgp.PGPUtil
makeKeyFromPassPhrase(int,org.bouncycastle.bcpg.S2K,char[],String) - static method in class org.bouncycastle.openpgp.PGPUtil
makeRandomKey(int,SecureRandom) - static method in class org.bouncycastle.openpgp.PGPUtil
MARKER - static field in class org.bouncycastle.bcpg.PacketTags
MarkerPacket - class org.bouncycastle.bcpg.MarkerPacket
Basic type for a marker packet
MarkerPacket(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.bcpg.MarkerPacket
MAYBE_SHARED - static field in class org.bouncycastle.openpgp.PGPKeyFlags
MAYBE_SPLIT - static field in class org.bouncycastle.openpgp.PGPKeyFlags
MD2 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
MD5 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
MOD_DETECTION_CODE - static field in class org.bouncycastle.bcpg.PacketTags
ModDetectionCodePacket - class org.bouncycastle.bcpg.ModDetectionCodePacket
basic packet for a mdoification detection code packet.
ModDetectionCodePacket(byte[]) - constructor for class org.bouncycastle.bcpg.ModDetectionCodePacket
MPInteger - class org.bouncycastle.bcpg.MPInteger
a mulitple precision integer
MPInteger(BigInteger) - constructor for class org.bouncycastle.bcpg.MPInteger
MPInteger(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.bcpg.MPInteger

N

nextObject() - method in class org.bouncycastle.openpgp.PGPObjectFactory
Return the next object in the stream, or null if the end is reached.
nextPacketTag() - method in class org.bouncycastle.bcpg.BCPGInputStream
returns the nest packet tag in the stream.
NO_CERTIFICATION - static field in class org.bouncycastle.openpgp.PGPSignature
NOTATION_DATA - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
NOW - static field in class org.bouncycastle.openpgp.PGPLiteralData
The special time for a modification time of "now" or the present time.
NOW - static field in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
The special time for a modification time of "now" or the present time.
NULL - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags

O

ONE_PASS_SIGNATURE - static field in class org.bouncycastle.bcpg.PacketTags
OnePassSignaturePacket - class org.bouncycastle.bcpg.OnePassSignaturePacket
generic signature object
OnePassSignaturePacket(int,int,int,long,boolean) - constructor for class org.bouncycastle.bcpg.OnePassSignaturePacket
open() - method in class org.bouncycastle.bcpg.OutputStreamPacket
open(OutputStream) - method in class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Return an outputstream which will save the data being written to the compressed object.
open(OutputStream,byte[]) - method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Return an outputstream which will encrypt the data as it is written to it.
open(OutputStream,char,File) - method in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Open a literal data packet for the passed in File object, returning an output stream for saving the file contents.
open(OutputStream,char,String,Date,byte[]) - method in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Open a literal data packet, returning a stream to store the data inside the packet as an indefiinite length stream.
open(OutputStream,char,String,long,Date) - method in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Open a literal data packet, returning a stream to store the data inside the packet.
open(OutputStream,long) - method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Return an outputstream which will encrypt the data as it is written to it.
out - field in class org.bouncycastle.bcpg.OutputStreamPacket
OutputStreamPacket - class org.bouncycastle.bcpg.OutputStreamPacket

P

Packet - class org.bouncycastle.bcpg.Packet
PacketTags - interface org.bouncycastle.bcpg.PacketTags
Basic PGP packet tag types.
PBEFileProcessor - class org.bouncycastle.openpgp.examples.PBEFileProcessor
A simple utility class that encrypts/decrypts password based encryption files.
perform() - method in class org.bouncycastle.openpgp.test.PGPCompressionTest
perform() - method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
perform() - method in class org.bouncycastle.openpgp.test.PGPDSATest
perform() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
perform() - method in class org.bouncycastle.openpgp.test.PGPMarkerTest
perform() - method in class org.bouncycastle.openpgp.test.PGPPacketTest
perform() - method in class org.bouncycastle.openpgp.test.PGPPBETest
perform() - method in class org.bouncycastle.openpgp.test.PGPRSATest
PGPCompressedData - class org.bouncycastle.openpgp.PGPCompressedData
Compressed data objects.
PGPCompressedData(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.openpgp.PGPCompressedData
class for producing compressed data packets.
PGPCompressedDataGenerator(int) - constructor for class org.bouncycastle.openpgp.PGPCompressedDataGenerator
PGPCompressionTest - class org.bouncycastle.openpgp.test.PGPCompressionTest
Thrown if the iv at the start of a data stream indicates the wrong key is being used.
PGPDataValidationException(String) - constructor for class org.bouncycastle.openpgp.PGPDataValidationException
PGPDSAElGamalTest - class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
PGPDSATest - class org.bouncycastle.openpgp.test.PGPDSATest
PGPEncryptedData - class org.bouncycastle.openpgp.PGPEncryptedData
PGPEncryptedDataGenerator - class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Generator for encrypted objects.
Creates a cipher stream which will have an integrity packet associated with it.
Base constructor.
PGPEncryptedDataGenerator(int,SecureRandom,String) - constructor for class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Base constructor.
PGPEncryptedDataList - class org.bouncycastle.openpgp.PGPEncryptedDataList
A holder for a list of PGP encryption method packets.
PGPException - class org.bouncycastle.openpgp.PGPException
generic exception class for PGP encoding/decoding problems
PGPException(String) - constructor for class org.bouncycastle.openpgp.PGPException
PGPException(String,Exception) - constructor for class org.bouncycastle.openpgp.PGPException
PGPKeyFlags - interface org.bouncycastle.openpgp.PGPKeyFlags
key flag values for the KeyFlags subpacket.
PGPKeyPair - class org.bouncycastle.openpgp.PGPKeyPair
General class to handle JCA key pairs and convert them into OpenPGP ones.
PGPKeyPair(int,KeyPair,Date,String) - constructor for class org.bouncycastle.openpgp.PGPKeyPair
PGPKeyPair(int,PublicKey,PrivateKey,Date,String) - constructor for class org.bouncycastle.openpgp.PGPKeyPair
Create a key pair from a PGPPrivateKey and a PGPPublicKey.
PGPKeyRingGenerator - class org.bouncycastle.openpgp.PGPKeyRingGenerator
Generator for a PGP master and subkey ring.
Create a new key ring generator.
PGPKeyRingTest - class org.bouncycastle.openpgp.test.PGPKeyRingTest
PGPKeyValidationException - class org.bouncycastle.openpgp.PGPKeyValidationException
Thrown if the key checksum is invalid.
PGPKeyValidationException(String) - constructor for class org.bouncycastle.openpgp.PGPKeyValidationException
PGPLiteralData - class org.bouncycastle.openpgp.PGPLiteralData
class for processing literal data objects.
PGPLiteralData(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.openpgp.PGPLiteralData
PGPLiteralDataGenerator - class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Class for producing literal data packets.
PGPLiteralDataGenerator() - constructor for class org.bouncycastle.openpgp.PGPLiteralDataGenerator
PGPLiteralDataGenerator(boolean) - constructor for class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Generates literal data objects in the old format, this is important if you need compatability with PGP 2.6.x.
PGPMarker - class org.bouncycastle.openpgp.PGPMarker
a PGP marker packet - in general these should be ignored other than where the idea is to preserve the original input stream.
PGPMarker(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.openpgp.PGPMarker
Default constructor.
PGPMarkerTest - class org.bouncycastle.openpgp.test.PGPMarkerTest
PGPObjectFactory - class org.bouncycastle.openpgp.PGPObjectFactory
General class for reading a PGP object stream.
PGPObjectFactory(byte[]) - constructor for class org.bouncycastle.openpgp.PGPObjectFactory
PGPObjectFactory(InputStream) - constructor for class org.bouncycastle.openpgp.PGPObjectFactory
PGPOnePassSignature - class org.bouncycastle.openpgp.PGPOnePassSignature
A one pass signature object.
PGPOnePassSignatureList - class org.bouncycastle.openpgp.PGPOnePassSignatureList
Holder for a list of PGPOnePassSignatures
PGPPacketTest - class org.bouncycastle.openpgp.test.PGPPacketTest
PGPPBEEncryptedData - class org.bouncycastle.openpgp.PGPPBEEncryptedData
A password based encryption object.
PGPPBETest - class org.bouncycastle.openpgp.test.PGPPBETest
PGPPrivateKey - class org.bouncycastle.openpgp.PGPPrivateKey
general class to contain a private key for use with other openPGP objects.
PGPPublicKey - class org.bouncycastle.openpgp.PGPPublicKey
general class to handle a PGP public key object.
PGPPublicKey(int,PublicKey,Date,String) - constructor for class org.bouncycastle.openpgp.PGPPublicKey
Create a PGPPublicKey from the passed in JCA one.
PGPPublicKeyEncryptedData - class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
A public key encrypted data object.
PGPPublicKeyRing - class org.bouncycastle.openpgp.PGPPublicKeyRing
general class to hold a collection of PGP Public Keys.
PGPPublicKeyRing(byte[]) - constructor for class org.bouncycastle.openpgp.PGPPublicKeyRing
PGPPublicKeyRing(InputStream) - constructor for class org.bouncycastle.openpgp.PGPPublicKeyRing
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
PGPPublicKeyRingCollection(byte[]) - constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
PGPPublicKeyRingCollection(Collection) - constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
PGPPublicKeyRingCollection(InputStream) - constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
PGPRSATest - class org.bouncycastle.openpgp.test.PGPRSATest
PGPSecretKey - class org.bouncycastle.openpgp.PGPSecretKey
general class to handle a PGP secret key object.
PGPSecretKeyRing - class org.bouncycastle.openpgp.PGPSecretKeyRing
Holder for a collection of PGP secret keys.
PGPSecretKeyRing(byte[]) - constructor for class org.bouncycastle.openpgp.PGPSecretKeyRing
PGPSecretKeyRing(InputStream) - constructor for class org.bouncycastle.openpgp.PGPSecretKeyRing
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
PGPSecretKeyRingCollection(byte[]) - constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
PGPSecretKeyRingCollection(Collection) - constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
PGPSecretKeyRingCollection(InputStream) - constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
PGPSignature - class org.bouncycastle.openpgp.PGPSignature
A PGP signature object.
PGPSignatureGenerator - class org.bouncycastle.openpgp.PGPSignatureGenerator
Generator for PGP Signatures.
PGPSignatureGenerator(int,int,String) - constructor for class org.bouncycastle.openpgp.PGPSignatureGenerator
Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
PGPSignatureList - class org.bouncycastle.openpgp.PGPSignatureList
A list of PGP signatures - normally in the signature block after literal data.
PGPSignatureList(org.bouncycastle.openpgp.PGPSignature) - constructor for class org.bouncycastle.openpgp.PGPSignatureList
Generator for signature subpackets.
PGPSignatureSubpacketGenerator() - constructor for class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Container for a list of signature subpackets.
Container for a list of signature subpackets.
PGPUtil - class org.bouncycastle.openpgp.PGPUtil
Basic utility class
PGPV3SignatureGenerator - class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Generator for old style PGP V3 Signatures.
PGPV3SignatureGenerator(int,int,String) - constructor for class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
PLACEHOLDER - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
POLICY_URL - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
POSITIVE_CERTIFICATION - static field in class org.bouncycastle.openpgp.PGPSignature
PREFERRED_COMP_ALGS - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
PREFERRED_HASH_ALGS - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
PREFERRED_KEY_SERV - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
PREFERRED_SYM_ALGS - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
PreferredAlgorithms - class org.bouncycastle.bcpg.sig.PreferredAlgorithms
packet giving signature creation time.
PreferredAlgorithms(int,boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.PreferredAlgorithms
PreferredAlgorithms(int,boolean,int[]) - constructor for class org.bouncycastle.bcpg.sig.PreferredAlgorithms
PRIMARY_USER_ID - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
PrimaryUserID - class org.bouncycastle.bcpg.sig.PrimaryUserID
packet giving whether or not the signature is signed using the primary user ID for the key.
PrimaryUserID(boolean,boolean) - constructor for class org.bouncycastle.bcpg.sig.PrimaryUserID
PrimaryUserID(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.PrimaryUserID
PUBLIC_KEY - static field in class org.bouncycastle.bcpg.PacketTags
PUBLIC_KEY_ENC_SESSION - static field in class org.bouncycastle.bcpg.PacketTags
PUBLIC_SUBKEY - static field in class org.bouncycastle.bcpg.PacketTags
PublicKeyAlgorithmTags - interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
Public Key Algorithm tag numbers
basic packet for a PGP public key
PublicKeyPacket - class org.bouncycastle.bcpg.PublicKeyPacket
basic packet for a PGP public key
PublicKeyPacket(int,Date,org.bouncycastle.bcpg.BCPGKey) - constructor for class org.bouncycastle.bcpg.PublicKeyPacket
Construct version 4 public key packet.
PublicSubkeyPacket - class org.bouncycastle.bcpg.PublicSubkeyPacket
basic packet for a PGP public key
Construct version 4 public key packet.
PubringDump - class org.bouncycastle.openpgp.examples.PubringDump
Basic class which just lists the contents of the public key file passed as an argument.

R

read() - method in class org.bouncycastle.bcpg.ArmoredInputStream
read() - method in class org.bouncycastle.bcpg.BCPGInputStream
read() - method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
read() - method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
readFully(byte[]) - method in class org.bouncycastle.bcpg.BCPGInputStream
readFully(byte[],int,int) - method in class org.bouncycastle.bcpg.BCPGInputStream
readPacket() - method in class org.bouncycastle.bcpg.BCPGInputStream
readPacket() - method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
readPacket() - method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
REG_EXP - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
RegressionTest - class org.bouncycastle.openpgp.test.RegressionTest
Remove any certifications associated with a given id on a key.
Remove any certifications associated with a given id on a key.
Returns a new key ring with the publick key passed in removed from the key ring.
Return a new collection object containing the contents of this collection with the passed in public key ring removed.
Return a new collection object containing the contents of this collection with the passed in secret key ring removed.
RESERVED - static field in class org.bouncycastle.bcpg.PacketTags
reset() - method in class org.bouncycastle.bcpg.CRC24
Revocable - class org.bouncycastle.bcpg.sig.Revocable
packet giving whether or not is revocable.
REVOCABLE - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
Revocable(boolean,boolean) - constructor for class org.bouncycastle.bcpg.sig.Revocable
Revocable(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.Revocable
REVOCATION_KEY - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
REVOCATION_REASON - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
RIPEMD160 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
RSA_ENCRYPT - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
RSA_GENERAL - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
RSA_SIGN - static field in class org.bouncycastle.bcpg.PublicKeyAlgorithmTags
RSAKeyPairGenerator - class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
A simple utility class that generates a RSA PGPPublicKey/PGPSecretKey pair.
RSAPublicBCPGKey - class org.bouncycastle.bcpg.RSAPublicBCPGKey
base class for an RSA Public Key.
RSAPublicBCPGKey(BigInteger,BigInteger) - constructor for class org.bouncycastle.bcpg.RSAPublicBCPGKey
Construct an RSA public key from the passed in stream.
RSASecretBCPGKey - class org.bouncycastle.bcpg.RSASecretBCPGKey
base class for an RSA Secret (or Private) Key.
RSASecretBCPGKey(BigInteger,BigInteger,BigInteger) - constructor for class org.bouncycastle.bcpg.RSASecretBCPGKey

S

S2K - class org.bouncycastle.bcpg.S2K
The string to key specifier class
S2K(int) - constructor for class org.bouncycastle.bcpg.S2K
S2K(int,byte[]) - constructor for class org.bouncycastle.bcpg.S2K
S2K(int,byte[],int) - constructor for class org.bouncycastle.bcpg.S2K
SAFER - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
SALTED - static field in class org.bouncycastle.bcpg.S2K
SALTED_AND_ITERATED - static field in class org.bouncycastle.bcpg.S2K
sec9pass - field in class org.bouncycastle.openpgp.test.PGPKeyRingTest
SECRET_KEY - static field in class org.bouncycastle.bcpg.PacketTags
SECRET_SUBKEY - static field in class org.bouncycastle.bcpg.PacketTags
SecretKeyPacket - class org.bouncycastle.bcpg.SecretKeyPacket
basic packet for a PGP secret key
SecretSubkeyPacket - class org.bouncycastle.bcpg.SecretSubkeyPacket
basic packet for a PGP secret key
setDefaultProvider(String) - static method in class org.bouncycastle.openpgp.PGPUtil
Set the provider to be used by the package when it is necessary to find one on the fly.
setExportable(boolean,boolean) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
setKeyExpirationTime(boolean,long) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Set the number of seconds a key is valid for after the time of its creation.
setKeyFlags(boolean,int) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
setPrimaryUserID(boolean,boolean) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
setRevocable(boolean,boolean) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Set the number of seconds a signature is valid for after the time of its creation.
setSignerUserID(boolean,String) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
setTrust(boolean,int,int) - method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
SHA1 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
SIGNATURE - static field in class org.bouncycastle.bcpg.PacketTags
SignatureCreationTime - class org.bouncycastle.bcpg.sig.SignatureCreationTime
packet giving signature creation time.
SignatureCreationTime(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.SignatureCreationTime
SignatureCreationTime(boolean,Date) - constructor for class org.bouncycastle.bcpg.sig.SignatureCreationTime
SignatureExpirationTime - class org.bouncycastle.bcpg.sig.SignatureExpirationTime
packet giving signature expiration time.
SignatureExpirationTime(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.SignatureExpirationTime
SignatureExpirationTime(boolean,long) - constructor for class org.bouncycastle.bcpg.sig.SignatureExpirationTime
SignaturePacket - class org.bouncycastle.bcpg.SignaturePacket
generic signature packet
Generate a version 2/3 signature packet.
Generate a version 4 signature packet.
SignatureSubpacket - class org.bouncycastle.bcpg.SignatureSubpacket
Basic type for a PGP Signature sub-packet.
SignatureSubpacket(int,boolean,byte[]) - constructor for class org.bouncycastle.bcpg.SignatureSubpacket
reader for signature sub-packets
SignatureSubpacketTags - interface org.bouncycastle.bcpg.SignatureSubpacketTags
Basic PGP signature sub-packet tag types.
SignedFileProcessor - class org.bouncycastle.openpgp.examples.SignedFileProcessor
A simple utility class that signs and verifies files.
SIGNER_USER_ID - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
SignerUserID - class org.bouncycastle.bcpg.sig.SignerUserID
packet giving the User ID of the signer.
SignerUserID(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.SignerUserID
SignerUserID(boolean,String) - constructor for class org.bouncycastle.bcpg.sig.SignerUserID
SIMPLE - static field in class org.bouncycastle.bcpg.S2K
size() - method in class org.bouncycastle.openpgp.PGPEncryptedDataList
size() - method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
size() - method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return the number of rings in this collection.
size() - method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return the number of rings in this collection.
size() - method in class org.bouncycastle.openpgp.PGPSignatureList
STAND_ALONE - static field in class org.bouncycastle.openpgp.PGPSignature
SUBKEY_BINDING - static field in class org.bouncycastle.openpgp.PGPSignature
SUBKEY_REVOCATION - static field in class org.bouncycastle.openpgp.PGPSignature
SYM_ENC_INTEGRITY_PRO - static field in class org.bouncycastle.bcpg.PacketTags
SYMMETRIC_KEY_ENC - static field in class org.bouncycastle.bcpg.PacketTags
SYMMETRIC_KEY_ENC_SESSION - static field in class org.bouncycastle.bcpg.PacketTags
SymmetricEncDataPacket - class org.bouncycastle.bcpg.SymmetricEncDataPacket
Basic type for a symmetric key encrypted packet
SymmetricKeyAlgorithmTags - interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
Basic tags for symmetric key algorithms
Basic type for a symmetric encrypted session key packet

T

test1() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test2() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test3() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test4() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test5() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test6() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test7() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test8() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
test9() - method in class org.bouncycastle.openpgp.test.PGPKeyRingTest
tests - static field in class org.bouncycastle.openpgp.test.RegressionTest
TEXT - static field in class org.bouncycastle.openpgp.PGPLiteralData
TEXT - static field in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
TIGER_192 - static field in class org.bouncycastle.bcpg.HashAlgorithmTags
TIMESTAMP - static field in class org.bouncycastle.openpgp.PGPSignature
timeToBytes(Date) - static method in class org.bouncycastle.bcpg.sig.SignatureCreationTime
timeToBytes(long) - static method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
timeToBytes(long) - static method in class org.bouncycastle.bcpg.sig.SignatureExpirationTime
TRIPLE_DES - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
TRUST - static field in class org.bouncycastle.bcpg.PacketTags
TRUST_SIG - static field in class org.bouncycastle.bcpg.SignatureSubpacketTags
TrustPacket - class org.bouncycastle.bcpg.TrustPacket
Basic type for a trust packet
TrustPacket(int) - constructor for class org.bouncycastle.bcpg.TrustPacket
TrustPacket(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.bcpg.TrustPacket
TrustSignature - class org.bouncycastle.bcpg.sig.TrustSignature
packet giving signature creation time.
TrustSignature(boolean,byte[]) - constructor for class org.bouncycastle.bcpg.sig.TrustSignature
TrustSignature(boolean,int,int) - constructor for class org.bouncycastle.bcpg.sig.TrustSignature
TWOFISH - static field in class org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags

U

UNCOMPRESSED - static field in class org.bouncycastle.bcpg.CompressionAlgorithmTags
update(byte) - method in class org.bouncycastle.openpgp.PGPOnePassSignature
update(byte) - method in class org.bouncycastle.openpgp.PGPSignature
update(byte) - method in class org.bouncycastle.openpgp.PGPSignatureGenerator
update(byte) - method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
update(byte[]) - method in class org.bouncycastle.openpgp.PGPOnePassSignature
update(byte[]) - method in class org.bouncycastle.openpgp.PGPSignature
update(byte[]) - method in class org.bouncycastle.openpgp.PGPSignatureGenerator
update(byte[]) - method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
update(byte[],int,int) - method in class org.bouncycastle.openpgp.PGPOnePassSignature
update(byte[],int,int) - method in class org.bouncycastle.openpgp.PGPSignature
update(byte[],int,int) - method in class org.bouncycastle.openpgp.PGPSignatureGenerator
update(byte[],int,int) - method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
update(int) - method in class org.bouncycastle.bcpg.CRC24
USER_ATTRIBUTE - static field in class org.bouncycastle.bcpg.PacketTags
USER_ID - static field in class org.bouncycastle.bcpg.PacketTags
UserAttributePacket - class org.bouncycastle.bcpg.UserAttributePacket
Basic type for a user attribute packet.
UserAttributeSubpacket - class org.bouncycastle.bcpg.UserAttributeSubpacket
Basic type for a PGP Signature sub-packet.
UserAttributeSubpacket(int,byte[]) - constructor for class org.bouncycastle.bcpg.UserAttributeSubpacket
reader for user attribute sub-packets
UserAttributeSubpacketTags - interface org.bouncycastle.bcpg.UserAttributeSubpacketTags
Basic PGP user attribute sub-packet tag types.
UserIDPacket - class org.bouncycastle.bcpg.UserIDPacket
Basic type for a user ID packet.
UserIDPacket(org.bouncycastle.bcpg.BCPGInputStream) - constructor for class org.bouncycastle.bcpg.UserIDPacket
UserIDPacket(String) - constructor for class org.bouncycastle.bcpg.UserIDPacket

V

verify() - method in class org.bouncycastle.openpgp.PGPEncryptedData
Note: This can only be called after the message has been read.
verify() - method in class org.bouncycastle.openpgp.PGPSignature
verify(org.bouncycastle.openpgp.PGPSignature) - method in class org.bouncycastle.openpgp.PGPOnePassSignature
Verify the calculated signature against the passed in PGPSignature.
Verify a key certification, such as a revocation, for the passed in key.
Verify a certification for the passed in key against the passed in master key.
Verify the signature as certifying the passed in public key as associated with the passed in id.
version() - method in class org.bouncycastle.bcpg.attr.ImageAttribute

W

write(byte[],int,int) - method in class org.bouncycastle.bcpg.BCPGOutputStream
write(int) - method in class org.bouncycastle.bcpg.ArmoredOutputStream
write(int) - method in class org.bouncycastle.bcpg.BCPGOutputStream
writeFileToLiteralData(OutputStream,char,File) - static method in class org.bouncycastle.openpgp.PGPUtil
write out the passed in file as a literal data packet.
writeFileToLiteralData(OutputStream,char,File,byte[]) - static method in class org.bouncycastle.openpgp.PGPUtil
write out the passed in file as a literal data packet in partial packet format.
writeObject(org.bouncycastle.bcpg.BCPGObject) - method in class org.bouncycastle.bcpg.BCPGOutputStream

Z

ZIP - static field in class org.bouncycastle.bcpg.CompressionAlgorithmTags
ZLIB - static field in class org.bouncycastle.bcpg.CompressionAlgorithmTags