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

A

addCertification(PGPPublicKey, byte[], PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Add a certification for an id to the given public key.
addCertification(PGPPublicKey, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Add a revocation or some other key certification to a key.
addCertification(PGPPublicKey, PGPUserAttributeSubpacketVector, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Add a certification for the given UserAttributeSubpackets to the given public key.
addCertification(PGPPublicKey, String, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Add a certification for an id to the given public key.
addHeader(String, String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
Set an additional header entry.
addMethod(PGPKeyEncryptionMethodGenerator) - Method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Add a key encryption method to be used to encrypt the session data associated with this encrypted data.
addPublicKeyRing(PGPPublicKeyRingCollection, PGPPublicKeyRing) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return a new collection object containing the contents of the passed in collection and the passed in public key ring.
addSecretKeyRing(PGPSecretKeyRingCollection, PGPSecretKeyRing) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return a new collection object containing the contents of the passed in collection and the passed in secret key ring.
addSubKey(PGPKeyPair) - Method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
Add a sub key to the key ring to be generated with default certification and inheriting the hashed/unhashed packets of the master key.
addSubKey(PGPKeyPair, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector) - Method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
Add a subkey with specific hashed and unhashed packets associated with it and default certification.
AES_128 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
AES_192 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
AES_256 - Static variable in interface 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.
ArmoredInputStreamTest - class org.bouncycastle.openpgp.test.ArmoredInputStreamTest.
 
ArmoredInputStreamTest() - Constructor for class org.bouncycastle.openpgp.test.ArmoredInputStreamTest
 
ArmoredOutputStream - class org.bouncycastle.bcpg.ArmoredOutputStream.
Output stream that writes data in ASCII Armored format.
ArmoredOutputStream(OutputStream) - Constructor for class org.bouncycastle.bcpg.ArmoredOutputStream
Constructs an armored output stream with default headers.
ArmoredOutputStream(OutputStream, Hashtable) - Constructor for class org.bouncycastle.bcpg.ArmoredOutputStream
Constructs an armored output stream with default and custom headers.
ATTESTED_CERTIFICATIONS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
AUTHENTICATION - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
available() - Method in class org.bouncycastle.bcpg.BCPGInputStream
 
available() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
 
available() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
 
available() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
 

B

BCPGInputStream - class org.bouncycastle.bcpg.BCPGInputStream.
Stream 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.
BCPGObject() - Constructor for class org.bouncycastle.bcpg.BCPGObject
 
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.
BcPGPDSAElGamalTest - class org.bouncycastle.openpgp.test.BcPGPDSAElGamalTest.
 
BcPGPDSAElGamalTest() - Constructor for class org.bouncycastle.openpgp.test.BcPGPDSAElGamalTest
 
BcPGPDSATest - class org.bouncycastle.openpgp.test.BcPGPDSATest.
 
BcPGPDSATest() - Constructor for class org.bouncycastle.openpgp.test.BcPGPDSATest
 
BcPGPKeyRingTest - class org.bouncycastle.openpgp.test.BcPGPKeyRingTest.
 
BcPGPKeyRingTest() - Constructor for class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
BcPGPPBETest - class org.bouncycastle.openpgp.test.BcPGPPBETest.
 
BcPGPPBETest() - Constructor for class org.bouncycastle.openpgp.test.BcPGPPBETest
 
BcPGPRSATest - class org.bouncycastle.openpgp.test.BcPGPRSATest.
 
BcPGPRSATest() - Constructor for class org.bouncycastle.openpgp.test.BcPGPRSATest
 
beginClearText(int) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
Start a clear text signed message.
BINARY - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Format tag for binary literal data
BINARY - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
Format tag for binary literal data
BINARY_DOCUMENT - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
BLOWFISH - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
ByteArrayHandler - class org.bouncycastle.openpgp.examples.ByteArrayHandler.
Simple routine to encrypt and decrypt using a passphrase.
ByteArrayHandler() - Constructor for class org.bouncycastle.openpgp.examples.ByteArrayHandler
 
BZIP2 - Static variable in interface org.bouncycastle.bcpg.CompressionAlgorithmTags
BZIP2 compression.

C

CAMELLIA_128 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
CAMELLIA_192 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
CAMELLIA_256 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
CAN_AUTHENTICATE - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
CAN_CERTIFY - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
CAN_ENCRYPT_COMMS - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
CAN_ENCRYPT_STORAGE - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
CAN_SIGN - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
CANONICAL_TEXT_DOCUMENT - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
CAST5 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
CASUAL_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
CERTIFICATION_REVOCATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
CERTIFY_OTHER - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
CLASS_DEFAULT - Static variable in interface org.bouncycastle.bcpg.sig.RevocationKeyTags
 
CLASS_SENSITIVE - Static variable in interface org.bouncycastle.bcpg.sig.RevocationKeyTags
 
ClearSignedFileProcessor - class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor.
A simple utility class that creates clear signed files and verifies them.
ClearSignedFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
 
close() - Method in class org.bouncycastle.bcpg.BCPGOutputStream
 
close() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
Note: close() does not close the underlying stream.
close() - Method in class org.bouncycastle.bcpg.OutputStreamPacket
 
close() - Method in class org.bouncycastle.bcpg.BCPGInputStream
 
close() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
 
close() - Method in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Close the literal data packet - this is equivalent to calling close on the stream returned by the open() method.
close() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Close off the encrypted object - this is equivalent to calling close on the stream returned by the open() methods.
close() - Method in class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Close the compressed object - this is equivalent to calling close on the stream returned by the open() method.
COMPRESSED_DATA - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
CompressedDataPacket - class org.bouncycastle.bcpg.CompressedDataPacket.
A generic compressed data object.
CompressionAlgorithmTags - interface org.bouncycastle.bcpg.CompressionAlgorithmTags.
Basic tags for compression algorithms
CONSOLE - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
The special name indicating a "for your eyes only" packet.
CONSOLE - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
The special name indicating a "for your eyes only" packet.
ContainedPacket - class org.bouncycastle.bcpg.ContainedPacket.
Basic type for a PGP packet.
ContainedPacket() - Constructor for class org.bouncycastle.bcpg.ContainedPacket
 
contains(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return true if a key matching the passed in fingerprint is present, false otherwise.
contains(long) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return true if a key matching the passed in key ID is present, false otherwise.
contains(long) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return true if a key matching the passed in key ID is present, false otherwise.
copyWithNewPassword(PGPSecretKey, PBESecretKeyDecryptor, PBESecretKeyEncryptor) - Static method in class org.bouncycastle.openpgp.PGPSecretKey
Return a copy of the passed in secret key, encrypted using a new password and the passed in algorithm.
copyWithNewPassword(PGPSecretKeyRing, PBESecretKeyDecryptor, PBESecretKeyEncryptor) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return a copy of the passed in secret key ring, with the private keys (where present) associated with the master key and sub keys are 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 variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 

D

data - Variable in class org.bouncycastle.bcpg.UserAttributeSubpacket
 
data - Variable in class org.bouncycastle.bcpg.SignatureSubpacket
 
decrypt(byte[], char[]) - Static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
decrypt the passed in message stream
DEFAULT_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
DES - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
DetachedSignatureProcessor - class org.bouncycastle.openpgp.examples.DetachedSignatureProcessor.
A simple utility class that creates seperate signatures for files and verifies them.
DetachedSignatureProcessor() - Constructor for class org.bouncycastle.openpgp.examples.DetachedSignatureProcessor
 
DIFFIE_HELLMAN - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
DIRECT_KEY - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
DirectKeySignature - class org.bouncycastle.openpgp.examples.DirectKeySignature.
A simple utility class that directly signs a public key and writes the signed key to "SignedKey.asc" in the current working directory.
DirectKeySignature() - Constructor for class org.bouncycastle.openpgp.examples.DirectKeySignature
 
DOUBLE_SHA - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
DSA - Static variable in interface 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.
DSAElGamalKeyRingGenerator() - Constructor for class org.bouncycastle.openpgp.examples.DSAElGamalKeyRingGenerator
 
DSAPublicBCPGKey - class org.bouncycastle.bcpg.DSAPublicBCPGKey.
base class for a DSA Public Key.
DSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
DSAPublicBCPGKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
DSASecretBCPGKey - class org.bouncycastle.bcpg.DSASecretBCPGKey.
base class for a DSA Secret Key.
DSASecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.DSASecretBCPGKey
 
DSASecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.DSASecretBCPGKey
 

E

EC - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
Deprecated. use ECDH
ECDH - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
ECDHPublicBCPGKey - class org.bouncycastle.bcpg.ECDHPublicBCPGKey.
base class for an ECDH Public Key.
ECDHPublicBCPGKey(ASN1ObjectIdentifier, BigInteger, int, int) - Constructor for class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
ECDHPublicBCPGKey(ASN1ObjectIdentifier, ECPoint, int, int) - Constructor for class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
ECDHPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
ECDSA - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
ECDSAPublicBCPGKey - class org.bouncycastle.bcpg.ECDSAPublicBCPGKey.
base class for an ECDSA Public Key.
ECDSAPublicBCPGKey(ASN1ObjectIdentifier, BigInteger) - Constructor for class org.bouncycastle.bcpg.ECDSAPublicBCPGKey
 
ECDSAPublicBCPGKey(ASN1ObjectIdentifier, ECPoint) - Constructor for class org.bouncycastle.bcpg.ECDSAPublicBCPGKey
 
ECDSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ECDSAPublicBCPGKey
 
ECPublicBCPGKey - class org.bouncycastle.bcpg.ECPublicBCPGKey.
base class for an EC Public Key.
ECPublicBCPGKey(ASN1ObjectIdentifier, BigInteger) - Constructor for class org.bouncycastle.bcpg.ECPublicBCPGKey
 
ECPublicBCPGKey(ASN1ObjectIdentifier, ECPoint) - Constructor for class org.bouncycastle.bcpg.ECPublicBCPGKey
 
ECPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ECPublicBCPGKey
 
ECSecretBCPGKey - class org.bouncycastle.bcpg.ECSecretBCPGKey.
base class for an EC Secret Key.
ECSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ECSecretBCPGKey
 
ECSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.ECSecretBCPGKey
 
EDDSA - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EdDSAPublicBCPGKey - class org.bouncycastle.bcpg.EdDSAPublicBCPGKey.
base class for an EdDSA Public Key.
EdDSAPublicBCPGKey(ASN1ObjectIdentifier, BigInteger) - Constructor for class org.bouncycastle.bcpg.EdDSAPublicBCPGKey
 
EdDSAPublicBCPGKey(ASN1ObjectIdentifier, ECPoint) - Constructor for class org.bouncycastle.bcpg.EdDSAPublicBCPGKey
 
EdDSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.EdDSAPublicBCPGKey
 
EdSecretBCPGKey - class org.bouncycastle.bcpg.EdSecretBCPGKey.
base class for an Edwards Curve Secret Key.
EdSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.EdSecretBCPGKey
 
EdSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.EdSecretBCPGKey
 
ELGAMAL_ENCRYPT - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
ELGAMAL_GENERAL - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
ElGamalPublicBCPGKey - class org.bouncycastle.bcpg.ElGamalPublicBCPGKey.
base class for an ElGamal Public Key.
ElGamalPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
 
ElGamalPublicBCPGKey(BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
 
ElGamalSecretBCPGKey - class org.bouncycastle.bcpg.ElGamalSecretBCPGKey.
base class for an ElGamal Secret Key.
ElGamalSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
 
ElGamalSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
 
EMBEDDED_SIGNATURE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
EmbeddedSignature - class org.bouncycastle.bcpg.sig.EmbeddedSignature.
Packet embedded signature
EmbeddedSignature(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.EmbeddedSignature
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.BCPGObject
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ContainedPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ExperimentalPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.UserAttributePacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.TrustPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.UserIDPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SecretSubkeyPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.MarkerPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PublicKeyPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PublicSubkeyPacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ModDetectionCodePacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SignaturePacket
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.MPInteger
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.S2K
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.RSASecretBCPGKey
 
encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
 
encode(OutputStream) - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
 
encode(OutputStream) - Method in class org.bouncycastle.bcpg.SignatureSubpacket
 
encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPKeyRing
 
encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
 
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.PGPSecretKey
 
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.PGPSecretKeyRingCollection
 
encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSignature
 
encode(OutputStream, boolean) - Method in class org.bouncycastle.openpgp.PGPPublicKey
Encode the key to outStream, with trust packets stripped out if forTransfer is true.
encode(OutputStream, boolean) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Encode the key ring to outStream, with trust packets stripped out if forTransfer is true.
encode(OutputStream, boolean) - Method in class org.bouncycastle.openpgp.PGPSignature
Encode the signature to outStream, with trust packets stripped out if forTransfer is true.
ENCRYPT_COMMS - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
ENCRYPT_STORAGE - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
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.bcpg.UserAttributeSubpacket
 
equals(Object) - Method in class org.bouncycastle.bcpg.UserIDPacket
 
equals(Object) - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
 
EXPERIMENTAL_1 - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
EXPERIMENTAL_1 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_10 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_11 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_2 - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
EXPERIMENTAL_2 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_3 - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
EXPERIMENTAL_3 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_4 - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
EXPERIMENTAL_4 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_5 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_6 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_7 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_8 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
EXPERIMENTAL_9 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
ExperimentalPacket - class org.bouncycastle.bcpg.ExperimentalPacket.
basic packet for an experimental packet.
EXPIRE_TIME - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
Exportable - class org.bouncycastle.bcpg.sig.Exportable.
packet giving signature creation time.
EXPORTABLE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
Exportable(boolean, boolean) - Constructor for class org.bouncycastle.bcpg.sig.Exportable
 
Exportable(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Exportable
 
extractKeyPair(PBESecretKeyDecryptor) - Method in class org.bouncycastle.openpgp.PGPSecretKey
Extract a PGPPrivate key from the SecretKey's encrypted contents.
extractPrivateKey(PBESecretKeyDecryptor) - Method in class org.bouncycastle.openpgp.PGPSecretKey
Extract a PGPPrivate key from the SecretKey's encrypted contents.

F

FEATURE_MODIFICATION_DETECTION - Static variable in class org.bouncycastle.bcpg.sig.Features
Identifier for the modification detection feature
Features - class org.bouncycastle.bcpg.sig.Features.
 
FEATURES - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
Features(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Features
 
Features(boolean, byte) - Constructor for class org.bouncycastle.bcpg.sig.Features
 
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.BCPGOutputStream
Flush the underlying stream.
flush() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
 
fromByteArray(byte[]) - Static method in class org.bouncycastle.bcpg.SignaturePacket
 

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.PGPV3SignatureGenerator
Return a V3 signature object containing the current signature state.
generate() - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
 
generate() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
generateCertification(PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Generate a certification, such as a revocation, for the passed in key.
generateCertification(PGPPublicKey, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Generate a certification for the passed in key against the passed in master key.
generateCertification(PGPUserAttributeSubpacketVector, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Generate a certification for the passed in userAttributes
generateCertification(String, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
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.
generateSha1Test() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
generateTest() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
generateTest(PGPSecretKeyRing, PGPPublicKey, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.test.PGPDSATest
 
generateTest(PGPSecretKeyRing, PGPPublicKey, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.test.BcPGPDSATest
Generated signature test
get(int) - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
 
get(int) - Method in class org.bouncycastle.openpgp.PGPSignatureList
 
get(int) - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
Gets the encryption method object at the specified index.
getAlgorithm() - Method in class org.bouncycastle.bcpg.CompressedDataPacket
Gets the compression algorithm used for this packet.
getAlgorithm() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
getAlgorithm() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
 
getAlgorithm() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
 
getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return the algorithm code associated with the public key.
getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPCompressedData
Return the compression algorithm used for this packet.
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.
getCause() - Method in class org.bouncycastle.openpgp.PGPException
 
getCause() - Method in class org.bouncycastle.openpgp.PGPRuntimeOperationException
 
getContents() - Method in class org.bouncycastle.bcpg.ExperimentalPacket
 
getCreationTime() - Method in class org.bouncycastle.bcpg.SignaturePacket
Return the creation time of the signature in milli-seconds.
getCreationTime() - Method in class org.bouncycastle.openpgp.PGPPublicKey
 
getCreationTime() - Method in class org.bouncycastle.openpgp.PGPSignature
Return the creation time of the signature.
getCriticalTags() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getCrtCoefficient() - Method in class org.bouncycastle.bcpg.RSASecretBCPGKey
return the crt coefficient
getCurveOID() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
 
getData() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
return the generic data making up the packet.
getData() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
return the generic data making up the packet.
getDataStream() - Method in class org.bouncycastle.openpgp.PGPCompressedData
Return an input stream that decompresses and returns data in the compressed packet.
getDataStream() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the input stream representing the data stream.
getDataStream(PBEDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
Open an input stream which will provide the decrypted data protected by this object.
getDataStream(PublicKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
Open an input stream which will provide the decrypted data protected by this object.
getDecoderStream(InputStream) - Static method in class org.bouncycastle.openpgp.PGPUtil
Obtains a stream that can be used to read PGP data from the provided stream.
getDefaultProvider() - Static method in class org.bouncycastle.openpgp.PGPUtil
Deprecated. unused
getDepth() - Method in class org.bouncycastle.bcpg.sig.TrustSignature
 
getDigest() - Method in class org.bouncycastle.bcpg.ModDetectionCodePacket
 
getDigestName(int) - Static method in class org.bouncycastle.openpgp.PGPUtil
Return an appropriate name for the hash algorithm represented by the passed in hash algorithm ID number.
getEmbeddedSignatures() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getEncAlgorithm() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getEncAlgorithm() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
getEncoded() - Method in class org.bouncycastle.bcpg.BCPGObject
 
getEncoded() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
return the standard PGP encoding of the key.
getEncoded() - Method in class org.bouncycastle.bcpg.ContainedPacket
 
getEncoded() - Method in interface 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.DSAPublicBCPGKey
return the standard PGP encoding of the key.
getEncoded() - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
return the standard PGP encoding of the key.
getEncoded() - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
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.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.RSASecretBCPGKey
return the standard PGP encoding of the key.
getEncoded() - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
return the standard PGP encoding of the key.
getEncoded() - Method in class org.bouncycastle.openpgp.PGPKeyRing
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKey
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKey
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
 
getEncoded() - Method in class org.bouncycastle.openpgp.PGPSignature
 
getEncoded(boolean) - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return an encoding of the key, with trust packets stripped out if forTransfer is true.
getEncoded(boolean) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return an encoding of the key ring, with trust packets stripped out if forTransfer is true.
getEncoded(boolean) - Method in class org.bouncycastle.openpgp.PGPSignature
Return an encoding of the signature, with trust packets stripped out if forTransfer is true.
getEncodedContents() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getEncodedContents() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
 
getEncodedPoint() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
 
getEncoding() - Method in class org.bouncycastle.bcpg.attr.ImageAttribute
 
getEncryptedDataObjects() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
Returns an iterator over the encryption method objects held in this list, in the order they appeared in the stream they are read from.
getEncSessionKey() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
getExtraPublicKeys() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return an iterator of the public keys in the secret key ring that have no matching private key.
getFeatures() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getFileName() - Method in class org.bouncycastle.bcpg.LiteralDataPacket
Return the file name associated with the data packet.
getFileName() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the file name associated with the data packet.
getFingerprint() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
 
getFingerprint() - Method in class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
 
getFingerprint() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
 
getFingerprint() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return the fingerprint of the key.
getFlags() - Method in class org.bouncycastle.bcpg.sig.KeyFlags
Return the flag values contained in the first 4 octets (note: at the moment the standard only uses the first one).
getFormat() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
return "PGP"
getFormat() - Method in interface 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.ECSecretBCPGKey
return "PGP"
getFormat() - Method in class org.bouncycastle.bcpg.LiteralDataPacket
Return the format tag of the data packet.
getFormat() - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
return "PGP"
getFormat() - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
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.RSASecretBCPGKey
return "PGP"
getFormat() - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
return "PGP"
getFormat() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the format of the data packet.
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.ECDHPublicBCPGKey
 
getHashAlgorithm() - Method in class org.bouncycastle.bcpg.SignaturePacket
return the hashAlgorithm tag
getHashAlgorithm() - Method in class org.bouncycastle.bcpg.S2K
Gets the hash algorithm for this S2K.
getHashAlgorithm() - Method in class org.bouncycastle.bcpg.sig.SignatureTarget
 
getHashAlgorithm() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
getHashAlgorithm() - Method in class org.bouncycastle.openpgp.PGPKdfParameters
 
getHashAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSignature
Return the hash algorithm associated with this signature.
getHashData() - Method in class org.bouncycastle.bcpg.sig.SignatureTarget
 
getHashedSubPackets() - Method in class org.bouncycastle.bcpg.SignaturePacket
 
getHashedSubPackets() - Method in class org.bouncycastle.openpgp.PGPSignature
 
getID() - Method in class org.bouncycastle.bcpg.UserIDPacket
 
getID() - Method in class org.bouncycastle.bcpg.sig.SignerUserID
 
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
Obtains an input stream to read the contents of the packet.
getInputStream() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
Return the raw input stream for the data stream.
getInputStream() - Method in class org.bouncycastle.openpgp.PGPCompressedData
Return the raw input stream contained in the object.
getInputStream() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the raw input stream for the data packet.
getIntendedRecipientFingerprint() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getIssuerFingerprint() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getIssuerKeyID() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getIterationCount() - Method in class org.bouncycastle.bcpg.S2K
Gets the actual (expanded) iteration count.
getIV() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getIV() - Method in class org.bouncycastle.bcpg.S2K
Gets the iv/salt to use for the key generation.
getKey() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
 
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
getKeyAlgorithm() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
getKeyAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSignature
Return the key algorithm associated with this signature.
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.OnePassSignaturePacket
 
getKeyID() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
getKeyID() - Method in class org.bouncycastle.bcpg.SignaturePacket
return the keyID
getKeyID() - Method in class org.bouncycastle.bcpg.sig.IssuerKeyID
 
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.PGPOnePassSignature
 
getKeyID() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return the keyID associated with the public key.
getKeyID() - Method in class org.bouncycastle.openpgp.PGPPrivateKey
Return the keyID associated with the contained private key.
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.PGPKeyPair
Return the keyID associated with this key pair.
getKeyID() - Method in class org.bouncycastle.openpgp.PGPSignature
Return the id of the key that created the signature.
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.
getKeyRings(String, boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getKeyRings(String, boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return an iterator of the key rings associated with the passed in userID.
getKeySignatures() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return all signatures/certifications directly associated with this key (ie, not to a user id).
getKeysWithSignaturesBy(long) - Method in class org.bouncycastle.openpgp.PGPKeyRing
Return an iterator containing all the public keys carrying signatures issued from key keyID.
getKeysWithSignaturesBy(long) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return any keys carrying a signature issued by the key represented by keyID.
getKeysWithSignaturesBy(long) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return any keys carrying a signature issued by the key represented by keyID.
getKeysWithSignaturesBy(long) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return any keys carrying a signature issued by the key represented by keyID.
getKeyVersion() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
 
getKeyVersion() - Method in class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
 
getLevelAndTrustAmount() - Method in class org.bouncycastle.bcpg.TrustPacket
 
getModificationTime() - Method in class org.bouncycastle.bcpg.LiteralDataPacket
Return the modification time for the file (milliseconds at second level precision).
getModificationTime() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the modification time for the file (at second level precision).
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.PGPArmoredTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPDSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.BcPGPDSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPPacketTest
 
getName() - Method in class org.bouncycastle.openpgp.test.BcPGPRSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPUtilTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
 
getName() - Method in class org.bouncycastle.openpgp.test.BcPGPDSAElGamalTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPECDSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPNoPrivateKeyTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPParsingTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPClearSignedSignatureTest
 
getName() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPECDHTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPPBETest
 
getName() - Method in class org.bouncycastle.openpgp.test.BcPGPPBETest
 
getName() - Method in class org.bouncycastle.openpgp.test.ArmoredInputStreamTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPECMessageTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPMarkerTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPEdDSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.SExprTest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPRSATest
 
getName() - Method in class org.bouncycastle.openpgp.test.PGPSignatureTest
 
getNotationDataOccurences() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Deprecated. use getNotationDataOccurrences()
getNotationDataOccurrences() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getNotationName() - Method in class org.bouncycastle.bcpg.sig.NotationData
 
getNotationValue() - Method in class org.bouncycastle.bcpg.sig.NotationData
 
getNotationValueBytes() - Method in class org.bouncycastle.bcpg.sig.NotationData
 
getP() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
getP() - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
 
getPreferences() - Method in class org.bouncycastle.bcpg.sig.PreferredAlgorithms
 
getPreferredCompressionAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getPreferredHashAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getPreferredSymmetricAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
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
 
getPrivateKeyDataPacket() - Method in class org.bouncycastle.openpgp.PGPPrivateKey
Return the private key packet associated with this private key, if available.
getProtectionMode() - Method in class org.bouncycastle.bcpg.S2K
Gets the protection mode - only if GNU_DUMMY_S2K
getPublicExponent() - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
 
getPublicKey() - Method in class org.bouncycastle.openpgp.PGPKeyRing
Return the first public key in the ring.
getPublicKey() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the public key for the master key.
getPublicKey() - Method in class org.bouncycastle.openpgp.PGPSecretKey
Return the public key associated with this key.
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(byte[]) - Method in class org.bouncycastle.openpgp.PGPKeyRing
Return the public key with the passed in fingerprint if it is present.
getPublicKey(byte[]) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the public key with the passed in fingerprint if it is present.
getPublicKey(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return the public key with the passed in fingerprint if it is present.
getPublicKey(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return the PGP public key associated with the given key fingerprint.
getPublicKey(long) - Method in class org.bouncycastle.openpgp.PGPKeyRing
Return the public key referred to by the passed in keyID if it is present.
getPublicKey(long) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the public key referred to by the passed in keyID if it is present.
getPublicKey(long) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return the public key referred 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.
getPublicKeyAlgorithm() - Method in class org.bouncycastle.bcpg.sig.SignatureTarget
 
getPublicKeyPacket() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getPublicKeyPacket() - Method in class org.bouncycastle.openpgp.PGPPublicKey
 
getPublicKeyPacket() - Method in class org.bouncycastle.openpgp.PGPPrivateKey
Return the public key packet associated with this private key, if available.
getPublicKeyRing(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return the PGP public key associated with the given key fingerprint.
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.PGPKeyRing
Return an iterator containing all the public keys.
getPublicKeys() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return an iterator containing all the public keys.
getPublicKeys() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Return an iterator containing all the public keys.
getQ() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
getRawFileName() - Method in class org.bouncycastle.bcpg.LiteralDataPacket
Return the file name as an uninterpreted byte array.
getRawFileName() - Method in class org.bouncycastle.openpgp.PGPLiteralData
Return the file name as an uninterpreted (UTF-8 encoded) byte array.
getRawID() - Method in class org.bouncycastle.bcpg.UserIDPacket
 
getRawID() - Method in class org.bouncycastle.bcpg.sig.SignerUserID
 
getRawUserIDs() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return any userIDs associated with the key in raw byte form.
getReserved() - Method in class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
getRevocationDescription() - Method in class org.bouncycastle.bcpg.sig.RevocationReason
 
getRevocationReason() - Method in class org.bouncycastle.bcpg.sig.RevocationReason
 
getS2K() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getS2K() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
getS2K() - Method in class org.bouncycastle.openpgp.PGPSecretKey
Return the S2K used to process this key
getS2KUsage() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
 
getS2KUsage() - Method in class org.bouncycastle.openpgp.PGPSecretKey
Return the S2K usage associated with this key.
getSecKeyData() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
getSecretKey() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the master private key.
getSecretKey(byte[]) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the secret key associated with the passed in fingerprint if it is present.
getSecretKey(long) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Return the secret key referred to by the passed in keyID if it is present.
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.bcpg.SignaturePacket
return the signature as a set of integers - note this is normalised to be the ASN.1 encoding of what appears in the signature packet.
getSignature() - Method in class org.bouncycastle.openpgp.PGPSignature
 
getSignatureBytes() - Method in class org.bouncycastle.bcpg.SignaturePacket
Return the byte encoding of the signature section.
getSignatureClass() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
 
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.
getSignatureName(int, int) - Static method in class org.bouncycastle.openpgp.PGPUtil
Return an appropriate name for the signature algorithm represented by the passed in public key and hash algorithm ID numbers.
getSignatures() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return all signatures/certifications associated with this key.
getSignaturesForID(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return any signatures associated with the passed in id.
getSignaturesForID(String) - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return any signatures associated with the passed in id.
getSignaturesForKeyID(long) - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return any signatures associated with the passed in key identifier keyID.
getSignaturesForUserAttribute(PGPUserAttributeSubpacketVector) - Method in class org.bouncycastle.openpgp.PGPPublicKey
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.
getSignatureTarget() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
getSignatureTrailer() - Method in class org.bouncycastle.bcpg.SignaturePacket
return the signature trailer that must be included with the data to reconstruct the signature
getSignatureTrailer() - Method in class org.bouncycastle.openpgp.PGPSignature
 
getSignatureType() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
Return the signature type.
getSignatureType() - Method in class org.bouncycastle.bcpg.SignaturePacket
return the signature type.
getSignatureType() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
getSignatureType() - Method in class org.bouncycastle.openpgp.PGPSignature
 
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
 
getSubpackets(int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return all signature subpackets of the passed in type.
getSymmetricAlgorithm(PBEDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
Return the symmetric key algorithm required to decrypt the data protected by this object.
getSymmetricAlgorithm(PublicKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
Return the symmetric key algorithm required to decrypt the data protected by this object.
getSymmetricCipherName(int) - Static method in class org.bouncycastle.openpgp.PGPUtil
Return an appropriate name for the symmetric algorithm represented by the passed in symmetric algorithm ID number.
getSymmetricKeyAlgorithm() - Method in class org.bouncycastle.bcpg.ECDHPublicBCPGKey
 
getSymmetricWrapAlgorithm() - Method in class org.bouncycastle.openpgp.PGPKdfParameters
 
getTag() - Method in class org.bouncycastle.bcpg.ExperimentalPacket
 
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.
getTime() - Method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
Return the number of seconds after creation time a key is valid for.
getTrustAmount() - Method in class org.bouncycastle.bcpg.sig.TrustSignature
 
getTrustData() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return the trust data associated with the public key, if present.
getType() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
 
getType() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
 
getType() - Method in class org.bouncycastle.bcpg.S2K
Gets the digest algorithm specified.
getUnderlyingException() - Method in class org.bouncycastle.openpgp.PGPException
 
getUnhashedSubPackets() - Method in class org.bouncycastle.bcpg.SignaturePacket
 
getUnhashedSubPackets() - Method in class org.bouncycastle.openpgp.PGPSignature
 
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.bcpg.PublicKeyPacket
 
getValidDays() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Deprecated. use getValidSeconds(): greater than version 3 keys may be valid for less than a day.
getValidSeconds() - Method in class org.bouncycastle.openpgp.PGPPublicKey
 
getValue() - Method in class org.bouncycastle.bcpg.CRC24
 
getValue() - Method in class org.bouncycastle.bcpg.MPInteger
 
getVersion() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
getVersion() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
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.openpgp.PGPPublicKey
 
getVersion() - Method in class org.bouncycastle.openpgp.PGPSignature
Return the OpenPGP version number for this signature.
getX() - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
 
getX() - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
 
getX() - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
 
getX() - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
 
getY() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
 
getY() - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
 
GNU_DUMMY_S2K - Static variable in class org.bouncycastle.bcpg.S2K
 
GNU_PROTECTION_MODE_DIVERT_TO_CARD - Static variable in class org.bouncycastle.bcpg.S2K
 
GNU_PROTECTION_MODE_NO_PRIVATE_KEY - Static variable in class org.bouncycastle.bcpg.S2K
 

H

HashAlgorithmTags - interface org.bouncycastle.bcpg.HashAlgorithmTags.
basic tags for hash algorithms
hashCode() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
 
hashCode() - Method in class org.bouncycastle.bcpg.UserIDPacket
 
hashCode() - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
 
hasRevocation() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Check whether this (sub)key has a revocation signature on it.
hasSubpacket(int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return true if a particular subpacket type exists.
hasSubpackets() - Method in class org.bouncycastle.openpgp.PGPSignature
Return true if the signature has either hashed or unhashed subpackets.
HAVAL_5_160 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
HEADER_FLAG_LENGTH - Static variable in class org.bouncycastle.bcpg.sig.NotationData
 
HEADER_NAME_LENGTH - Static variable in class org.bouncycastle.bcpg.sig.NotationData
 
HEADER_VALUE_LENGTH - Static variable in class org.bouncycastle.bcpg.sig.NotationData
 

I

IDEA - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
IMAGE_ATTRIBUTE - Static variable in interface org.bouncycastle.bcpg.UserAttributeSubpacketTags
 
ImageAttribute - class org.bouncycastle.bcpg.attr.ImageAttribute.
Basic type for a image attribute packet.
ImageAttribute(boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.attr.ImageAttribute
 
ImageAttribute(byte[]) - Constructor for class org.bouncycastle.bcpg.attr.ImageAttribute
 
ImageAttribute(int, byte[]) - Constructor for class org.bouncycastle.bcpg.attr.ImageAttribute
 
init(int, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
Initialise the generator for signing.
init(int, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Initialise the generator for signing.
init(PGPContentVerifierBuilderProvider, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
Initialise the signature object for verification.
init(PGPContentVerifierBuilderProvider, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
 
InputStreamPacket - class org.bouncycastle.bcpg.InputStreamPacket.
A block of data associated with other packets in a PGP object stream.
InputStreamPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.InputStreamPacket
 
insertPublicKey(PGPPublicKeyRing, PGPPublicKey) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Returns a new key ring with the public key passed in either added or replacing an existing one.
insertSecretKey(PGPSecretKeyRing, PGPSecretKey) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Returns a new key ring with the secret key passed in either added or replacing an existing one with the same key ID.
INTENDED_RECIPIENT_FINGERPRINT - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
IntendedRecipientFingerprint - class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint.
packet giving the intended recipient fingerprint.
IntendedRecipientFingerprint(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
 
IntendedRecipientFingerprint(boolean, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
 
isCertification() - Method in class org.bouncycastle.openpgp.PGPSignature
Return true if this signature represents a certification.
isCertification(int) - Static method in class org.bouncycastle.openpgp.PGPSignature
Return true if the passed in signature type represents a certification, false if the signature type is not.
isClearText() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
 
isCritical() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
 
isEmpty() - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
 
isEmpty() - Method in class org.bouncycastle.openpgp.PGPSignatureList
 
isEmpty() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
Returns true iff there are 0 encryption methods in this list.
isEncryptionKey() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return true if this key has an algorithm type that makes it suitable to use for encryption.
isEndOfStream() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
 
isExportable() - Method in class org.bouncycastle.bcpg.sig.Exportable
 
isHumanReadable() - Method in class org.bouncycastle.bcpg.sig.NotationData
 
isIntegrityProtected() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
Checks whether the packet is integrity protected.
isKeyBox(byte[]) - Static method in class org.bouncycastle.openpgp.PGPUtil
Return true if the byte[] blob probably represents key box data.
isKeyRing(byte[]) - Static method in class org.bouncycastle.openpgp.PGPUtil
Return true if the byte[] blob probably represents key ring data.
isLongLength() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
 
isMasterKey() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Return true if this could be 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
 
isPrimaryUserID() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
 
isPrivateKeyEmpty() - Method in class org.bouncycastle.openpgp.PGPSecretKey
Detect if the Secret Key's Private Key is empty or not
isRevocable() - Method in class org.bouncycastle.bcpg.sig.Revocable
 
isRevoked() - Method in class org.bouncycastle.openpgp.PGPPublicKey
Deprecated. this method is poorly named, use hasRevocation().
isSigningKey() - Method in class org.bouncycastle.openpgp.PGPSecretKey
Return true if this key has an algorithm type that makes it suitable to use for signing.
ISSUER_FINGERPRINT - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
ISSUER_KEY_ID - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
IssuerFingerprint - class org.bouncycastle.bcpg.sig.IssuerFingerprint.
packet giving the issuer key fingerprint.
IssuerFingerprint(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IssuerFingerprint
 
IssuerFingerprint(boolean, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IssuerFingerprint
 
IssuerKeyID - class org.bouncycastle.bcpg.sig.IssuerKeyID.
packet giving the issuer key ID.
IssuerKeyID(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID
 
IssuerKeyID(boolean, long) - Constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID
 
iterator() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPSignatureList
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPObjectFactory
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Support method for Iterable where available.
iterator() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Support method for Iterable where available.

J

JPEG - Static variable in class org.bouncycastle.bcpg.attr.ImageAttribute
 

K

KEY_COMPROMISED - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
 
KEY_EXPIRE_TIME - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
KEY_FLAGS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
KEY_RETIRED - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
 
KEY_REVOCATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
KEY_SERVER_PREFS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
KEY_SUPERSEDED - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
 
KeyBasedFileProcessor - class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor.
A simple utility class that encrypts/decrypts public key based encryption files.
KeyBasedFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor
 
KeyBasedLargeFileProcessor - class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor.
A simple utility class that encrypts/decrypts public key based encryption large files.
KeyBasedLargeFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor
 
KeyExpirationTime - class org.bouncycastle.bcpg.sig.KeyExpirationTime.
packet giving time after creation at which the key expires.
KeyExpirationTime(boolean, 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, 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 variable in interface 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.DetachedSignatureProcessor
 
main(String[]) - Static method in class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
 
main(String[]) - Static method in class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
 
main(String[]) - Static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
 
main(String[]) - Static method in class org.bouncycastle.openpgp.examples.SignedFileProcessor
 
main(String[]) - Static method in class org.bouncycastle.openpgp.examples.DirectKeySignature
 
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.examples.PubringDump
 
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.test.PGPCompressionTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPArmoredTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPDSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.BcPGPDSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPPacketTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.BcPGPRSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPUtilTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.BcPGPDSAElGamalTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPECDSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPNoPrivateKeyTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPParsingTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPClearSignedSignatureTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPECDHTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPPBETest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.BcPGPPBETest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.ArmoredInputStreamTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPECMessageTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.RegressionTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPMarkerTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPEdDSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.SExprTest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPRSATest
 
main(String[]) - Static method in class org.bouncycastle.openpgp.test.PGPSignatureTest
 
makeRandomKey(int, SecureRandom) - Static method in class org.bouncycastle.openpgp.PGPUtil
Generates a random key for a symmetric encryption algorithm .
MARKER - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
MarkerPacket - class org.bouncycastle.bcpg.MarkerPacket.
Basic type for a marker packet
MarkerPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.MarkerPacket
 
MAYBE_SHARED - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
MAYBE_SPLIT - Static variable in interface org.bouncycastle.openpgp.PGPKeyFlags
 
MD2 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
MD5 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
MOD_DETECTION_CODE - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
ModDetectionCodePacket - class org.bouncycastle.bcpg.ModDetectionCodePacket.
basic packet for a modification detection code packet.
ModDetectionCodePacket(byte[]) - Constructor for class org.bouncycastle.bcpg.ModDetectionCodePacket
 
MPInteger - class org.bouncycastle.bcpg.MPInteger.
a multiple precision integer
MPInteger(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.MPInteger
 
MPInteger(BigInteger) - 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 of stream is reached.
nextPacketTag() - Method in class org.bouncycastle.bcpg.BCPGInputStream
Obtains the tag of the next packet in the stream.
NO_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
NO_REASON - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
 
NOTATION_DATA - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
NotationData - class org.bouncycastle.bcpg.sig.NotationData.
Class provided a NotationData object according to RFC2440, Chapter 5.2.3.15.
NotationData(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.NotationData
 
NotationData(boolean, boolean, String, String) - Constructor for class org.bouncycastle.bcpg.sig.NotationData
 
NOW - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
The special time for a modification time of "now" or the present time.
NOW - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
The special time for a modification time of "now" or the present time.
NULL - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 

O

ONE_PASS_SIGNATURE - Static variable in interface 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
Create an OutputStream which will encrypt the data as it is written to it.
open(OutputStream, byte[]) - Method in class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Return an OutputStream which will compress 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 indefinite-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
Create an OutputStream based on the configured methods to write a single encrypted object of known length.
org.bouncycastle.bcpg - package org.bouncycastle.bcpg
Low level classes for dealing with OpenPGP objects.
org.bouncycastle.bcpg.attr - package org.bouncycastle.bcpg.attr
Low level classes for dealing with OpenPGP user attributes.
org.bouncycastle.bcpg.sig - package org.bouncycastle.bcpg.sig
Low level classes for dealing with OpenPGP signature attributes.
org.bouncycastle.openpgp - package org.bouncycastle.openpgp
High level classes for dealing with OpenPGP objects.
org.bouncycastle.openpgp.examples - package org.bouncycastle.openpgp.examples
Examples of use of the org.bouncycastle.openpgp package.
org.bouncycastle.openpgp.test - package org.bouncycastle.openpgp.test
Regression tests and further examples of use for the org.bouncycastle.openpgp package.
out - Variable in class org.bouncycastle.bcpg.OutputStreamPacket
 
OutputStreamPacket - class org.bouncycastle.bcpg.OutputStreamPacket.
 
OutputStreamPacket(BCPGOutputStream) - Constructor for class org.bouncycastle.bcpg.OutputStreamPacket
 

P

Packet - class org.bouncycastle.bcpg.Packet.
 
Packet() - Constructor for class org.bouncycastle.bcpg.Packet
 
PacketTags - interface org.bouncycastle.bcpg.PacketTags.
Basic PGP packet tag types.
parseSecretKeyFromSExpr(InputStream, PBEProtectionRemoverFactory, KeyFingerPrintCalculator) - Static method in class org.bouncycastle.openpgp.PGPSecretKey
Deprecated. use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.
parseSecretKeyFromSExpr(InputStream, PBEProtectionRemoverFactory, PGPPublicKey) - Static method in class org.bouncycastle.openpgp.PGPSecretKey
Deprecated. use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.
PBEFileProcessor - class org.bouncycastle.openpgp.examples.PBEFileProcessor.
A simple utility class that encrypts/decrypts password based encryption files.
PBEFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.PBEFileProcessor
 
perform() - Method in class org.bouncycastle.openpgp.test.PGPMarkerTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPCompressionTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPArmoredTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPDSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.BcPGPDSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPPacketTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.BcPGPRSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPUtilTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.BcPGPDSAElGamalTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPECDSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPNoPrivateKeyTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPParsingTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPClearSignedSignatureTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPECDHTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPPBETest
 
performTest() - Method in class org.bouncycastle.openpgp.test.BcPGPPBETest
 
performTest() - Method in class org.bouncycastle.openpgp.test.ArmoredInputStreamTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPECMessageTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPEdDSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.SExprTest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPRSATest
 
performTest() - Method in class org.bouncycastle.openpgp.test.PGPSignatureTest
 
PGPAlgorithmParameters - interface org.bouncycastle.openpgp.PGPAlgorithmParameters.
 
PGPArmoredTest - class org.bouncycastle.openpgp.test.PGPArmoredTest.
 
PGPArmoredTest() - Constructor for class org.bouncycastle.openpgp.test.PGPArmoredTest
 
PGPClearSignedSignatureTest - class org.bouncycastle.openpgp.test.PGPClearSignedSignatureTest.
 
PGPClearSignedSignatureTest() - Constructor for class org.bouncycastle.openpgp.test.PGPClearSignedSignatureTest
 
PGPCompressedData - class org.bouncycastle.openpgp.PGPCompressedData.
A PGP compressed data object.
PGPCompressedData(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPCompressedData
Construct a compressed data object, reading a single PacketTags.COMPRESSED_DATA packet from the stream.
PGPCompressedData(byte[]) - Constructor for class org.bouncycastle.openpgp.PGPCompressedData
Construct a PGP compressed data object from the passed in byte array.
PGPCompressedData(InputStream) - Constructor for class org.bouncycastle.openpgp.PGPCompressedData
Construct a PGP compressed data object from the passed in input stream.
PGPCompressedDataGenerator - class org.bouncycastle.openpgp.PGPCompressedDataGenerator.
Generator for producing compressed data packets.
PGPCompressedDataGenerator(int) - Constructor for class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Construct a new compressed data generator.
PGPCompressedDataGenerator(int, int) - Constructor for class org.bouncycastle.openpgp.PGPCompressedDataGenerator
Construct a new compressed data generator.
PGPCompressionTest - class org.bouncycastle.openpgp.test.PGPCompressionTest.
 
PGPCompressionTest() - Constructor for class org.bouncycastle.openpgp.test.PGPCompressionTest
 
PGPDataValidationException - exception org.bouncycastle.openpgp.PGPDataValidationException.
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.
 
PGPDSAElGamalTest() - Constructor for class org.bouncycastle.openpgp.test.PGPDSAElGamalTest
 
PGPDSATest - class org.bouncycastle.openpgp.test.PGPDSATest.
 
PGPDSATest() - Constructor for class org.bouncycastle.openpgp.test.PGPDSATest
 
PGPECDHTest - class org.bouncycastle.openpgp.test.PGPECDHTest.
 
PGPECDHTest() - Constructor for class org.bouncycastle.openpgp.test.PGPECDHTest
 
PGPECDSATest - class org.bouncycastle.openpgp.test.PGPECDSATest.
 
PGPECDSATest() - Constructor for class org.bouncycastle.openpgp.test.PGPECDSATest
 
PGPECMessageTest - class org.bouncycastle.openpgp.test.PGPECMessageTest.
 
PGPECMessageTest() - Constructor for class org.bouncycastle.openpgp.test.PGPECMessageTest
 
PGPEdDSATest - class org.bouncycastle.openpgp.test.PGPEdDSATest.
 
PGPEdDSATest() - Constructor for class org.bouncycastle.openpgp.test.PGPEdDSATest
 
PGPEncryptedData - class org.bouncycastle.openpgp.PGPEncryptedData.
A PGP encrypted data object.
PGPEncryptedData.TruncatedStream - class org.bouncycastle.openpgp.PGPEncryptedData.TruncatedStream.
 
PGPEncryptedDataGenerator - class org.bouncycastle.openpgp.PGPEncryptedDataGenerator.
Generator for encrypted objects.
PGPEncryptedDataGenerator(PGPDataEncryptorBuilder) - Constructor for class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Base constructor.
PGPEncryptedDataGenerator(PGPDataEncryptorBuilder, boolean) - Constructor for class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Base constructor with the option to turn on formatting for PGP 2.6.x compatibility.
PGPEncryptedDataList - class org.bouncycastle.openpgp.PGPEncryptedDataList.
A holder for a list of PGP encryption method packets and the encrypted data associated with them.
PGPEncryptedDataList(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPEncryptedDataList
Construct an encrypted data packet holder, reading PGP encrypted method packets and an encrypted data packet from the stream.
PGPEncryptedDataList(byte[]) - Constructor for class org.bouncycastle.openpgp.PGPEncryptedDataList
Construct an encrypted data packet holder, reading PGP encrypted method packets and an encrypted data packet from a stream.
PGPEncryptedDataList(InputStream) - Constructor for class org.bouncycastle.openpgp.PGPEncryptedDataList
Construct an encrypted data packet holder, reading PGP encrypted method packets and an encrypted data packet from a stream.
PGPException - exception 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
 
PGPKdfParameters - class org.bouncycastle.openpgp.PGPKdfParameters.
 
PGPKdfParameters(int, int) - Constructor for class org.bouncycastle.openpgp.PGPKdfParameters
 
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() - Constructor for class org.bouncycastle.openpgp.PGPKeyPair
 
PGPKeyPair(PGPPublicKey, PGPPrivateKey) - Constructor for class org.bouncycastle.openpgp.PGPKeyPair
Create a key pair from a PGPPrivateKey and a PGPPublicKey.
PGPKeyRing - class org.bouncycastle.openpgp.PGPKeyRing.
Parent class for PGP public and secret key rings.
PGPKeyRingGenerator - class org.bouncycastle.openpgp.PGPKeyRingGenerator.
Generator for a PGP master and subkey ring.
PGPKeyRingGenerator(int, PGPKeyPair, String, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPKeyRingGenerator
Create a new key ring generator.
PGPKeyValidationException - exception 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.
A single literal data packet in a PGP object stream.
PGPLiteralData(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPLiteralData
Construct a PGP LiteralData carrier from the passed in BCPG input stream.
PGPLiteralData(byte[]) - Constructor for class org.bouncycastle.openpgp.PGPLiteralData
Construct a PGP LiteralData carrier from the passed in byte array.
PGPLiteralData(InputStream) - Constructor for class org.bouncycastle.openpgp.PGPLiteralData
Construct a PGP LiteralData carrier from the passed in input stream.
PGPLiteralDataGenerator - class org.bouncycastle.openpgp.PGPLiteralDataGenerator.
Generator for producing literal data packets.
PGPLiteralDataGenerator() - Constructor for class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Constructs a generator for literal data objects.
PGPLiteralDataGenerator(boolean) - Constructor for class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Constructs a generator for literal data objects, specifying to use new or old (PGP 2.6.x compatible) format.
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(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPMarker
Default constructor.
PGPMarkerTest - class org.bouncycastle.openpgp.test.PGPMarkerTest.
 
PGPMarkerTest() - Constructor for class org.bouncycastle.openpgp.test.PGPMarkerTest
 
PGPNoPrivateKeyTest - class org.bouncycastle.openpgp.test.PGPNoPrivateKeyTest.
 
PGPNoPrivateKeyTest() - Constructor for class org.bouncycastle.openpgp.test.PGPNoPrivateKeyTest
 
PGPObjectFactory - class org.bouncycastle.openpgp.PGPObjectFactory.
General class for reading a PGP object stream.
PGPObjectFactory(byte[], KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPObjectFactory
Create an object factory suitable for reading PGP objects such as keys, key rings and key ring collections, or PGP encrypted data.
PGPObjectFactory(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPObjectFactory
Create an object factory suitable for reading PGP objects such as keys, key rings and key ring collections, or PGP encrypted data.
PGPOnePassSignature - class org.bouncycastle.openpgp.PGPOnePassSignature.
A one pass signature object.
PGPOnePassSignatureList - class org.bouncycastle.openpgp.PGPOnePassSignatureList.
Holder for a list of PGPOnePassSignatures
PGPOnePassSignatureList(PGPOnePassSignature) - Constructor for class org.bouncycastle.openpgp.PGPOnePassSignatureList
 
PGPOnePassSignatureList(PGPOnePassSignature[]) - Constructor for class org.bouncycastle.openpgp.PGPOnePassSignatureList
 
PGPPacketTest - class org.bouncycastle.openpgp.test.PGPPacketTest.
 
PGPPacketTest() - Constructor for class org.bouncycastle.openpgp.test.PGPPacketTest
 
PGPParsingTest - class org.bouncycastle.openpgp.test.PGPParsingTest.
 
PGPParsingTest() - Constructor for class org.bouncycastle.openpgp.test.PGPParsingTest
 
PGPPBEEncryptedData - class org.bouncycastle.openpgp.PGPPBEEncryptedData.
A password based encryption object.
PGPPBETest - class org.bouncycastle.openpgp.test.PGPPBETest.
 
PGPPBETest() - Constructor for 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.
PGPPrivateKey(long, PublicKeyPacket, BCPGKey) - Constructor for class org.bouncycastle.openpgp.PGPPrivateKey
Base constructor.
PGPPublicKey - class org.bouncycastle.openpgp.PGPPublicKey.
general class to handle a PGP public key object.
PGPPublicKey(PublicKeyPacket, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKey
Create a PGP public key from a packet descriptor using the passed in fingerPrintCalculator to do calculate the fingerprint and keyID.
PGPPublicKeyEncryptedData - class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData.
A public key encrypted data object.
PGPPublicKeyRing - class org.bouncycastle.openpgp.PGPPublicKeyRing.
Class to hold a single master public key and its subkeys.
PGPPublicKeyRing(byte[], KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRing
 
PGPPublicKeyRing(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRing
 
PGPPublicKeyRing(List) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRing
Base constructor from a list of keys representing a public key ring (a master key and its associated sub-keys).
PGPPublicKeyRingCollection - class org.bouncycastle.openpgp.PGPPublicKeyRingCollection.
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
PGPPublicKeyRingCollection(byte[], KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
 
PGPPublicKeyRingCollection(Collection) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
 
PGPPublicKeyRingCollection(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Build a PGPPublicKeyRingCollection from the passed in input stream.
PGPRSATest - class org.bouncycastle.openpgp.test.PGPRSATest.
 
PGPRSATest() - Constructor for class org.bouncycastle.openpgp.test.PGPRSATest
 
PGPRuntimeOperationException - exception org.bouncycastle.openpgp.PGPRuntimeOperationException.
 
PGPRuntimeOperationException(String, Throwable) - Constructor for class org.bouncycastle.openpgp.PGPRuntimeOperationException
 
PGPSecretKey - class org.bouncycastle.openpgp.PGPSecretKey.
general class to handle and construct a PGP secret key object.
PGPSecretKey(int, PGPKeyPair, String, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
Construct a PGPSecretKey using the passed in private/public key pair and binding it to the passed in id using a generated certification of certificationLevel.
PGPSecretKey(int, PGPKeyPair, String, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
Construct a PGPSecretKey using the passed in private/public key pair and binding it to the passed in id using a generated certification of certificationLevel.The secret key checksum is calculated using the original non-digest based checksum.
PGPSecretKey(PGPKeyPair, PGPKeyPair, PGPDigestCalculator, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
Construct a PGPSecretKey sub-key using the passed in private/public key pair and binding it to the master key pair.
PGPSecretKey(PGPKeyPair, PGPKeyPair, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
Construct a PGPSecretKey sub-key using the passed in private/public key pair and binding it to the master key pair.
PGPSecretKey(PGPPrivateKey, PGPPublicKey, PGPDigestCalculator, boolean, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
Construct a PGPSecretKey using the passed in private key and public key.
PGPSecretKey(SecretKeyPacket, PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
 
PGPSecretKeyRing - class org.bouncycastle.openpgp.PGPSecretKeyRing.
Class to hold a single master secret key and its subkeys.
PGPSecretKeyRing(byte[], KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRing
 
PGPSecretKeyRing(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRing
 
PGPSecretKeyRing(List) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRing
Base constructor from a list of keys representing a secret key ring (a master key and its associated sub-keys).
PGPSecretKeyRingCollection - class org.bouncycastle.openpgp.PGPSecretKeyRingCollection.
Often a PGP key ring file is made up of a succession of master/sub-key key rings.
PGPSecretKeyRingCollection(byte[], KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
 
PGPSecretKeyRingCollection(Collection) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
 
PGPSecretKeyRingCollection(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Build a PGPSecretKeyRingCollection from the passed in input stream.
PGPSignature - class org.bouncycastle.openpgp.PGPSignature.
A PGP signature object.
PGPSignatureGenerator - class org.bouncycastle.openpgp.PGPSignatureGenerator.
Generator for PGP Signatures.
PGPSignatureGenerator(PGPContentSignerBuilder) - Constructor for class org.bouncycastle.openpgp.PGPSignatureGenerator
Create a signature generator built on the passed in contentSignerBuilder.
PGPSignatureList - class org.bouncycastle.openpgp.PGPSignatureList.
A list of PGP signatures - normally in the signature block after literal data.
PGPSignatureList(PGPSignature) - Constructor for class org.bouncycastle.openpgp.PGPSignatureList
 
PGPSignatureList(PGPSignature[]) - Constructor for class org.bouncycastle.openpgp.PGPSignatureList
 
PGPSignatureSubpacketGenerator - class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator.
Generator for signature subpackets.
PGPSignatureSubpacketGenerator() - Constructor for class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
PGPSignatureSubpacketVector - class org.bouncycastle.openpgp.PGPSignatureSubpacketVector.
Container for a list of signature subpackets.
PGPSignatureTest - class org.bouncycastle.openpgp.test.PGPSignatureTest.
 
PGPSignatureTest() - Constructor for class org.bouncycastle.openpgp.test.PGPSignatureTest
 
PGPUserAttributeSubpacketVector - class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector.
Container for a list of user attribute subpackets.
PGPUserAttributeSubpacketVectorGenerator - class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator.
 
PGPUserAttributeSubpacketVectorGenerator() - Constructor for class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
 
PGPUtil - class org.bouncycastle.openpgp.PGPUtil.
PGP utilities.
PGPUtil() - Constructor for class org.bouncycastle.openpgp.PGPUtil
 
PGPUtilTest - class org.bouncycastle.openpgp.test.PGPUtilTest.
 
PGPUtilTest() - Constructor for class org.bouncycastle.openpgp.test.PGPUtilTest
 
PGPV3SignatureGenerator - class org.bouncycastle.openpgp.PGPV3SignatureGenerator.
Generator for old style PGP V3 Signatures.
PGPV3SignatureGenerator(PGPContentSignerBuilder) - Constructor for class org.bouncycastle.openpgp.PGPV3SignatureGenerator
Create a signature generator built on the passed in contentSignerBuilder.
PLACEHOLDER - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
POLICY_URL - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
POSITIVE_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
PREFERRED_AEAD_ALGORITHMS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PREFERRED_COMP_ALGS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PREFERRED_HASH_ALGS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PREFERRED_KEY_SERV - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PREFERRED_SYM_ALGS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PreferredAlgorithms - class org.bouncycastle.bcpg.sig.PreferredAlgorithms.
packet giving signature creation time.
PreferredAlgorithms(int, boolean, 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 variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
PRIMARYKEY_BINDING - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
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, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.PrimaryUserID
 
priv - Variable in class org.bouncycastle.openpgp.PGPKeyPair
 
pub - Variable in class org.bouncycastle.openpgp.PGPKeyPair
 
PUBLIC_KEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
PUBLIC_KEY_ENC_SESSION - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
PUBLIC_SUBKEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
PublicKeyAlgorithmTags - interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags.
Public Key Algorithm tag numbers
PublicKeyEncSessionPacket - class org.bouncycastle.bcpg.PublicKeyEncSessionPacket.
basic packet for a PGP public key
PublicKeyEncSessionPacket(long, int, byte[][]) - Constructor for class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
 
PublicKeyPacket - class org.bouncycastle.bcpg.PublicKeyPacket.
basic packet for a PGP public key
PublicKeyPacket(int, Date, 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
PublicSubkeyPacket(int, Date, BCPGKey) - Constructor for class org.bouncycastle.bcpg.PublicSubkeyPacket
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.
PubringDump() - Constructor for class org.bouncycastle.openpgp.examples.PubringDump
 

R

read() - Method in class org.bouncycastle.bcpg.BCPGInputStream
 
read() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
 
read() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
 
read() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
 
read() - Method in class org.bouncycastle.openpgp.PGPEncryptedData.TruncatedStream
 
read(byte[], int, int) - Method in class org.bouncycastle.bcpg.BCPGInputStream
 
readAll() - Method in class org.bouncycastle.bcpg.BCPGInputStream
 
readBytesOfEncodedLength(BCPGInputStream) - Static method in class org.bouncycastle.bcpg.ECPublicBCPGKey
 
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
Reads the next packet from the stream.
readPacket() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
 
readPacket() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
 
REG_EXP - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
RegressionTest - class org.bouncycastle.openpgp.test.RegressionTest.
 
RegressionTest() - Constructor for class org.bouncycastle.openpgp.test.RegressionTest
 
removeCertification(PGPPublicKey, byte[]) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove any certifications associated with a given id on a key.
removeCertification(PGPPublicKey, byte[], PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove a certification associated with a given id on a key.
removeCertification(PGPPublicKey, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove a certification from the key.
removeCertification(PGPPublicKey, PGPUserAttributeSubpacketVector) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove any certifications associated with a given user attribute subpacket on a key.
removeCertification(PGPPublicKey, PGPUserAttributeSubpacketVector, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove a certification associated with a given user attributes on a key.
removeCertification(PGPPublicKey, String) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove any certifications associated with a given id on a key.
removeCertification(PGPPublicKey, String, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
Remove a certification associated with a given id on a key.
removePublicKey(PGPPublicKeyRing, PGPPublicKey) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRing
Returns a new key ring with the public key passed in removed from the key ring.
removePublicKeyRing(PGPPublicKeyRingCollection, PGPPublicKeyRing) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
Return a new collection object containing the contents of this collection with the passed in public key ring removed.
removeSecretKey(PGPSecretKeyRing, PGPSecretKey) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Returns a new key ring with the secret key passed in removed from the key ring.
removeSecretKeyRing(PGPSecretKeyRingCollection, PGPSecretKeyRing) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
Return a new collection object containing the contents of this collection with the passed in secret key ring removed.
replacePublicKey(PGPSecretKey, PGPPublicKey) - Static method in class org.bouncycastle.openpgp.PGPSecretKey
Replace the passed the public key on the passed in secret key.
replacePublicKeys(PGPSecretKeyRing, PGPPublicKeyRing) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRing
Replace the public key set on the secret ring with the corresponding key off the public ring.
RESERVED - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
reset() - Method in class org.bouncycastle.bcpg.CRC24
 
resetHeaders() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
Reset the headers to only contain a Version string (if one is present)
Revocable - class org.bouncycastle.bcpg.sig.Revocable.
packet giving whether or not is revocable.
REVOCABLE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
Revocable(boolean, boolean) - Constructor for class org.bouncycastle.bcpg.sig.Revocable
 
Revocable(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Revocable
 
REVOCATION_KEY - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
REVOCATION_REASON - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
RevocationKey - class org.bouncycastle.bcpg.sig.RevocationKey.
Represents revocation key OpenPGP signature sub packet.
RevocationKey(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RevocationKey
 
RevocationKey(boolean, byte, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RevocationKey
 
RevocationKeyTags - interface org.bouncycastle.bcpg.sig.RevocationKeyTags.
 
RevocationReason - class org.bouncycastle.bcpg.sig.RevocationReason.
Represents revocation reason OpenPGP signature sub packet.
RevocationReason(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RevocationReason
 
RevocationReason(boolean, byte, String) - Constructor for class org.bouncycastle.bcpg.sig.RevocationReason
 
RevocationReasonTags - interface org.bouncycastle.bcpg.sig.RevocationReasonTags.
 
revocationTest() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
rewrapKey - Variable in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
RIPEMD160 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
RSA_ENCRYPT - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
RSA_GENERAL - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
RSA_SIGN - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
 
RSAKeyPairGenerator - class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator.
A simple utility class that generates a RSA PGPPublicKey/PGPSecretKey pair.
RSAKeyPairGenerator() - Constructor for class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
 
RSAPublicBCPGKey - class org.bouncycastle.bcpg.RSAPublicBCPGKey.
base class for an RSA Public Key.
RSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.RSAPublicBCPGKey
Construct an RSA public key from the passed in stream.
RSAPublicBCPGKey(BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.RSAPublicBCPGKey
 
RSASecretBCPGKey - class org.bouncycastle.bcpg.RSASecretBCPGKey.
base class for an RSA Secret (or Private) Key.
RSASecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.RSASecretBCPGKey
 
RSASecretBCPGKey(BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.RSASecretBCPGKey
 

S

S2K - class org.bouncycastle.bcpg.S2K.
Parameter specifier for the PGP string-to-key password based key derivation function.
S2K_SHA1 - Static variable in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Specifier for SHA-1 S2K PBE generator.
S2K_SHA224 - Static variable in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Specifier for SHA-224 S2K PBE generator.
S2K_SHA256 - Static variable in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Specifier for SHA-256 S2K PBE generator.
S2K_SHA384 - Static variable in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Specifier for SHA-384 S2K PBE generator.
S2K_SHA512 - Static variable in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
Specifier for SHA-512 S2K PBE generator.
S2K(int) - Constructor for class org.bouncycastle.bcpg.S2K
Constructs a specifier for a simple S2K generation.
S2K(int, byte[]) - Constructor for class org.bouncycastle.bcpg.S2K
Constructs a specifier for a salted S2K generation.
S2K(int, byte[], int) - Constructor for class org.bouncycastle.bcpg.S2K
Constructs a specifier for a salted and iterated S2K generation.
SAFER - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
SALTED - Static variable in class org.bouncycastle.bcpg.S2K
Salted key generation.
SALTED_AND_ITERATED - Static variable in class org.bouncycastle.bcpg.S2K
Salted and iterated key generation.
sec10pass - Variable in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
sec9pass - Variable in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
SECRET_KEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SECRET_SUBKEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SecretKeyPacket - class org.bouncycastle.bcpg.SecretKeyPacket.
basic packet for a PGP secret key
SecretKeyPacket(PublicKeyPacket, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretKeyPacket
 
SecretKeyPacket(PublicKeyPacket, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretKeyPacket
 
SecretSubkeyPacket - class org.bouncycastle.bcpg.SecretSubkeyPacket.
basic packet for a PGP secret key
SecretSubkeyPacket(PublicKeyPacket, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretSubkeyPacket
 
SecretSubkeyPacket(PublicKeyPacket, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretSubkeyPacket
 
setDefaultProvider(String) - Static method in class org.bouncycastle.openpgp.PGPUtil
Deprecated. unused
setEmbeddedSignature(boolean, PGPSignature) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setExportable(boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setFeature(boolean, byte) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setHashedSubpackets(PGPSignatureSubpacketVector) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
 
setHeader(String, String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
Set an additional header entry.
setImageAttribute(int, byte[]) - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
 
setIntendedRecipientFingerprint(boolean, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets the intended recipient fingerprint for an encrypted payload the signature is associated with.
setIssuerFingerprint(boolean, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets the signature issuer fingerprint for the signing key.
setIssuerFingerprint(boolean, PGPSecretKey) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets the signature issuer fingerprint for the signing key.
setIssuerKeyID(boolean, long) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets issuer key sub packet
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
 
setNotationData(boolean, boolean, String, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setPreferredCompressionAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setPreferredHashAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setPreferredSymmetricAlgorithms(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
 
setRevocationKey(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets revocation key sub packet
setRevocationReason(boolean, byte, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets revocation reason sub packet
setSignatureCreationTime(boolean, Date) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Set the creation time for the signature.
setSignatureExpirationTime(boolean, long) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Set the number of seconds a signature is valid for after the time of its creation.
setSignatureTarget(boolean, int, int, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Sets a signature target sub packet.
setSignerUserID(boolean, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setSignerUserID(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
 
setTrust(boolean, int, int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
Add a TrustSignature packet to the signature.
setUnhashedSubpackets(PGPSignatureSubpacketVector) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
 
SExprTest - class org.bouncycastle.openpgp.test.SExprTest.
 
SExprTest() - Constructor for class org.bouncycastle.openpgp.test.SExprTest
 
SHA1 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
SHA224 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
SHA256 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
SHA384 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
SHA512 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
SHARED - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
SIGN_DATA - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
SIGNATURE - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SIGNATURE_TARGET - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
SignatureCreationTime - class org.bouncycastle.bcpg.sig.SignatureCreationTime.
packet giving signature creation time.
SignatureCreationTime(boolean, 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, 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
SignaturePacket(int, int, long, int, int, long, byte[], MPInteger[]) - Constructor for class org.bouncycastle.bcpg.SignaturePacket
Generate a version 2/3 signature packet.
SignaturePacket(int, int, long, int, int, SignatureSubpacket[], SignatureSubpacket[], byte[], MPInteger[]) - Constructor for class org.bouncycastle.bcpg.SignaturePacket
 
SignaturePacket(int, long, int, int, SignatureSubpacket[], SignatureSubpacket[], byte[], MPInteger[]) - Constructor for class org.bouncycastle.bcpg.SignaturePacket
Generate a version 4 signature packet.
SignatureSubpacket - class org.bouncycastle.bcpg.SignatureSubpacket.
Basic type for a PGP Signature sub-packet.
SignatureSubpacket(int, boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.SignatureSubpacket
 
SignatureSubpacketInputStream - class org.bouncycastle.bcpg.SignatureSubpacketInputStream.
reader for signature sub-packets
SignatureSubpacketInputStream(InputStream) - Constructor for class org.bouncycastle.bcpg.SignatureSubpacketInputStream
 
SignatureSubpacketInputStream(InputStream, int) - Constructor for class org.bouncycastle.bcpg.SignatureSubpacketInputStream
 
SignatureSubpacketTags - interface org.bouncycastle.bcpg.SignatureSubpacketTags.
Basic PGP signature sub-packet tag types.
SignatureTarget - class org.bouncycastle.bcpg.sig.SignatureTarget.
RFC 4880, Section 5.2.3.25 - Signature Target subpacket.
SignatureTarget(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.SignatureTarget
 
SignatureTarget(boolean, int, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.SignatureTarget
 
SignedFileProcessor - class org.bouncycastle.openpgp.examples.SignedFileProcessor.
A simple utility class that signs and verifies files.
SignedFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.SignedFileProcessor
 
SIGNER_USER_ID - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
SignerUserID - class org.bouncycastle.bcpg.sig.SignerUserID.
packet giving the User ID of the signer.
SignerUserID(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.SignerUserID
 
SignerUserID(boolean, String) - Constructor for class org.bouncycastle.bcpg.sig.SignerUserID
 
SIMPLE - Static variable in class org.bouncycastle.bcpg.S2K
Simple key generation.
size() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return the number of packets this vector contains.
size() - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
 
size() - Method in class org.bouncycastle.openpgp.PGPSignatureList
 
size() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
Gets the number of encryption methods in this list.
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.
SPLIT - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
 
STAND_ALONE - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
SUBKEY_BINDING - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
SUBKEY_REVOCATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
 
subKeyBindingCheckSum - Variable in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
subKeyBindingKey - Variable in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
supportsFeature(byte) - Method in class org.bouncycastle.bcpg.sig.Features
Returns if a particular feature is supported.
supportsModificationDetection() - Method in class org.bouncycastle.bcpg.sig.Features
Returns if modification detection is supported.
SYM_ENC_INTEGRITY_PRO - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SYMMETRIC_KEY_ENC - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SYMMETRIC_KEY_ENC_SESSION - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
SymmetricEncDataPacket - class org.bouncycastle.bcpg.SymmetricEncDataPacket.
Basic type for a symmetric key encrypted packet
SymmetricEncDataPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.SymmetricEncDataPacket
 
SymmetricEncIntegrityPacket - class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket.
A symmetric key encrypted packet with an associated integrity check code.
SymmetricKeyAlgorithmTags - interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags.
Basic tags for symmetric key algorithms
SymmetricKeyEncSessionPacket - class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket.
Basic type for a symmetric encrypted session key packet
SymmetricKeyEncSessionPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 
SymmetricKeyEncSessionPacket(int, S2K, byte[]) - Constructor for class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
 

T

test1() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test10() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test2() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test3() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test4() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test5() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test6() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test8() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
test9() - Method in class org.bouncycastle.openpgp.test.BcPGPKeyRingTest
 
tests - Static variable in class org.bouncycastle.openpgp.test.RegressionTest
 
TEXT - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Format tag for textual literal data
TEXT - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
Format tag for textual literal data
TIGER_192 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
 
TIMESTAMP - Static variable 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.SignatureExpirationTime
 
timeToBytes(long) - Static method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
 
toArray() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
Return a copy of the subpackets in this vector.
TRIPLE_DES - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 
TRUST - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
TRUST_SIG - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
 
TrustPacket - class org.bouncycastle.bcpg.TrustPacket.
Basic type for a trust packet
TrustPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.TrustPacket
 
TrustPacket(int) - Constructor for class org.bouncycastle.bcpg.TrustPacket
 
TrustSignature - class org.bouncycastle.bcpg.sig.TrustSignature.
packet giving trust.
TrustSignature(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.TrustSignature
 
TrustSignature(boolean, int, int) - Constructor for class org.bouncycastle.bcpg.sig.TrustSignature
 
TWOFISH - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
 

U

UNCOMPRESSED - Static variable in interface org.bouncycastle.bcpg.CompressionAlgorithmTags
No compression.
update(byte) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
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.PGPSignature
 
update(byte[]) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
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.PGPSignature
 
update(byte[], int, int) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
 
update(byte[], int, int) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
 
update(byte[], int, int) - Method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
 
update(byte[], int, int) - Method in class org.bouncycastle.openpgp.PGPSignature
 
update(int) - Method in class org.bouncycastle.bcpg.CRC24
 
USAGE_CHECKSUM - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
 
USAGE_NONE - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
 
USAGE_SHA1 - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
 
USER_ATTRIBUTE - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
USER_ID - Static variable in interface org.bouncycastle.bcpg.PacketTags
 
USER_NO_LONGER_VALID - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
 
UserAttributePacket - class org.bouncycastle.bcpg.UserAttributePacket.
Basic type for a user attribute packet.
UserAttributePacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UserAttributePacket
 
UserAttributePacket(UserAttributeSubpacket[]) - Constructor for class org.bouncycastle.bcpg.UserAttributePacket
 
UserAttributeSubpacket - class org.bouncycastle.bcpg.UserAttributeSubpacket.
Basic type for a user attribute sub-packet.
UserAttributeSubpacket(int, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.UserAttributeSubpacket
 
UserAttributeSubpacket(int, byte[]) - Constructor for class org.bouncycastle.bcpg.UserAttributeSubpacket
 
UserAttributeSubpacketInputStream - class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream.
reader for user attribute sub-packets
UserAttributeSubpacketInputStream(InputStream) - Constructor for class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
 
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(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
 
UserIDPacket(byte[]) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
 
UserIDPacket(String) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
 
UTF8 - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
Format tag for UTF-8 encoded textual literal data
UTF8 - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
Format tag for UTF-8 encoded textual literal data

V

verify() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
Verifies the integrity of the packet against the modification detection code associated with it in the stream.
verify() - Method in class org.bouncycastle.openpgp.PGPSignature
 
verify(PGPSignature) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
Verify the calculated signature against the passed in PGPSignature.
verifyCertification(byte[], PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
Verify the signature as certifying the passed in public key as associated with the passed in rawID.
verifyCertification(PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
Verify a key certification, such as a revocation, for the passed in key.
verifyCertification(PGPPublicKey, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
Verify a certification for the passed in key against the passed in master key.
verifyCertification(PGPUserAttributeSubpacketVector, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
Verify the signature as certifying the passed in public key as associated with the passed in user attributes.
verifyCertification(String, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignature
Verify the signature as certifying the passed in public key as associated with the passed in id.
VERSION_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
 
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.BCPGOutputStream
 
write(int) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
 
writeFileToLiteralData(OutputStream, char, File) - Static method in class org.bouncycastle.openpgp.PGPUtil
Write out the contents of the provided file as a literal data packet.
writeFileToLiteralData(OutputStream, char, File, byte[]) - Static method in class org.bouncycastle.openpgp.PGPUtil
Write out the contents of the provided file as a literal data packet in partial packet format.
writeObject(BCPGObject) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
 
writePacket(ContainedPacket) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
 

Z

ZIP - Static variable in interface org.bouncycastle.bcpg.CompressionAlgorithmTags
ZIP (RFC 1951) compression.
ZLIB - Static variable in interface org.bouncycastle.bcpg.CompressionAlgorithmTags
ZLIB (RFC 1950) compression.

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