A B C D E F G H I J K L M N O P R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPublicKeyDataDecryptorFactory - Class in org.bouncycastle.openpgp.operator
- AbstractPublicKeyDataDecryptorFactory() - Constructor for class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- add(PGPExtendedKeyHeader) - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData.Builder
- addAttribute(Object) - Method in class org.bouncycastle.openpgp.PGPExtendedKeyAttribute.Builder
- 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, String, 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.
- addCombination(int, int) - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Builder
-
Add a combination of cipher- and AEAD algorithm to the list of supported ciphersuites.
- addComment(String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Add the given value as one or more additional
- addCustomSubpacket(SignatureSubpacket) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Add a custom subpacket.
- addEmbeddedSignature(boolean, PGPSignature) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Add an embedded signature packet.
- addHeader(String, String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Deprecated.use appropriate methods in
ArmoredOutputStream.Builder
instead - addIntendedRecipientFingerprint(boolean, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Adds a intended recipient fingerprint for an encrypted payload the signature is associated with.
- 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.
- addNotationData(boolean, boolean, String, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Add a notation data packet to the signature.
- addPolicyURI(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
- 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.
- addRegularExpression(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Adds a regular expression.
- addRevocationKey(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.the revocation key mechanism is deprecated. Applications MUST NOT generate such a packet.
- 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.
- addSignerUserID(boolean, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Add a signer user-id to the signature.
- addSignerUserID(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Add a signer user-id to the signature.
- 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, PGPContentSignerBuilder) - 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.
- addSubKey(PGPKeyPair, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder) - Method in class org.bouncycastle.openpgp.PGPKeyRingGenerator
-
Add a subkey with specific hashed and unhashed packets associated with it and default certification.
- AEAD_ENC_DATA - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
OCB Encrypted Data Packet (LibrePGP only).
- aeadAlgorithm - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- AEADAlgorithmTags - Interface in org.bouncycastle.bcpg
-
AEAD Algorithm IDs.
- AEADEncDataPacket - Class in org.bouncycastle.bcpg
-
Packet representing non-standard, LibrePGP OCB (AEAD) encrypted data.
- AEADEncDataPacket(int, int, int, byte[]) - Constructor for class org.bouncycastle.bcpg.AEADEncDataPacket
- AEADEncDataPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.AEADEncDataPacket
- AEADEncDataPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.AEADEncDataPacket
- AEADUtils - Class in org.bouncycastle.bcpg
- AEDH - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Reserved tag for AEDH.
- AEDSA - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Reserved tag for AEDSA.
- AES_128 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
AES with 128-bit key.
- AES_192 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
AES with 192-bit key.
- AES_256 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
AES with 256-bit key.
- ARGON_2 - Static variable in class org.bouncycastle.bcpg.S2K
-
Memory-hard, salted key generation using Argon2 hash algorithm.
- Argon2Params() - Constructor for class org.bouncycastle.bcpg.S2K.Argon2Params
-
Uniformly safe and recommended parameters not tailored to any hardware.
- Argon2Params(byte[], int, int, int) - Constructor for class org.bouncycastle.bcpg.S2K.Argon2Params
-
Create customized Argon2 S2K parameters.
- Argon2Params(int, int, int, SecureRandom) - Constructor for class org.bouncycastle.bcpg.S2K.Argon2Params
-
Create customized Argon2 S2K parameters.
- Argon2Params(SecureRandom) - Constructor for class org.bouncycastle.bcpg.S2K.Argon2Params
-
Uniformly safe and recommended parameters not tailored to any hardware.
- argon2S2K(S2K.Argon2Params) - Static method in class org.bouncycastle.bcpg.S2K
-
Return a new S2K instance using the
S2K.ARGON_2
method, using the given argon2 - ArmoredInputException - Exception in org.bouncycastle.bcpg
- ArmoredInputException(String) - Constructor for exception org.bouncycastle.bcpg.ArmoredInputException
- ArmoredInputStream - Class in org.bouncycastle.bcpg
-
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.
- ArmoredInputStream.Builder - Class in org.bouncycastle.bcpg
- ArmoredOutputStream - Class in org.bouncycastle.bcpg
-
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<String, String>) - Constructor for class org.bouncycastle.bcpg.ArmoredOutputStream
-
Constructs an armored output stream with default and custom headers.
- ArmoredOutputStream.Builder - Class in org.bouncycastle.bcpg
- ATTESTED_CERTIFICATIONS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- AUTHENTICATION - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
This key may be used for authentication.
- available() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
- available() - Method in class org.bouncycastle.bcpg.BCPGInputStream
- available() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
- available() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
- available() - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadInputStream
B
- BcAEADSecretKeyEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.bc
- BcAEADSecretKeyEncryptorBuilder(int, int, S2K.Argon2Params) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcAEADSecretKeyEncryptorBuilder
- BcAEADUtil - Class in org.bouncycastle.openpgp.operator.bc
- BcAEADUtil() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcAEADUtil
- BcAEADUtil.PGPAeadInputStream - Class in org.bouncycastle.openpgp.operator.bc
- BcAEADUtil.PGPAeadOutputStream - Class in org.bouncycastle.openpgp.operator.bc
- BcKeyFingerprintCalculator - Class in org.bouncycastle.openpgp.operator.bc
- BcKeyFingerprintCalculator() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator
- BcPBEDataDecryptorFactory - Class in org.bouncycastle.openpgp.operator.bc
-
A
PBEDataDecryptorFactory
for handling PBE decryption operations using the Bouncy Castle lightweight API to implement cryptographic primitives. - BcPBEDataDecryptorFactory(char[], BcPGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
-
Base constructor.
- BcPBEKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator.bc
-
A BC lightweight method generator for supporting PBE based encryption operations.
- BcPBEKeyEncryptionMethodGenerator(char[]) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the default SHA-1 digest and the default S2K count for key generation.
- BcPBEKeyEncryptionMethodGenerator(char[], int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the default SHA-1 digest calculator and a S2K count other than the default for key generation.
- BcPBEKeyEncryptionMethodGenerator(char[], S2K.Argon2Params) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using Argon2 for S2K key generation.
- BcPBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the provided digest and the default S2K count for key generation.
- BcPBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the provided calculator and S2K count for key generation.
- BcPBESecretKeyDecryptorBuilder - Class in org.bouncycastle.openpgp.operator.bc
- BcPBESecretKeyDecryptorBuilder(PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder
- BcPBESecretKeyEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.bc
- BcPBESecretKeyEncryptorBuilder(int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
- BcPBESecretKeyEncryptorBuilder(int, int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
-
Create an SecretKeyEncryptorBuilder with the S2K count different to the default of 0x60.
- BcPBESecretKeyEncryptorBuilder(int, PGPDigestCalculator) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
-
Create a builder which will make encryptors using the passed in digest calculator.
- BcPBESecretKeyEncryptorBuilder(int, PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
-
Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest different from SHA-1.
- BCPGHeaderObject - Interface in org.bouncycastle.bcpg
-
Implemented by packets written as headers followed by a stream of data.
- BCPGInputStream - Class in org.bouncycastle.bcpg
-
Stream reader for PGP objects
- BCPGInputStream(InputStream) - Constructor for class org.bouncycastle.bcpg.BCPGInputStream
- BCPGKey - Interface in org.bouncycastle.bcpg
-
base interface for a PGP key
- BCPGObject - Class in org.bouncycastle.bcpg
-
Base class for a PGP object.
- BCPGObject() - Constructor for class org.bouncycastle.bcpg.BCPGObject
- BCPGOutputStream - Class in org.bouncycastle.bcpg
-
Basic output stream.
- BCPGOutputStream(OutputStream) - Constructor for class org.bouncycastle.bcpg.BCPGOutputStream
-
Base constructor - generate a PGP protocol encoding with old-style packets whenever there is an alternative for backwards compatibility.
- BCPGOutputStream(OutputStream, boolean) - Constructor for class org.bouncycastle.bcpg.BCPGOutputStream
-
Base constructor specifying whether to use packets in the new format wherever possible.
- 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.
- BCPGOutputStream(OutputStream, PacketFormat) - Constructor for class org.bouncycastle.bcpg.BCPGOutputStream
- BcPGPContentSignerBuilder - Class in org.bouncycastle.openpgp.operator.bc
- BcPGPContentSignerBuilder(int, int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
- BcPGPContentVerifierBuilderProvider - Class in org.bouncycastle.openpgp.operator.bc
- BcPGPContentVerifierBuilderProvider() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPContentVerifierBuilderProvider
- BcPGPDataEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.bc
-
PGPDataEncryptorBuilder
implementation that uses the Bouncy Castle lightweight API to implement cryptographic primitives. - BcPGPDataEncryptorBuilder(int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
-
Constructs a new data encryptor builder for a specified cipher type.
- BcPGPDigestCalculatorProvider - Class in org.bouncycastle.openpgp.operator.bc
- BcPGPDigestCalculatorProvider() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
- BcPGPKeyConverter - Class in org.bouncycastle.openpgp.operator.bc
- BcPGPKeyConverter() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
- BcPGPKeyPair - Class in org.bouncycastle.openpgp.operator.bc
- BcPGPKeyPair(int, int, AsymmetricCipherKeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPKeyPair
- BcPGPKeyPair(int, int, PGPAlgorithmParameters, AsymmetricCipherKeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPKeyPair
- BcPGPKeyPair(int, AsymmetricCipherKeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPKeyPair
-
Deprecated.
- BcPGPKeyPair(int, PGPAlgorithmParameters, AsymmetricCipherKeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPGPKeyPair
-
Deprecated.
- BcPGPObjectFactory - Class in org.bouncycastle.openpgp.bc
-
PGPObjectFactory
that uses the Bouncy Castle lightweight API to implement cryptographic primitives. - BcPGPObjectFactory(byte[]) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPObjectFactory
-
Construct an object factory to read PGP objects from encoded data.
- BcPGPObjectFactory(InputStream) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPObjectFactory
-
Construct an object factory to read PGP objects from a stream.
- BcPGPPublicKeyRing - Class in org.bouncycastle.openpgp.bc
- BcPGPPublicKeyRing(byte[]) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPPublicKeyRing
- BcPGPPublicKeyRing(InputStream) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPPublicKeyRing
- BcPGPPublicKeyRingCollection - Class in org.bouncycastle.openpgp.bc
- BcPGPPublicKeyRingCollection(byte[]) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPPublicKeyRingCollection
- BcPGPPublicKeyRingCollection(InputStream) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPPublicKeyRingCollection
- BcPGPPublicKeyRingCollection(Collection<PGPPublicKeyRing>) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPPublicKeyRingCollection
- BcPGPSecretKeyRing - Class in org.bouncycastle.openpgp.bc
- BcPGPSecretKeyRing(byte[]) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPSecretKeyRing
- BcPGPSecretKeyRing(InputStream) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPSecretKeyRing
- BcPGPSecretKeyRingCollection - Class in org.bouncycastle.openpgp.bc
- BcPGPSecretKeyRingCollection(byte[]) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPSecretKeyRingCollection
- BcPGPSecretKeyRingCollection(InputStream) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPSecretKeyRingCollection
- BcPGPSecretKeyRingCollection(Collection<PGPSecretKeyRing>) - Constructor for class org.bouncycastle.openpgp.bc.BcPGPSecretKeyRingCollection
- BcPublicKeyDataDecryptorFactory - Class in org.bouncycastle.openpgp.operator.bc
-
A decryptor factory for handling public key decryption operations.
- BcPublicKeyDataDecryptorFactory(PGPPrivateKey) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPublicKeyDataDecryptorFactory
- BcPublicKeyKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator.bc
-
A method generator for supporting public key based encryption operations.
- BcPublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcPublicKeyKeyEncryptionMethodGenerator
-
Create a public key encryption method generator with the method to be based on the passed in key.
- BcSessionKeyDataDecryptorFactory - Class in org.bouncycastle.openpgp.operator.bc
-
A decryptor factory for handling PGP session keys.
- BcSessionKeyDataDecryptorFactory(PGPSessionKey) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcSessionKeyDataDecryptorFactory
- BcUtil - Class in org.bouncycastle.openpgp.operator.bc
- BcUtil() - Constructor for class org.bouncycastle.openpgp.operator.bc.BcUtil
- beginClearText(int) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Start a clear text signed message - backwards compatibility.
- beginClearText(int...) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Start a clear text signed message.
- BINARY - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
-
Format tag for binary literal data
- BINARY - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
-
Format tag for binary literal data
- BINARY_DOCUMENT - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is made over some binary data.
- BLOWFISH - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Blowfish (128-bit key, 16 rounds).
- build() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Builder
-
Build a
PreferredAEADCiphersuites
from this builder. - build() - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData.Builder
- build() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPDigestCalculatorProviderBuilder
-
Constructs a new PGPDigestCalculatorProvider
- build() - Method in class org.bouncycastle.openpgp.PGPExtendedKeyAttribute.Builder
- build(byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- build(byte[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- build(byte[]) - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Builds a data encryptor using the algorithm configured for this builder.
- build(char[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder
- build(char[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
- build(char[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder
-
Construct a
PBEDataDecryptorFactory
to use to decrypt PBE encrypted data. - build(char[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder
- build(char[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
- build(char[], PublicKeyPacket) - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADSecretKeyEncryptorBuilder
- build(char[], PublicKeyPacket) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorBuilder
- build(int, long, PrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- build(int, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
- build(int, PGPPrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- build(int, PGPPrivateKey) - Method in interface org.bouncycastle.openpgp.operator.PGPContentSignerBuilder
- build(InputStream) - Method in class org.bouncycastle.bcpg.ArmoredInputStream.Builder
- build(OutputStream) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
- build(PrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
- build(PGPPrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
- build(PGPPublicKey) - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifierBuilder
- build(PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder
- buildCertificationVerifier(PGPSignature, byte[], PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Return a verifier for a signature as certifying the passed in public key as associated with the passed in raw user ID.
- buildCertificationVerifier(PGPSignature, String, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Return a verifier for a signature as certifying the passed in public key as associated with the passed in user ID.
- buildCertificationVerifier(PGPSignature, PGPUserAttributeSubpacketVector, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Return a verifier for a signature as certifying the passed in public key as associated with the passed in user attributes.
- buildDirectKeyVerifier(PGPSignature, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Instantiate a signature verifier for a
PGPSignature.DIRECT_KEY
signature. - builder() - Static method in class org.bouncycastle.bcpg.ArmoredInputStream
- builder() - Static method in class org.bouncycastle.bcpg.ArmoredOutputStream
- builder() - Static method in class org.bouncycastle.openpgp.OpenedPGPKeyData
- builder() - Static method in class org.bouncycastle.openpgp.PGPExtendedKeyAttribute
- builder(boolean) - Static method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Return a
PreferredAEADCiphersuites.Builder
for constructing aPreferredAEADCiphersuites
packet. - Builder() - Constructor for class org.bouncycastle.openpgp.OpenedPGPKeyData.Builder
- Builder() - Constructor for class org.bouncycastle.openpgp.PGPExtendedKeyAttribute.Builder
- buildKeyRevocationVerifier(PGPSignature, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Instantiate a signature verifier for a
PGPSignature.KEY_REVOCATION
signature. - buildPrimaryKeyBindingVerifier(PGPSignature, PGPPublicKey, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Instantiate a signature verifier for a
PGPSignature.PRIMARYKEY_BINDING
signature. - buildSubKeyBindingVerifier(PGPSignature, PGPPublicKey, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Instantiate a signature verifier for a
PGPSignature.SUBKEY_BINDING
signature. - buildSubKeyRevocationVerifier(PGPSignature, PGPPublicKey, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Instantiate a signature verifier for a
PGPSignature.SUBKEY_REVOCATION
signature. - ByteArrayHandler - Class in org.bouncycastle.openpgp.examples
-
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
- calculateFingerprint(PublicKeyPacket) - Method in class org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator
- calculateFingerprint(PublicKeyPacket) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator
- calculateFingerprint(PublicKeyPacket) - Method in interface org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator
- CAMELLIA_128 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Camellia with 128-bit key.
- CAMELLIA_192 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Camellia with 192-bit key.
- CAMELLIA_256 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Camellia with 256-bit key.
- 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
-
The signature is made over text data.
- CAST5 - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
CAST5 (128-bit key, as per RFC 2144).
- CASUAL_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
Casual certification over a user-id or user-attribute.
- CERTIFICATION_REVOCATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is used to revoke a user-id certification signature (
PGPSignature.DEFAULT_CERTIFICATION
,PGPSignature.NO_CERTIFICATION
,PGPSignature.CASUAL_CERTIFICATION
,PGPSignature.POSITIVE_CERTIFICATION
) orPGPSignature.DIRECT_KEY
signature. - CERTIFY_OTHER - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
This key may be used to make User ID certifications (signature type IDs 0x10-0x13) or direct key signatures (signature type ID 0x1F) over other peoples keys.
- CHARSET_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
- checkRange(int, byte[]) - Static method in class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- CLASS_DEFAULT - Static variable in interface org.bouncycastle.bcpg.sig.RevocationKeyTags
- CLASS_SENSITIVE - Static variable in interface org.bouncycastle.bcpg.sig.RevocationKeyTags
-
The revocation information is sensitive.
- clearHeaders() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
- clearHeaders() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Deprecated.use appropriate methods in
ArmoredOutputStream.Builder
instead. - ClearSignedFileProcessor - Class in org.bouncycastle.openpgp.examples
-
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.ArmoredInputStream
- close() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Note: close() does not close the underlying stream.
- close() - Method in class org.bouncycastle.bcpg.BCPGInputStream
- close() - Method in class org.bouncycastle.bcpg.BCPGOutputStream
- close() - Method in class org.bouncycastle.bcpg.OutputStreamPacket
-
Deprecated.
- close() - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadOutputStream
- close() - Method in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
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.PGPCompressedDataGenerator
-
Close the compressed object - 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.PGPLiteralDataGenerator
-
Close the literal data packet - this is equivalent to calling close on the stream returned by the open() method.
- Combination(int, int) - Constructor for class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
-
Create a new algorithm combination from a
SymmetricKeyAlgorithmTags
and aAEADAlgorithmTags
. - COMMENT_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
- COMPRESSED_DATA - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Compressed-Data Packet.
- CompressedDataPacket - Class in org.bouncycastle.bcpg
-
A generic compressed data object.
- CompressionAlgorithmTags - Interface in org.bouncycastle.bcpg
-
Basic tags for compression algorithms.
- CONSOLE - Static variable in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
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.
- CONSOLE - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
-
The special name indicating a "for your eyes only" packet.
- ContainedPacket - Class in org.bouncycastle.bcpg
-
Basic type for a PGP packet.
- 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.
- containsSKAlg(int) - Method in class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- 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.
- 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(PGPSecretKey, PBESecretKeyDecryptor, PBESecretKeyEncryptor, PGPDigestCalculator) - 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.
- crc - Variable in class org.bouncycastle.bcpg.CRC24
- CRC24 - Class in org.bouncycastle.bcpg
- CRC24() - Constructor for class org.bouncycastle.bcpg.CRC24
-
Default, iterative CRC-24 implementation as described in RFC4880.
- CRC24_INIT - Static variable in class org.bouncycastle.bcpg.CRC24
- CRC24_POLY - Static variable in class org.bouncycastle.bcpg.CRC24
- createAAData(int, int, int) - Static method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- createAAData(int, int, int, int) - Static method in class org.bouncycastle.bcpg.AEADEncDataPacket
- createAAData(int, int, int, int) - Static method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- createAEADCipher(int, int) - Static method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil
- createDataDecryptor(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
- createDataDecryptor(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyDataDecryptorFactory
- createDataDecryptor(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcSessionKeyDataDecryptorFactory
- createDataDecryptor(boolean, int, byte[]) - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptorFactory
- createDataDecryptor(boolean, BlockCipher, byte[]) - Static method in class org.bouncycastle.openpgp.operator.bc.BcUtil
-
Create a new OpenPGP v4 data decryptor.
- createDataDecryptor(AEADEncDataPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
- createDataDecryptor(AEADEncDataPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyDataDecryptorFactory
- createDataDecryptor(AEADEncDataPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcSessionKeyDataDecryptorFactory
- createDataDecryptor(AEADEncDataPacket, PGPSessionKey) - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptorFactory
-
Constructs a data decryptor for
AEAD Encrypted Data
packets. - createDataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
- createDataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyDataDecryptorFactory
- createDataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcSessionKeyDataDecryptorFactory
- createDataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey) - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptorFactory
-
Constructs a data decryptor for
v2 SEIPD
packets. - createDecryptionStream(PGPDataDecryptorFactory, PGPSessionKey) - Method in class org.bouncycastle.openpgp.PGPSymmetricKeyEncryptedData
- createDecryptor(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
- createDecryptor(String) - Method in interface org.bouncycastle.openpgp.operator.PBEProtectionRemoverFactory
- createKey(ASN1ObjectIdentifier, ECPoint, byte[]) - Method in class org.bouncycastle.openpgp.operator.RFC6637KDFCalculator
-
Deprecated.
- createSymmetricKeyWrapper(boolean, BlockCipher, byte[], byte[]) - Static method in class org.bouncycastle.openpgp.operator.bc.BcUtil
- createUserKeyingMaterial(PublicKeyPacket, KeyFingerPrintCalculator) - Static method in class org.bouncycastle.openpgp.operator.RFC6637Utils
- createV3PKESKPacket(long, int, byte[][]) - Static method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Create a new V3 PKESK packet.
- createV4Packet(int, S2K, byte[]) - Static method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Create a v4 SKESK packet.
- createV5Packet(int, int, byte[], S2K, byte[], byte[]) - Static method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Create a v5 SKESK packet.
- createV6Packet(int, int, byte[], S2K, byte[], byte[]) - Static method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Create a v6 SKESK packet.
- createV6PKESKPacket(int, byte[], int, byte[][]) - Static method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Create a new V6 PKESK packet.
- createVersion1Packet() - Static method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- createVersion2Packet(int, int, int, byte[]) - Static method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- CREATION_TIME - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- CURRENT - org.bouncycastle.bcpg.PacketFormat
-
Always use the current (new) packet format.
D
- data - Variable in class org.bouncycastle.bcpg.SignatureSubpacket
- data - Variable in class org.bouncycastle.bcpg.UserAttributeSubpacket
- decrypt(byte[], char[]) - Static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
-
decrypt the passed in message stream
- DEFAULT_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
Generic certification over a user-id or user-attribute.
- DEFAULT_VERSION - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
- DES - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Reserved for DES/SK.
- DetachedSignatureProcessor - Class in org.bouncycastle.openpgp.examples
-
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
-
Reserved tag for IETF-style S/MIME Diffie-Hellman.
- DIRECT_KEY - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is made directly over a primary key.
- DirectKeySignature - Class in org.bouncycastle.openpgp.examples
-
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
- divertToCard() - Static method in class org.bouncycastle.bcpg.S2K.GNUDummyParams
-
Factory method for a GNU Dummy S2K indicating a private key located on a smart card.
- DOUBLE_SHA - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Reserved for double-width SHA (experimental).
- DSA - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
DSA.
- DSAElGamalKeyRingGenerator - Class in org.bouncycastle.openpgp.examples
-
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 in org.bouncycastle.bcpg
-
base class for a DSA Public Key.
- DSAPublicBCPGKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.DSAPublicBCPGKey
- DSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.DSAPublicBCPGKey
- DSASecretBCPGKey - Class in org.bouncycastle.bcpg
-
base class for a DSA Secret Key.
- DSASecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.DSASecretBCPGKey
- DSASecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.DSASecretBCPGKey
E
- EAX - Static variable in interface org.bouncycastle.bcpg.AEADAlgorithmTags
-
EAX with 16-bit nonce/IV and 16-bit auth tag length.
- EC - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Deprecated.use
PublicKeyAlgorithmTags.ECDH
instead. - ECDH - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Elliptic curve Diffie-Hellman.
- ECDHPublicBCPGKey - Class in org.bouncycastle.bcpg
-
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
-
Elliptic curve digital signing algorithm.
- ECDSAPublicBCPGKey - Class in org.bouncycastle.bcpg
-
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 in org.bouncycastle.bcpg
-
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 in org.bouncycastle.bcpg
-
Base class for an EC Secret Key.
- ECSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.ECSecretBCPGKey
- ECSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ECSecretBCPGKey
- Ed25519 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Ed25519 signing algorithm.
- Ed25519PublicBCPGKey - Class in org.bouncycastle.bcpg
-
Public key of type
PublicKeyAlgorithmTags.Ed25519
. - Ed25519PublicBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.Ed25519PublicBCPGKey
- Ed25519PublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.Ed25519PublicBCPGKey
- Ed25519SecretBCPGKey - Class in org.bouncycastle.bcpg
-
Secret key of type
PublicKeyAlgorithmTags.Ed25519
. - Ed25519SecretBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.Ed25519SecretBCPGKey
- Ed25519SecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.Ed25519SecretBCPGKey
- Ed448 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Ed448 signing algorithm.
- Ed448PublicBCPGKey - Class in org.bouncycastle.bcpg
-
Public key of type
PublicKeyAlgorithmTags.Ed448
. - Ed448PublicBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.Ed448PublicBCPGKey
- Ed448PublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.Ed448PublicBCPGKey
- Ed448SecretBCPGKey - Class in org.bouncycastle.bcpg
-
Secret key of type
PublicKeyAlgorithmTags.Ed448
. - Ed448SecretBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.Ed448SecretBCPGKey
- Ed448SecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.Ed448SecretBCPGKey
- EDDSA - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Deprecated.use
PublicKeyAlgorithmTags.EDDSA_LEGACY
instead. - EDDSA_LEGACY - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Legacy EdDSA (curve identified by OID).
- EdDSAPublicBCPGKey - Class in org.bouncycastle.bcpg
-
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 in org.bouncycastle.bcpg
-
Base class for an Edwards Curve (EdDSA) Secret Key.
- EdSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.EdSecretBCPGKey
- EdSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.EdSecretBCPGKey
- ELGAMAL_ENCRYPT - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Encrypt-only ElGamal.
- ELGAMAL_GENERAL - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Deprecated.use
PublicKeyAlgorithmTags.ELGAMAL_ENCRYPT
instead. - ElGamalPublicBCPGKey - Class in org.bouncycastle.bcpg
-
base class for an ElGamal Public Key.
- ElGamalPublicBCPGKey(BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
- ElGamalPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
- ElGamalSecretBCPGKey - Class in org.bouncycastle.bcpg
-
base class for an ElGamal Secret Key.
- ElGamalSecretBCPGKey(BigInteger) - Constructor for class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
- ElGamalSecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
- EllipticCurveKeyPairGenerator - Class in org.bouncycastle.openpgp.examples
-
A simple utility class that generates an RSA key ring.
- EllipticCurveKeyPairGenerator() - Constructor for class org.bouncycastle.openpgp.examples.EllipticCurveKeyPairGenerator
- EMBEDDED_SIGNATURE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- EmbeddedSignature - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket for embedding one Signature into another.
- EmbeddedSignature(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.EmbeddedSignature
- enableCRC(boolean) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Enable calculation and inclusion of the CRC check sum (default is true).
- encAlgorithm - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- encode(OutputStream) - Method in class org.bouncycastle.bcpg.SignatureSubpacket
- encode(OutputStream) - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPKeyRing
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPPadding
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPPublicKey
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSecretKey
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
- encode(OutputStream) - Method in class org.bouncycastle.openpgp.PGPSignature
-
Encode the signature to an OpenPGP packet stream.
- 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.
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- encode(BCPGOutputStream) - Method in interface org.bouncycastle.bcpg.BCPGHeaderObject
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.BCPGObject
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ContainedPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECDHPublicBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ExperimentalPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.MarkerPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.ModDetectionCodePacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.MPInteger
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.OctetArrayBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Encode the contents of this packet into the given packet output stream.
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PaddingPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Encode the packet to the OpenPGP
BCPGOutputStream
. - encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.RSASecretBCPGKey
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.S2K
-
Encode the packet into the given
BCPGOutputStream
. - encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Encode the packet into the given
BCPGOutputStream
. - encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SignaturePacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SymmetricEncDataPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.TrustPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.UnknownPacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.UserAttributePacket
- encode(BCPGOutputStream) - Method in class org.bouncycastle.bcpg.UserIDPacket
- encrypt(byte[], char[], String, int, boolean) - Static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
-
Simple PGP encryptor between byte[].
- ENCRYPT_COMMS - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
This key may be used to encrypt communications.
- ENCRYPT_STORAGE - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
This key may be used to encrypt storage.
- encryptKeyData(byte[], byte[], byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
-
Encrypt the passed in keyData using the key and the iv provided.
- encryptKeyData(byte[], byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- encryptKeyData(byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
-
Key encryption method invoked for V4 keys and greater.
- encryptSessionInfo(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
- encryptSessionInfo(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
- encryptSessionInfo(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
- encryptSessionInfo(PGPPublicKey, byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyKeyEncryptionMethodGenerator
- encryptSessionInfo(PGPPublicKey, byte[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyKeyEncryptionMethodGenerator
- encryptSessionInfo(PGPPublicKey, byte[]) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- endClearText() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
- equals(Object) - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
- equals(Object) - Method in class org.bouncycastle.bcpg.SignatureSubpacket
- 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 in org.bouncycastle.bcpg
-
basic packet for an experimental packet.
- EXPIRE_TIME - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- Exportable - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket for marking a signature as exportable or non-exportable.
- Exportable(boolean, boolean) - Constructor for class org.bouncycastle.bcpg.sig.Exportable
- Exportable(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Exportable
- EXPORTABLE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- ExtendedPGPSecretKey - Class in org.bouncycastle.openpgp
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, int, PGPKeyPair, String, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, int, PGPKeyPair, String, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, SecretKeyPacket, PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, PGPKeyPair, PGPKeyPair, PGPDigestCalculator, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, PGPKeyPair, PGPKeyPair, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- ExtendedPGPSecretKey(List<PGPExtendedKeyHeader>, List<PGPExtendedKeyAttribute>, PGPPrivateKey, PGPPublicKey, PGPDigestCalculator, boolean, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- 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.
- extractSessionKeyEncryptedData() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
Create a decryption method using a
PGPSessionKey
.
F
- FastCRC24 - Class in org.bouncycastle.bcpg
- FastCRC24() - Constructor for class org.bouncycastle.bcpg.FastCRC24
-
Fast CRC-24 implementation using a lookup table to handle multiple bits at a time.
- FEATURE_AEAD_ENCRYPTED_DATA - Static variable in class org.bouncycastle.bcpg.sig.Features
-
Identifier for the AEAD Encrypted Data Packet (packet 20) and version 5 Symmetric-Key Encrypted Session Key Packets (packet 3)
- FEATURE_MODIFICATION_DETECTION - Static variable in class org.bouncycastle.bcpg.sig.Features
-
Identifier for the Modification Detection (packets 18 and 19) Symmetrically Encrypted Integrity Protected Data packet version 1.
- FEATURE_SEIPD_V2 - Static variable in class org.bouncycastle.bcpg.sig.Features
-
Symmetrically Encrypted Integrity Protected Data packet version 2.
- FEATURE_VERSION_5_PUBLIC_KEY - Static variable in class org.bouncycastle.bcpg.sig.Features
-
Identifier for the Version 5 Public-Key Packet format and corresponding new fingerprint format
- Features - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket encoding, which features are supported by the key-holders implementation.
- Features(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Features
- Features(boolean, byte) - Constructor for class org.bouncycastle.bcpg.sig.Features
- Features(boolean, int) - Constructor for class org.bouncycastle.bcpg.sig.Features
- FEATURES - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- FingerprintUtil - Class in org.bouncycastle.bcpg
- FingerprintUtil() - Constructor for class org.bouncycastle.bcpg.FingerprintUtil
- finish() - Method in class org.bouncycastle.bcpg.BCPGOutputStream
-
Finish writing out the current packet without closing the underlying stream.
- flush() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
- flush() - Method in class org.bouncycastle.bcpg.BCPGOutputStream
-
Flush the underlying stream.
- fromAsciiRepresentation(String) - Static method in class org.bouncycastle.openpgp.PGPSessionKey
- fromByteArray(byte[]) - Static method in class org.bouncycastle.bcpg.SignaturePacket
- fromSubpackets(Collection<SignatureSubpacket>) - Static method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- fromSubpackets(SignatureSubpacket[]) - Static method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Create a new
PGPSignatureSubpacketVector
from the givenSignatureSubpacket
. - fromSubpackets(UserAttributeSubpacket[]) - Static method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
G
- GCM - Static variable in interface org.bouncycastle.bcpg.AEADAlgorithmTags
-
GCM with 12-bit nonce/IV and 16-bit auth tag length.
- generate() - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
-
Return a signature object containing the current signature state.
- generate() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
- generate() - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
- generate() - Method in class org.bouncycastle.openpgp.PGPV3SignatureGenerator
-
Return a V3 signature object containing the current signature state.
- generate(int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Generate a V4 SKESK packet.
- generate(int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
-
Generates a packet encoding the details of this encryption method.
- generate(int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- generateCertification(String, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
-
Generate a certification for the passed in id and key.
- 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
- 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.
- generateV5(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
- generateV5(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
- generateV5(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- generateV6(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
- generateV6(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
- generateV6(int, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- generateV6KEK(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
- generateV6KEK(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
- generateV6KEK(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
- get(int) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
- get(int) - Method in interface org.bouncycastle.openpgp.operator.PGPDigestCalculatorProvider
-
Construct a new instance of a cryptographic digest.
- get(int) - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
Gets the encryption method object at the specified index.
- get(int) - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
- get(int) - Method in class org.bouncycastle.openpgp.PGPSignatureList
- get(int, int) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPContentVerifierBuilderProvider
- get(int, int) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentVerifierBuilderProvider
- get(int, int) - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifierBuilderProvider
- getAAData() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- getAAData() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Return the AEAD additional authenticated data, which is also used as HKDF info.
- getAAData() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- getAeadAlgorithm() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the algorithm ID of the AEAD algorithm that was used to protect the secret key material.
- getAeadAlgorithm() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
-
Return the AEAD algorithm tag.
- getAeadAlgorithm() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Return the AEAD algorithm.
- getAeadAlgorithm() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Return the AEAD algorithm tag.
- getAeadAlgorithm() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- getAeadAlgorithm() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- getAeadAlgorithm() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getAeadAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
- getAEADAlgorithm() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- getAEADAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPAEADDataEncryptor
- getAEADKeyEncryptionAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the AEAD algorithm the key is encrypted with.
- getAgreementAlgorithm(PublicKeyPacket) - Static method in class org.bouncycastle.openpgp.operator.RFC6637Utils
- getAlgorithm() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
-
Return the algorithm-id of the symmetric encryption algorithm used to encrypt the data.
- getAlgorithm() - Method in class org.bouncycastle.bcpg.CompressedDataPacket
-
Gets the
compression algorithm
used for this packet. - getAlgorithm() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Return the public key algorithm of the recipient key.
- getAlgorithm() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Return the
algorithm id
of the public key. - getAlgorithm() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
-
Deprecated.
- getAlgorithm() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- getAlgorithm() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- getAlgorithm() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
The encryption algorithm used by data encryptors created by this builder.
- getAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPDigestCalculator
-
Return the
algorithm number
representing the digest implemented by this calculator. - getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPCompressedData
-
Return the
compression algorithm
used for this packet. - getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
-
Return the symmetric encryption algorithm that is used by the packet.
- getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
-
Symmetric-key algorithm used by this object to protect the session key (
PGPPBEEncryptedData.getSymmetricAlgorithm(PBEDataDecryptorFactory)
with. - getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return the algorithm code associated with the public key.
- getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
- getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSessionKey
- getAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSessionKeyEncryptedData
- getAlgorithm(int) - Static method in class org.bouncycastle.openpgp.examples.PubringDump
- getAlgorithms() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Returns AEAD algorithm preferences, including implicitly supported algorithm combinations.
- 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),
- getAttributes() - Method in class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- getAuthTag() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Return the authentication tag for the AEAD mode.
- getAuthTagLength(int) - Static method in class org.bouncycastle.bcpg.AEADUtils
-
Return the length of the authentication tag used by the given AEAD algorithm in octets.
- getBitStrength() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return the strength of the key in bits.
- getBlockSize() - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptor
-
Obtains the block size of the encryption algorithm used in this decryptor.
- getBlockSize() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptor
-
Gets the block size of the underlying cipher used by this encryptor.
- getCause() - Method in exception org.bouncycastle.openpgp.PGPException
- getCause() - Method in exception org.bouncycastle.openpgp.PGPRuntimeOperationException
- getChecksumCalculator(int) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
- getChunkLength(int) - Static method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil
-
Calculate an actual chunk length from the encoded chunk size.
- getChunkSize() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- getChunkSize() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Return the chunksize for the AEAD construction.
- getChunkSize() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- getChunkSize() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- getChunkSize() - Method in interface org.bouncycastle.openpgp.operator.PGPAEADDataEncryptor
- getChunkSize() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
- getCipherAlgorithm() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Return the cipher algorithm.
- getCipherIV() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getContents() - Method in class org.bouncycastle.bcpg.ExperimentalPacket
- getContents() - Method in class org.bouncycastle.bcpg.UnknownPacket
- 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
- getCurveName(ASN1ObjectIdentifier) - Static method in class org.bouncycastle.openpgp.PGPUtil
-
Return the EC curve name for the passed in OID.
- getCurveOID() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
- getData() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
-
return the generic data making up the packet.
- getData() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
-
return the generic data making up the packet.
- getDataStream() - Method in class org.bouncycastle.openpgp.PGPCompressedData
-
Return an 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.
- getDataStream(SessionKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
-
Deprecated.will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory.
- getDataStream(SessionKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
-
Deprecated.will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory.
- getDataStream(SessionKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPSessionKeyEncryptedData
- 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
- getDigest() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getDigest() - Method in interface org.bouncycastle.openpgp.operator.PGPDigestCalculator
-
Return the digest calculated on what has been written to the calculator's output stream.
- getDigestIDForName(String) - Static method in class org.bouncycastle.openpgp.PGPUtil
- 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.
- getDigestPrefix() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the digest prefix of the signature.
- getEmbeddedSignatures() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getEncAlgorithm() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the algorithm ID of the symmetric key algorithm that was used to encrypt the secret key material.
- getEncAlgorithm() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- 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.BCPGObject
- getEncoded() - Method in class org.bouncycastle.bcpg.ContainedPacket
- getEncoded() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
-
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.EdSecretBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.bcpg.OctetArrayBCPGKey
-
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.RSASecretBCPGKey
-
return the standard PGP encoding of the key.
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPKeyRing
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPPadding
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKey
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKey
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
- getEncoded() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the OpenPGP packet encoding of the signature.
- 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.
- getEncoded(PacketFormat) - Method in class org.bouncycastle.bcpg.ContainedPacket
- getEncoded(PacketFormat) - Method in class org.bouncycastle.openpgp.PGPKeyRing
- getEncoded(PacketFormat) - Method in class org.bouncycastle.openpgp.PGPPadding
- getEncoded(PacketFormat) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- getEncoded(PacketFormat) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getEncodedContents() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Return the encoded packet contents without the packet frame.
- getEncodedContents() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the encoded packet content without packet frame.
- 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
- getEskAndTag(int, int, byte[], byte[], byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
- getEskAndTag(int, int, byte[], byte[], byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
- getEskAndTag(int, int, byte[], byte[], byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
- getExportable() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- 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.bcpg.sig.Features
- 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.KeyIdentifier
-
Return the fingerprint of the
KeyIdentifier
. - getFingerprint() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the version 6 fingerprint of the issuer.
- getFingerprint() - Method in class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
- getFingerprint() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
- getFingerprint() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
-
Deprecated.
- getFingerprint() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return the issuer key fingerprint.
- getFingerprint() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return the fingerprint of the public key.
- getFingerprint() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the fingerprint of the public key associated with this key.
- getFingerPrint() - Method in class org.bouncycastle.bcpg.SignaturePacket
-
Return the signature's fingerprint.
- 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 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 or octets encoded in PGP format.
- getFormat() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.ECPublicBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.LiteralDataPacket
-
Return the format tag of the data packet.
- getFormat() - Method in class org.bouncycastle.bcpg.OctetArrayBCPGKey
- getFormat() - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
-
return "PGP"
- getFormat() - Method in class org.bouncycastle.bcpg.RSASecretBCPGKey
-
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.ECDHPublicBCPGKey
- getHashAlgorithm() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the algorithm ID of the hash algorithm.
- 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.bcpg.SignaturePacket
-
return the hashAlgorithm tag
- getHashAlgorithm() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getHashAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getHashAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifier
- getHashAlgorithm() - Method in class org.bouncycastle.openpgp.PGPKdfParameters
- getHashAlgorithm() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
- 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
- getHashedKeyIdentifiers() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return a list of all
KeyIdentifiers
that could be derived from anyIssuerFingerprint
orIssuerKeyID
subpackets of the hashed signature subpacket area. - getHashedSubPackets() - Method in class org.bouncycastle.bcpg.SignaturePacket
- getHashedSubPackets() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the hashed subpackets of the signature.
- getHeaderList() - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData
- getHeaders() - Method in class org.bouncycastle.openpgp.ExtendedPGPSecretKey
- getID() - Method in class org.bouncycastle.bcpg.sig.SignerUserID
- getID() - Method in class org.bouncycastle.bcpg.UserIDPacket
- getImageAttribute() - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
- getImageData() - Method in class org.bouncycastle.bcpg.attr.ImageAttribute
- getInputStream() - Method in class org.bouncycastle.bcpg.InputStreamPacket
-
Obtains an input stream to read the contents of the packet.
- getInputStream() - Method in class org.bouncycastle.openpgp.PGPCompressedData
-
Return the raw input stream contained in the object.
- getInputStream() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
-
Return the raw input stream for the data stream.
- getInputStream() - Method in class org.bouncycastle.openpgp.PGPLiteralData
-
Return the raw input stream for the data packet.
- getInputStream(InputStream) - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptor
-
Wraps an encrypted data stream with a stream that will return the decrypted data.
- getIntegrityCalculator() - Method in interface org.bouncycastle.openpgp.operator.PGPDataDecryptor
-
Obtains the digest calculator used to verify the integrity check.
- getIntegrityCalculator() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptor
-
Obtains the integrity check calculator configured for this encryptor instance.
- getIntendedRecipientFingerprint() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getIntendedRecipientFingerprints() - 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.SymmetricKeyEncSessionPacket
-
Return the IV for the AEAD mode.
- getIV() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- getIV() - Method in class org.bouncycastle.bcpg.S2K
-
Gets the iv/salt to use for the key generation.
- getIV() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the IV that was used to protect the secret key material.
- getIV() - Method in interface org.bouncycastle.openpgp.operator.PGPAEADDataEncryptor
- getIVLength(byte) - Static method in class org.bouncycastle.bcpg.AEADEncDataPacket
-
Deprecated.use AEADUtils.getIVLength()
- getIVLength(int) - Static method in class org.bouncycastle.bcpg.AEADUtils
-
Return the length of the IV used by the given AEAD algorithm in octets.
- getKey() - Method in class org.bouncycastle.bcpg.OctetArrayBCPGKey
- getKey() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Return the key object.
- getKey() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getKey() - Method in class org.bouncycastle.openpgp.PGPSessionKey
- getKey(int) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Generate a key for a symmetric encryption algorithm using the PBE configuration in this method.
- getKeyAlgorithm() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the ID of the public key encryption algorithm.
- getKeyAlgorithm() - Method in class org.bouncycastle.bcpg.SignaturePacket
-
return the encryption algorithm tag
- getKeyAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getKeyAlgorithm() - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifier
- getKeyAlgorithm() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
- getKeyAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the key algorithm associated with this signature.
- getKeyData(PGPPublicKey, PGPDigestCalculatorProvider, PBEProtectionRemoverFactory, KeyFingerPrintCalculator, int) - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData
- getKeyEncryptionAlgorithm() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
return the algorithm the key is encrypted with.
- getKeyEncryptionOID(int) - Static method in class org.bouncycastle.openpgp.operator.RFC6637Utils
- getKeyExpirationTime() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return the number of seconds a key is valid for after its creation date.
- getKeyExpression() - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData
- getKeyFingerprint() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Return the fingerprint of the recipient key.
- getKeyFlags() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getKeyId() - Method in class org.bouncycastle.bcpg.KeyIdentifier
-
Return the key-id of the
KeyIdentifier
. - getKeyID() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the key-id of the signing key.
- getKeyID() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Return the id of the recipient key.
- getKeyID() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
- getKeyID() - Method in class org.bouncycastle.bcpg.sig.IssuerKeyID
- getKeyID() - Method in class org.bouncycastle.bcpg.SignaturePacket
-
return the keyID
- getKeyID() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getKeyID() - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifier
- getKeyID() - Method in class org.bouncycastle.openpgp.PGPKeyPair
-
Return the keyID associated with this key pair.
- getKeyID() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return the key-ID of the issuer signing 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.PGPPublicKey
-
Return the keyID associated with the public key.
- getKeyID() - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
-
Deprecated.use
PGPPublicKeyEncryptedData.getKeyIdentifier()
instead - getKeyID() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the keyID of the public key associated with this key.
- getKeyID() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the id of the key that created the signature.
- getKeyID(PublicKeyPacket, byte[]) - Static method in class org.bouncycastle.bcpg.PublicKeyPacket
- getKeyIdentifier() - Method in class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
- getKeyIdentifier() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
- getKeyIdentifier() - Method in class org.bouncycastle.bcpg.sig.IssuerKeyID
- getKeyIdentifier() - Method in class org.bouncycastle.bcpg.sig.RevocationKey
-
Deprecated.
- getKeyIdentifier() - Method in class org.bouncycastle.openpgp.PGPKeyPair
-
Return the
KeyIdentifier
associated with the public key. - getKeyIdentifier() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return a
KeyIdentifier
identifying thisPGPOnePassSignature
. - getKeyIdentifier() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return a
KeyIdentifier
identifying this key. - getKeyIdentifier() - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
-
Return a
KeyIdentifier
for the key used to encrypt the data. - getKeyIdentifier() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return a
KeyIdentifier
for this key. - getKeyIdentifier(KeyFingerPrintCalculator) - Method in class org.bouncycastle.openpgp.PGPPrivateKey
- getKeyIdentifiers() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Create a list of
KeyIdentifier
objects, for allIssuerFingerprint
andIssuerKeyID
signature subpackets found in either the hashed or unhashed areas of the signature. - getKeyLengthInBits(int) - Static method in class org.bouncycastle.bcpg.SymmetricKeyUtils
- getKeyLengthInOctets(int) - Static method in class org.bouncycastle.bcpg.SymmetricKeyUtils
- 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.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.
- getKeysWithSignaturesBy(long) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
-
Return any keys carrying a signature issued by the key represented by keyID.
- getKeysWithSignaturesBy(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPKeyRing
- getKeysWithSignaturesBy(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- getKeysWithSignaturesBy(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getKeyType() - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData
- getKeyVersion() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Return the version number of the recipient key.
- getKeyVersion() - Method in class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
- getKeyVersion() - Method in class org.bouncycastle.bcpg.sig.IssuerFingerprint
- getLevelAndTrustAmount() - Method in class org.bouncycastle.bcpg.TrustPacket
- getMemorySizeExponent() - Method in class org.bouncycastle.bcpg.S2K
-
Gets the memory size exponent - only if ARGON_2.
- getMemSizeExp() - Method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Return the exponent indicating the memory size
- 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.PGPExtendedKeyHeader
- getNonce(byte[], long) - Static method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil
-
Generate a nonce by xor-ing the given iv with the chunk index.
- getNotationDataOccurences() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Deprecated.use getNotationDataOccurrences()
- getNotationDataOccurrences() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getNotationDataOccurrences(String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return all
NotationData
occurrences which match the given notation name. - 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
- getOutputStream() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getOutputStream() - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifier
- getOutputStream() - Method in interface org.bouncycastle.openpgp.operator.PGPDigestCalculator
-
Returns a stream that will accept data for the purpose of calculating a digest.
- getOutputStream(OutputStream) - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptor
-
Constructs an encrypting output stream that encrypts data using the underlying cipher of this encryptor.
- getP() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
- getP() - Method in class org.bouncycastle.bcpg.ElGamalPublicBCPGKey
- getPacketTag() - Method in class org.bouncycastle.bcpg.Packet
-
Return the tag of the packet.
- getPadding() - Method in class org.bouncycastle.bcpg.PaddingPacket
- getPadding() - Method in class org.bouncycastle.openpgp.PGPPadding
-
Return the padding octets as a byte array.
- getParallelism() - Method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Return the factor of parallelism
- getParallelism() - Method in class org.bouncycastle.bcpg.S2K
-
Gets the degree of parallelism - only if ARGON_2.
- getPasses() - Method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Return the number of passes
- getPasses() - Method in class org.bouncycastle.bcpg.S2K
-
Return the number of passes - only Argon2.
- getPGPPrivateKey(PGPPublicKey, PrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
-
Convert a PrivateKey into a PGPPrivateKey.
- getPGPPrivateKey(PGPPublicKey, AsymmetricKeyParameter) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
- getPGPPublicKey(int, int, PublicKey, Date) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
-
Create a PGPPublicKey from the passed in JCA one.
- getPGPPublicKey(int, int, PGPAlgorithmParameters, PublicKey, Date) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
-
Create a PGPPublicKey from the passed in JCA one.
- getPGPPublicKey(int, int, PGPAlgorithmParameters, AsymmetricKeyParameter, Date) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
-
Create a PGPPublicKey from the passed in JCA one.
- getPGPPublicKey(int, PublicKey, Date) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
-
Deprecated.use versioned
JcaPGPKeyConverter.getPGPPublicKey(int, int, PublicKey, Date)
instead. - getPGPPublicKey(int, PGPAlgorithmParameters, PublicKey, Date) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
-
Deprecated.use versioned
JcaPGPKeyConverter.getPGPPublicKey(int, int, PGPAlgorithmParameters, PublicKey, Date)
instead. - getPGPPublicKey(int, PGPAlgorithmParameters, AsymmetricKeyParameter, Date) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
-
Deprecated.
- getPolicyURI() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getPolicyURIs() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getPreferences() - Method in class org.bouncycastle.bcpg.sig.PreferredAlgorithms
- getPreferredAEADAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getPreferredAEADCiphersuites() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return the preferred AEAD ciphersuites denoted in the signature.
- getPreferredCompressionAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getPreferredHashAlgorithms() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getPreferredLibrePgpEncryptionModes() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return the preferred LibrePGP encryption modes denoted in the signature.
- 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.operator.jcajce.JcaPGPPrivateKey
- getPrivateKey() - Method in class org.bouncycastle.openpgp.PGPKeyPair
- getPrivateKey(PGPPrivateKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
- getPrivateKey(PGPPrivateKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
- getPrivateKeyDataPacket() - Method in class org.bouncycastle.openpgp.PGPPrivateKey
-
Return the private key packet associated with this private key, if available.
- getPrivateKeyInfo(ASN1ObjectIdentifier, byte[]) - Method in class org.bouncycastle.openpgp.operator.PGPKeyConverter
- getPrivateKeyInfo(ASN1ObjectIdentifier, int, byte[]) - Method in class org.bouncycastle.openpgp.operator.PGPKeyConverter
- getProtectionMode() - Method in class org.bouncycastle.bcpg.S2K
-
Gets the protection mode - only if GNU_DUMMY_S2K.
- getProtectionMode() - Method in class org.bouncycastle.bcpg.S2K.GNUDummyParams
-
Return the GNU Dummy S2K protection method.
- getPublicExponent() - Method in class org.bouncycastle.bcpg.RSAPublicBCPGKey
- getPublicKey() - Method in class org.bouncycastle.openpgp.PGPKeyPair
- getPublicKey() - Method in class org.bouncycastle.openpgp.PGPKeyRing
-
Return the first public key in the ring.
- getPublicKey() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
-
Return the first public key in the ring.
- getPublicKey() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the public key associated with this key.
- getPublicKey() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
-
Return the public key for the master key.
- getPublicKey(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.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(byte[]) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
-
Return the public key with the passed in fingerprint if it is present.
- 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.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.
- 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(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPKeyRing
- getPublicKey(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- getPublicKey(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getPublicKey(PGPPublicKey) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPKeyConverter
- getPublicKey(PGPPublicKey) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
- getPublicKeyAlgorithm() - Method in class org.bouncycastle.bcpg.sig.SignatureTarget
- getPublicKeyPacket() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the public key packet corresponding to the secret key packet.
- getPublicKeyPacket() - Method in class org.bouncycastle.openpgp.PGPPrivateKey
-
Return the public key packet associated with this private key, if available.
- getPublicKeyPacket() - Method in class org.bouncycastle.openpgp.PGPPublicKey
- getPublicKeyRing(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
-
Return the public key ring which contains the 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.PGPPublicKeyRing
-
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(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPKeyRing
- getPublicKeys(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
- getPublicKeys(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getQ() - Method in class org.bouncycastle.bcpg.DSAPublicBCPGKey
- getRawAlgorithms() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Return AEAD algorithm preferences.
- 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.sig.SignerUserID
- getRawID() - Method in class org.bouncycastle.bcpg.UserIDPacket
- getRawRegex() - Method in class org.bouncycastle.bcpg.sig.RegularExpression
- getRawURI() - Method in class org.bouncycastle.bcpg.sig.PolicyURI
- getRawURI() - Method in class org.bouncycastle.bcpg.sig.PreferredKeyServer
- getRawUserIDs() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return any userIDs associated with the key in raw byte form.
- getRegex() - Method in class org.bouncycastle.bcpg.sig.RegularExpression
- getRegularExpression() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getRegularExpressions() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getReserved() - Method in class org.bouncycastle.bcpg.ECDHPublicBCPGKey
- getRevocable() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getRevocationDescription() - Method in class org.bouncycastle.bcpg.sig.RevocationReason
- getRevocationKeys() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getRevocationReason() - Method in class org.bouncycastle.bcpg.sig.RevocationReason
- getRevocationReason() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getS2K() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the S2K identifier describing, how to derive the symmetric key to protect the secret key material with.
- getS2K() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- getS2K() - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- getS2K() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the S2K used to process this key
- getS2KUsage() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the S2K usage mode indicating how the secret key material is protected.
- getS2KUsage() - Method in class org.bouncycastle.openpgp.PGPSecretKey
-
Return the S2K usage associated with this key.
- getSalt() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the salt used in the signature.
- getSalt() - Method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Return a 16-byte byte array containing the salt
- getSalt() - Method in class org.bouncycastle.bcpg.SignaturePacket
-
Return the signature's salt.
- getSalt() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Return the salt used to derive the message key.
- getSalt() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return the salt used in the corresponding signature.
- 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.
- getSecretKey(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getSecretKeyData() - Method in class org.bouncycastle.bcpg.SecretKeyPacket
-
Return the encrypted/checksum'd secret key data.
- 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.
- getSecretKeys(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
- getSecureRandom() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- getSecureRandom() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- getSecureRandom() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Gets the SecureRandom instance used by this builder.
- getSessionInfo(byte[], byte[]) - Static method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- getSessionInfo(byte[], int, byte[]) - Static method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- getSessionKey() - Method in class org.bouncycastle.openpgp.operator.bc.BcSessionKeyDataDecryptorFactory
- getSessionKey() - Method in interface org.bouncycastle.openpgp.operator.SessionKeyDataDecryptorFactory
- getSessionKey(PBEDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
-
Return the symmetric session key required to decrypt the data protected by this object.
- getSessionKey(PublicKeyDataDecryptorFactory) - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
-
Return the symmetric session key required to decrypt the data protected by this object.
- getSessionKeyWrapperAlgorithm(int) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Return the key wrapping algorithm this PBE key method is associated with.
- 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 interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getSignature() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the cryptographic raw signature contained in the OpenPGP signature packet.
- 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
-
Deprecated.
- 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.
- getSignaturesForKey(KeyIdentifier) - Method in class org.bouncycastle.openpgp.PGPPublicKey
- 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
-
Return the type id of the signature.
- getSignatureType() - Method in interface org.bouncycastle.openpgp.PGPSignatureVerifier
-
Return the signature type.
- getSignerUserID() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getSubpacket(int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- getSubpacket(int) - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
- getSubpackets() - Method in class org.bouncycastle.bcpg.UserAttributePacket
- getSubpackets(int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Return all signature subpackets of the passed in type currently in the generator.
- getSubpackets(int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return all signature subpackets of the passed in type.
- getSymmetricAlgorithm() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
-
Return the symmetric algorithm tag.
- 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
-
Deprecated.use getPacketTag();
- getTime() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Return the keys creation time.
- getTime() - Method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
-
Return the number of seconds after creation time a key is valid for.
- getTime() - Method in class org.bouncycastle.bcpg.sig.SignatureCreationTime
- getTime() - Method in class org.bouncycastle.bcpg.sig.SignatureExpirationTime
-
return time in seconds before signature expires after creation time.
- getTrust() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- 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.AEADEncDataPacket
- getType() - Method in interface org.bouncycastle.bcpg.BCPGHeaderObject
-
Return the header type.
- getType() - Method in class org.bouncycastle.bcpg.S2K
-
Gets the S2K specifier type.
- getType() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
- getType() - Method in class org.bouncycastle.bcpg.SymmetricEncDataPacket
- getType() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- getType() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
- getType() - Method in interface org.bouncycastle.openpgp.operator.PGPContentSigner
- getUnderlyingException() - Method in exception org.bouncycastle.openpgp.PGPException
- getUnhashedKeyIdentifiers() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return a list of all
KeyIdentifiers
that could be derived from anyIssuerFingerprint
orIssuerKeyID
subpackets of the unhashed signature subpacket area. - getUnhashedSubPackets() - Method in class org.bouncycastle.bcpg.SignaturePacket
- getUnhashedSubPackets() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the unhashed subpackets of the signature.
- getURI() - Method in class org.bouncycastle.bcpg.sig.PolicyURI
- getURI() - Method in class org.bouncycastle.bcpg.sig.PreferredKeyServer
-
Return the URI of the users preferred key server.
- 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.
- getV6SignatureSaltSizeInBytes(int) - Static method in class org.bouncycastle.bcpg.HashUtils
-
Return the length of the salt per hash algorithm, used in OpenPGP v6 signatures.
- getValidDays() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Deprecated.v4 and v6 keys instead signal their expiration time via the
KeyExpirationTime
signature subpacket. - 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
- getValue() - Method in class org.bouncycastle.openpgp.PGPExtendedKeyHeader
- getValues() - Method in class org.bouncycastle.openpgp.PGPExtendedKeyAttribute
- getVersion() - Method in class org.bouncycastle.bcpg.AEADEncDataPacket
- getVersion() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return the packet version.
- getVersion() - Method in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Return the version of this PKESK packet.
- getVersion() - Method in class org.bouncycastle.bcpg.PublicKeyPacket
-
Return the packet version.
- getVersion() - Method in class org.bouncycastle.bcpg.SignaturePacket
-
get the version number
- getVersion() - Method in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
- getVersion() - Method in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- getVersion() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
-
Return the version number of the Encrypted Session Key Packet.
- getVersion() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return the packet version.
- getVersion() - Method in class org.bouncycastle.openpgp.PGPPBEEncryptedData
- getVersion() - Method in class org.bouncycastle.openpgp.PGPPublicKey
- getVersion() - Method in class org.bouncycastle.openpgp.PGPPublicKeyEncryptedData
- getVersion() - Method in class org.bouncycastle.openpgp.PGPSessionKeyEncryptedData
- getVersion() - Method in class org.bouncycastle.openpgp.PGPSignature
-
Return the OpenPGP version number for this signature.
- getX() - Method in class org.bouncycastle.bcpg.DSASecretBCPGKey
- getX() - Method in class org.bouncycastle.bcpg.ECSecretBCPGKey
- getX() - Method in class org.bouncycastle.bcpg.EdSecretBCPGKey
- getX() - Method in class org.bouncycastle.bcpg.ElGamalSecretBCPGKey
- getXDHAlgorithm(PublicKeyPacket) - Static method in class org.bouncycastle.openpgp.operator.RFC6637Utils
- 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 S2K extension.
- GNU_PROTECTION_MODE_DIVERT_TO_CARD - Static variable in class org.bouncycastle.bcpg.S2K
-
A stub to access smartcards.
- GNU_PROTECTION_MODE_INTERNAL - Static variable in class org.bouncycastle.bcpg.S2K
-
The (GnuPG) internal representation of a private key.
- GNU_PROTECTION_MODE_NO_PRIVATE_KEY - Static variable in class org.bouncycastle.bcpg.S2K
-
Do not store the secret part at all.
- gnuDummyS2K(S2K.GNUDummyParams) - Static method in class org.bouncycastle.bcpg.S2K
-
Return a new S2K instance using the
S2K.GNU_DUMMY_S2K
method, using the given GNU Dummy S2K
H
- hasFingerprint(byte[]) - Method in class org.bouncycastle.bcpg.KeyIdentifier
-
Return true if the KeyIdentifier has a fingerprint corresponding to the passed in one.
- hasFingerprint(byte[]) - Method in class org.bouncycastle.openpgp.PGPPublicKey
- HASH_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
- HashAlgorithmTags - Interface in org.bouncycastle.bcpg
-
Basic tags for hash algorithms.
- hashCode() - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites.Combination
- hashCode() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
- hashCode() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacket
- hashCode() - Method in class org.bouncycastle.bcpg.UserIDPacket
- hashCode() - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector
- HashUtils - Class in org.bouncycastle.bcpg
- HashUtils() - Constructor for class org.bouncycastle.bcpg.HashUtils
- hasNewPacketFormat() - Method in class org.bouncycastle.bcpg.Packet
-
Return true, if this instance of a packet was encoded using the new packet format.
- 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.PGPSignatureSubpacketGenerator
-
Return true if a particular subpacket type exists.
- 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
-
Reserved for HAVAL (5 pass, 160-bit).
- 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
-
IDEA.
- IMAGE_ATTRIBUTE - Static variable in interface org.bouncycastle.bcpg.UserAttributeSubpacketTags
-
Tag for an
ImageAttribute
. - ImageAttribute - Class in org.bouncycastle.bcpg.attr
-
User-Attribute Subpacket used to encode an image, e.g.
- 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
- implGetKdfParameters(ASN1ObjectIdentifier, PGPAlgorithmParameters) - Method in class org.bouncycastle.openpgp.operator.PGPKeyConverter
-
Reference: RFC9580 - OpenPGP
- 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
-
Initialize the signature for verification.
- InputStreamPacket - Class in org.bouncycastle.bcpg
-
A block of data associated with other packets in a PGP object stream.
- InputStreamPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.InputStreamPacket
- insertOrReplacePublicKey(PGPSecretKeyRing, PGPPublicKey) - Static method in class org.bouncycastle.openpgp.PGPSecretKeyRing
-
Either replace the public key on the corresponding secret key in the key ring if present, or insert the public key as an extra public key in case that the secret ring does not contain the corresponding secret key.
- 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 in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the fingerprint of the intended recipients primary key.
- IntendedRecipientFingerprint(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
- IntendedRecipientFingerprint(boolean, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IntendedRecipientFingerprint
- internal() - Static method in class org.bouncycastle.bcpg.S2K.GNUDummyParams
-
Factory method for a GNU Dummy S2K indicating an internal private key.
- intToByteArray(int[]) - Static method in class org.bouncycastle.bcpg.sig.PreferredAlgorithms
- isAEAD() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
-
Checks whether the packet is protected using an AEAD algorithm.
- 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
- isContaining() - Method in class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Return true, if the signature contains any signatures that follow.
- isContaining() - Method in class org.bouncycastle.openpgp.PGPOnePassSignature
-
Return true, if the signature contains any signatures that follow.
- isCritical() - Method in class org.bouncycastle.bcpg.Packet
-
Returns whether the packet is to be considered critical for v6 implementations.
- isCritical() - Method in class org.bouncycastle.bcpg.SignatureSubpacket
- isEmpty() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
Returns
true
iff there are 0 encryption methods in this list. - isEmpty() - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
- isEmpty() - Method in class org.bouncycastle.openpgp.PGPSignatureList
- isEncryptionKey() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Return true if this key 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
- isExportable() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- isHumanReadable() - Method in class org.bouncycastle.bcpg.sig.NotationData
- isIntegrityProtected() - Method in class org.bouncycastle.openpgp.PGPEncryptedData
-
Checks whether the packet is integrity protected using a modification detection code package.
- isIntegrityProtected() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
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.
- isPresentIn(List<KeyIdentifier>) - Method in class org.bouncycastle.bcpg.KeyIdentifier
-
Return true, if this
KeyIdentifier
is present in the given list ofKeyIdentifier
. - 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
- isRevocable() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
- isRevoked() - Method in class org.bouncycastle.openpgp.PGPPublicKey
-
Deprecated.this method is poorly named, use hasRevocation().
- isSignatureEncodingEqual(PGPSignature, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPSignature
-
Return true, if the cryptographic signature encoding of the two signatures match.
- 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 in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the fingerprint of the issuers signing (sub-) key.
- 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 in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the key-id of the issuers signing (sub-) key.
- IssuerKeyID(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID
- IssuerKeyID(boolean, long) - Constructor for class org.bouncycastle.bcpg.sig.IssuerKeyID
- isSupported(PreferredAEADCiphersuites.Combination) - Method in class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Return true, if the given algorithm combination is supported (explicitly or implicitly).
- isV5StyleAEAD() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- isV5StyleAEAD() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- isV5StyleAEAD() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
- isVerified() - Method in interface org.bouncycastle.openpgp.PGPSignatureVerifier
-
Return if the signature verifies or not.
- isWildcard() - Method in class org.bouncycastle.bcpg.KeyIdentifier
-
Returns true, if the
KeyIdentifier
specifies a wildcard (matches anything). - iterator() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
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.PGPOnePassSignatureList
-
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.PGPSecretKeyRing
-
Support method for Iterable where available.
- iterator() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
-
Support method for Iterable where available.
- iterator() - Method in class org.bouncycastle.openpgp.PGPSignatureList
-
Support method for Iterable where available.
J
- JcaAEADSecretKeyEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JcaAEADSecretKeyEncryptorBuilder(int, int, S2K.Argon2Params) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorBuilder
- JcaKeyFingerprintCalculator - Class in org.bouncycastle.openpgp.operator.jcajce
- JcaKeyFingerprintCalculator() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator
-
Base Constructor - use the JCA defaults.
- JcaPGPContentSignerBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JcaPGPContentSignerBuilder(int, int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- JcaPGPContentVerifierBuilderProvider - Class in org.bouncycastle.openpgp.operator.jcajce
- JcaPGPContentVerifierBuilderProvider() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentVerifierBuilderProvider
- JcaPGPDigestCalculatorProviderBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
-
A builder for
PGPDigestCalculatorProvider
instances that obtain cryptographic primitives using the JCA API. - JcaPGPDigestCalculatorProviderBuilder() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPDigestCalculatorProviderBuilder
-
Default constructor.
- JcaPGPKeyConverter - Class in org.bouncycastle.openpgp.operator.jcajce
- JcaPGPKeyConverter() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
- JcaPGPKeyPair - Class in org.bouncycastle.openpgp.operator.jcajce
-
A PGP key pair class that is constructed from JCA/JCE key pairs.
- JcaPGPKeyPair(int, int, KeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPair
-
Construct PGP key pair from a JCA/JCE key pair.
- JcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPair
-
Construct PGP key pair from a JCA/JCE key pair.
- JcaPGPKeyPair(int, KeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPair
-
Deprecated.use versioned
JcaPGPKeyPair(int, int, KeyPair, Date)
instead - JcaPGPKeyPair(int, PGPAlgorithmParameters, KeyPair, Date) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPair
-
Deprecated.use versioned
JcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date)
instead - JcaPGPObjectFactory - Class in org.bouncycastle.openpgp.jcajce
-
PGPObjectFactory
that uses the sources cryptographic primitives from the JCA API. - JcaPGPObjectFactory(byte[]) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPObjectFactory
-
Construct an object factory to read PGP objects from encoded data.
- JcaPGPObjectFactory(InputStream) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPObjectFactory
-
Construct an object factory to read PGP objects from a stream.
- JcaPGPPrivateKey - Class in org.bouncycastle.openpgp.operator.jcajce
-
A JCA PrivateKey carrier.
- JcaPGPPrivateKey(long, PrivateKey) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPPrivateKey
- JcaPGPPrivateKey(PGPPublicKey, PrivateKey) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcaPGPPrivateKey
- JcaPGPPublicKeyRing - Class in org.bouncycastle.openpgp.jcajce
- JcaPGPPublicKeyRing(byte[]) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPPublicKeyRing
- JcaPGPPublicKeyRing(InputStream) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPPublicKeyRing
- JcaPGPPublicKeyRingCollection - Class in org.bouncycastle.openpgp.jcajce
- JcaPGPPublicKeyRingCollection(byte[]) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPPublicKeyRingCollection
- JcaPGPPublicKeyRingCollection(InputStream) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPPublicKeyRingCollection
- JcaPGPPublicKeyRingCollection(Collection<PGPPublicKeyRing>) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPPublicKeyRingCollection
- JcaPGPSecretKeyRing - Class in org.bouncycastle.openpgp.jcajce
- JcaPGPSecretKeyRing(byte[]) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRing
- JcaPGPSecretKeyRing(InputStream) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRing
- JcaPGPSecretKeyRingCollection - Class in org.bouncycastle.openpgp.jcajce
- JcaPGPSecretKeyRingCollection(byte[]) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRingCollection
- JcaPGPSecretKeyRingCollection(InputStream) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRingCollection
- JcaPGPSecretKeyRingCollection(Collection<PGPSecretKeyRing>) - Constructor for class org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRingCollection
- JceAEADCipherUtil - Class in org.bouncycastle.openpgp.operator.jcajce
- JceAEADCipherUtil() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JceAEADCipherUtil
- JcePBEDataDecryptorFactoryBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
-
Builder for
PBEDataDecryptorFactory
instances that obtain cryptographic primitives using the JCE API. - JcePBEDataDecryptorFactoryBuilder() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder
-
Base constructor - assume the required digest calculators can be provided from the same source as the cipher needed.
- JcePBEDataDecryptorFactoryBuilder(PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder
-
Base constructor.
- JcePBEKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator.jcajce
-
JCE based generator for password based encryption (PBE) data protection methods.
- JcePBEKeyEncryptionMethodGenerator(char[]) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the default SHA-1 digest and the default S2K count for key generation.
- JcePBEKeyEncryptionMethodGenerator(char[], int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the default SHA-1 digest calculator and a S2K count other than the default for key generation.
- JcePBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the provided digest and the default S2K count for key generation.
- JcePBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Create a PBE encryption method generator using the provided calculator and S2K count for key generation.
- JcePBEProtectionRemoverFactory - Class in org.bouncycastle.openpgp.operator.jcajce
- JcePBEProtectionRemoverFactory(char[]) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
- JcePBEProtectionRemoverFactory(char[], PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
- JcePBESecretKeyDecryptorBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JcePBESecretKeyDecryptorBuilder() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder
- JcePBESecretKeyDecryptorBuilder(PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder
- JcePBESecretKeyEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JcePBESecretKeyEncryptorBuilder(int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
- JcePBESecretKeyEncryptorBuilder(int, int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
-
Create a SecretKeyEncryptorBuilder with the S2K count different to the default of 0x60.
- JcePBESecretKeyEncryptorBuilder(int, PGPDigestCalculator) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
-
Create a builder which will make encryptors using the passed in digest calculator.
- JcePBESecretKeyEncryptorBuilder(int, PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
-
Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest different from SHA-1.
- JcePGPDataEncryptorBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
-
PGPDataEncryptorBuilder
implementation that sources cryptographic primitives using the JCE APIs. - JcePGPDataEncryptorBuilder(int) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
-
Constructs a new data encryptor builder for a specified cipher type.
- JcePublicKeyDataDecryptorFactoryBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JcePublicKeyDataDecryptorFactoryBuilder() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
- JcePublicKeyKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator.jcajce
- JcePublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyKeyEncryptionMethodGenerator
-
Create a public key encryption method generator with the method to be based on the passed in key.
- JceSessionKeyDataDecryptorFactoryBuilder - Class in org.bouncycastle.openpgp.operator.jcajce
- JceSessionKeyDataDecryptorFactoryBuilder() - Constructor for class org.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder
- join(PGPPublicKeyRing, PGPPublicKeyRing) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRing
-
Join two copies of the same certificate.
- join(PGPPublicKeyRing, PGPPublicKeyRing, boolean, boolean) - Static method in class org.bouncycastle.openpgp.PGPPublicKeyRing
-
Join two copies of the same certificate.
- join(PGPPublicKey, PGPPublicKey, boolean, boolean) - Static method in class org.bouncycastle.openpgp.PGPPublicKey
-
Merge this the given local public key with another, potentially fresher copy.
- join(PGPSignature, PGPSignature) - Static method in class org.bouncycastle.openpgp.PGPSignature
-
Join two copies of the same signature.
- JPEG - Static variable in class org.bouncycastle.bcpg.attr.ImageAttribute
K
- KEY_BLOCK - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- 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
-
The signature is used to revoke a primary key (and in turn the whole certificate with all its subkeys).
- KEY_SERVER_PREFS - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- KEY_SUPERSEDED - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
- KeyBasedFileProcessor - Class in org.bouncycastle.openpgp.examples
-
A simple utility class that encrypts/decrypts public key based encryption files.
- KeyBasedFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor
- KeyBasedLargeFileProcessor - Class in org.bouncycastle.openpgp.examples
-
A simple utility class that encrypts/decrypts public key based encryption large files.
- KeyBasedLargeFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor
- KeyExpirationTime - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the number of seconds after the key's creation date, after 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
- KeyFingerPrintCalculator - Interface in org.bouncycastle.openpgp.operator
- KeyFlags - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket encoding the capabilities / intended uses of a key.
- KeyFlags(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.KeyFlags
- KeyFlags(boolean, int) - Constructor for class org.bouncycastle.bcpg.sig.KeyFlags
- KeyIdentifier - Class in org.bouncycastle.bcpg
-
Utility class for matching key-ids / fingerprints.
- KeyIdentifier(byte[]) - Constructor for class org.bouncycastle.bcpg.KeyIdentifier
-
Create a new
KeyIdentifier
based on a keys fingerprint. - KeyIdentifier(byte[], long) - Constructor for class org.bouncycastle.bcpg.KeyIdentifier
-
Create a
KeyIdentifier
based on the given fingerprint and key-id. - KeyIdentifier(long) - Constructor for class org.bouncycastle.bcpg.KeyIdentifier
-
Create a
KeyIdentifier
based on the given key-id. - keyIdFromFingerprint(int, byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Derive a key-id from the given key fingerprint.
- keyIdFromLibrePgpFingerprint(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Derive a 64 bit key-id from a version 5 LibrePGP fingerprint.
- keyIdFromV4Fingerprint(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Derive a 64 bit key-id from a version 4 OpenPGP fingerprint.
- keyIdFromV6Fingerprint(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Derive a 64 bit key-id from a version 6 OpenPGP fingerprint.
- keyIDToBytes(long) - Static method in class org.bouncycastle.bcpg.sig.IssuerKeyID
L
- LEGACY - org.bouncycastle.bcpg.PacketFormat
-
Always use the old (legacy) packet format.
- LENGTH - Static variable in class org.bouncycastle.bcpg.Ed25519PublicBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.Ed25519SecretBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.Ed448PublicBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.Ed448SecretBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.X25519PublicBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.X25519SecretBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.X448PublicBCPGKey
- LENGTH - Static variable in class org.bouncycastle.bcpg.X448SecretBCPGKey
- LIBREPGP_5 - Static variable in class org.bouncycastle.bcpg.PublicKeyPacket
-
Non-Standard LibrePGP introduced v5, which is only supported by a subset of vendors.
- LIBREPGP_PREFERRED_ENCRYPTION_MODES - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- LibrePGPPreferredEncryptionModes - Class in org.bouncycastle.bcpg.sig
-
This is a deprecated LibrePGP signature subpacket with encryption mode numbers to indicate which modes the key holder prefers to use with OCB Encrypted Data Packets (
AEADEncDataPacket
). - LibrePGPPreferredEncryptionModes(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.LibrePGPPreferredEncryptionModes
- LibrePGPPreferredEncryptionModes(boolean, int[]) - Constructor for class org.bouncycastle.bcpg.sig.LibrePGPPreferredEncryptionModes
- LITERAL_DATA - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Literal Data Packet.
- LiteralDataPacket - Class in org.bouncycastle.bcpg
-
Generic literal data packet.
- longFromLeftMostBytes(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Convert the left-most 8 bytes from the given array to a long.
- longFromRightMostBytes(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Convert the right-most 8 bytes from the given array to a long.
M
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.ByteArrayHandler
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.DetachedSignatureProcessor
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.DirectKeySignature
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.DSAElGamalKeyRingGenerator
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.EllipticCurveKeyPairGenerator
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.KeyBasedFileProcessor
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.KeyBasedLargeFileProcessor
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.PBEFileProcessor
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.PubringDump
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
- main(String[]) - Static method in class org.bouncycastle.openpgp.examples.SignedFileProcessor
- makeKeyFromPassPhrase(int, S2K) - Method in class org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
-
Generates an encryption key using the pass phrase and digest calculator configured for this factory.
- makeKeyFromPassPhrase(int, S2K) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
- makeRandomKey(int, SecureRandom) - Static method in class org.bouncycastle.openpgp.PGPUtil
-
Generates a random key for a
symmetric encryption algorithm
. - mark(int) - Method in class org.bouncycastle.bcpg.BCPGInputStream
- MARKER - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Marker Packet.
- MarkerPacket - Class in org.bouncycastle.bcpg
-
Basic type for a marker packet
- MarkerPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.MarkerPacket
- MarkerPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.MarkerPacket
- markSupported() - Method in class org.bouncycastle.bcpg.BCPGInputStream
- matches(KeyIdentifier) - Method in class org.bouncycastle.bcpg.KeyIdentifier
-
Return true, if this
KeyIdentifier
matches the given otherKeyIdentifier
. - MAX_PADDING_LEN - Static variable in class org.bouncycastle.openpgp.PGPPadding
-
Maximum random padding length.
- 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
-
Reserved for MD2.
- MD4 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- MD5 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
MD5.
- memoryConstrainedParameters() - Static method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Recommended parameters for memory constrained environments (64MiB RAM).
- MESSAGE_ID_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
- MIME - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
-
Format tag for MIME message bodies
- MIN_PADDING_LEN - Static variable in class org.bouncycastle.openpgp.PGPPadding
-
Minimum random padding length in octets.
- MOD_DETECTION_CODE - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Modification Detection Code Packet.
- ModDetectionCodePacket - Class in org.bouncycastle.bcpg
-
basic packet for a modification detection code packet.
- ModDetectionCodePacket(byte[]) - Constructor for class org.bouncycastle.bcpg.ModDetectionCodePacket
- MPInteger - Class in org.bouncycastle.bcpg
-
a multiple precision integer
- MPInteger(BigInteger) - Constructor for class org.bouncycastle.bcpg.MPInteger
- MPInteger(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.MPInteger
N
- nextObject() - Method in class org.bouncycastle.openpgp.PGPObjectFactory
-
Return the next object in the stream, or
null
if the end 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
-
Persona certification over a user-id or user-attribute.
- NO_REASON - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
- noPrivateKey() - Static method in class org.bouncycastle.bcpg.S2K.GNUDummyParams
-
Factory method for a GNU Dummy S2K indicating a missing private key.
- NOTATION_DATA - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- NotationData - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket encoding custom notations.
- 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.PGPCanonicalizedDataGenerator
-
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.
- NOW - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
-
The special time for a modification time of "now" or the present time.
- NULL - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Plaintext or unencrypted data.
O
- OCB - Static variable in interface org.bouncycastle.bcpg.AEADAlgorithmTags
-
OCB with 15-bit nonce/IV and 16-bit auth tag length.
- OctetArrayBCPGKey - Class in org.bouncycastle.bcpg
-
Public/Secret BCPGKey which is encoded as an array of octets rather than an MPI.
- ONE_PASS_SIGNATURE - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
One-Pass-Signature Packet.
- OnePassSignaturePacket - Class in org.bouncycastle.bcpg
-
One-Pass-Signature packet.
- OnePassSignaturePacket(int, int, int, byte[], byte[], boolean) - Constructor for class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Create a version 6
OnePassSignaturePacket
. - OnePassSignaturePacket(int, int, int, long, boolean) - Constructor for class org.bouncycastle.bcpg.OnePassSignaturePacket
-
Create a version 3
OnePassSignaturePacket
. - open() - Method in class org.bouncycastle.bcpg.OutputStreamPacket
-
Deprecated.
- 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.PGPCompressedDataGenerator
-
Return an OutputStream which will compress the data as it is written to it.
- 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, char, File) - Method in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Open a literal data packet for the passed in File object, returning an output stream for saving the file contents.
- 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, 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, char, String, Date) - Method in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Open a literal data packet, returning a stream to store the data inside the packet.
- open(OutputStream, char, String, Date, byte[]) - Method in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Open a literal data packet, returning a stream to store the data inside the packet as an indefinite-length stream.
- 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, Date, File) - Method in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
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.
- OpenedPGPKeyData - Class in org.bouncycastle.openpgp
-
Wraps PGP key headers and pgp key SExpression
- OpenedPGPKeyData(List<PGPExtendedKeyHeader>, SExpression) - Constructor for class org.bouncycastle.openpgp.OpenedPGPKeyData
- OpenedPGPKeyData.Builder - Class in org.bouncycastle.openpgp
- 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.bc - package org.bouncycastle.openpgp.bc
-
BC light weight based OpenPGP objects.
- org.bouncycastle.openpgp.examples - package org.bouncycastle.openpgp.examples
-
Examples of use of the org.bouncycastle.openpgp package.
- org.bouncycastle.openpgp.jcajce - package org.bouncycastle.openpgp.jcajce
-
JCA/JCE provider based OpenPGP objects.
- org.bouncycastle.openpgp.operator - package org.bouncycastle.openpgp.operator
-
Interfaces and abstract classes to provide the framework to support operations on the OpenPGP high level classes.
- org.bouncycastle.openpgp.operator.bc - package org.bouncycastle.openpgp.operator.bc
-
BC lightweight operators for dealing with OpenPGP objects.
- org.bouncycastle.openpgp.operator.jcajce - package org.bouncycastle.openpgp.operator.jcajce
-
JCA/JCE based operators for dealing with OpenPGP objects.
- out - Variable in class org.bouncycastle.bcpg.OutputStreamPacket
-
Deprecated.
- OutputStreamPacket - Class in org.bouncycastle.bcpg
-
Deprecated.Will be removed
- OutputStreamPacket(BCPGOutputStream) - Constructor for class org.bouncycastle.bcpg.OutputStreamPacket
-
Deprecated.
P
- Packet - Class in org.bouncycastle.bcpg
- Packet() - Constructor for class org.bouncycastle.bcpg.Packet
- PacketFormat - Enum in org.bouncycastle.bcpg
-
OpenPGP Packet Header Length Format.
- PacketTags - Interface in org.bouncycastle.bcpg
-
Basic PGP packet tag types.
- PADDING - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Padding Packet.
- PaddingPacket - Class in org.bouncycastle.bcpg
- PaddingPacket(byte[]) - Constructor for class org.bouncycastle.bcpg.PaddingPacket
- PaddingPacket(int, SecureRandom) - Constructor for class org.bouncycastle.bcpg.PaddingPacket
- PaddingPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.PaddingPacket
- PaddingPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.PaddingPacket
- padSessionData(byte[]) - Static method in class org.bouncycastle.openpgp.operator.PGPPad
- padSessionData(byte[], boolean) - Static method in class org.bouncycastle.openpgp.operator.PGPPad
- 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.
- passPhrase - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- PBEDataDecryptorFactory - Class in org.bouncycastle.openpgp.operator
-
A factory for performing PBE decryption operations.
- PBEDataDecryptorFactory(char[], PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
-
Construct a PBE data decryptor factory.
- PBEFileProcessor - Class in org.bouncycastle.openpgp.examples
-
A simple utility class that encrypts/decrypts password based encryption files.
- PBEFileProcessor() - Constructor for class org.bouncycastle.openpgp.examples.PBEFileProcessor
- PBEKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator
-
PGP style PBE encryption method.
- PBEKeyEncryptionMethodGenerator(char[], S2K.Argon2Params) - Constructor for class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Construct a PBE key generator using Argon2 as S2K mechanism.
- PBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator) - Constructor for class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Construct a PBE key generator using the default iteration count (
0x60
== 65536 iterations). - PBEKeyEncryptionMethodGenerator(char[], PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Construct a PBE key generator using a specific iteration level.
- PBEProtectionRemoverFactory - Interface in org.bouncycastle.openpgp.operator
- PBESecretKeyDecryptor - Class in org.bouncycastle.openpgp.operator
- PBESecretKeyDecryptor(char[], PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
- PBESecretKeyEncryptor - Class in org.bouncycastle.openpgp.operator
- PBESecretKeyEncryptor(int, int, S2K.Argon2Params, SecureRandom, char[]) - Constructor for class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- PBESecretKeyEncryptor(int, PGPDigestCalculator, int, SecureRandom, char[]) - Constructor for class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- PBESecretKeyEncryptor(int, PGPDigestCalculator, SecureRandom, char[]) - Constructor for class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- PGPAEADDataEncryptor - Interface in org.bouncycastle.openpgp.operator
-
A data encryptor, using AEAD.
- PGPAeadInputStream(boolean, InputStream, AEADBlockCipher, KeyParameter, byte[], int, int, int, byte[]) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadInputStream
-
InputStream for decrypting AEAD encrypted data.
- PGPAeadOutputStream(boolean, OutputStream, AEADBlockCipher, KeyParameter, byte[], int, int, int) - Constructor for class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadOutputStream
-
OutputStream for AEAD encryption.
- PGPAlgorithmParameters - Interface in org.bouncycastle.openpgp
- PGPCanonicalizedDataGenerator - Class in org.bouncycastle.openpgp
-
Generator for producing filtered literal data packets which are automatically canonicalized.
- PGPCanonicalizedDataGenerator() - Constructor for class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Constructs a generator for literal data objects.
- PGPCanonicalizedDataGenerator(boolean) - Constructor for class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Constructs a generator for literal data objects, specifying to use new or old (PGP 2.6.x compatible) format.
- PGPCompressedData - Class in org.bouncycastle.openpgp
-
A PGP compressed data object.
- 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.
- PGPCompressedData(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPCompressedData
-
Construct a compressed data object, reading a single
PacketTags.COMPRESSED_DATA
packet from the stream. - PGPCompressedDataGenerator - Class in org.bouncycastle.openpgp
-
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.
- PGPContentSigner - Interface in org.bouncycastle.openpgp.operator
- PGPContentSignerBuilder - Interface in org.bouncycastle.openpgp.operator
- PGPContentVerifier - Interface in org.bouncycastle.openpgp.operator
- PGPContentVerifierBuilder - Interface in org.bouncycastle.openpgp.operator
- PGPContentVerifierBuilderProvider - Interface in org.bouncycastle.openpgp.operator
- PGPDataDecryptor - Interface in org.bouncycastle.openpgp.operator
-
A decryptor that wraps a stream of PGP encrypted data to decrypt, and optionally integrity check, the data.
- PGPDataDecryptorFactory - Interface in org.bouncycastle.openpgp.operator
-
Base interface of factories for
PGPDataDecryptor
. - PGPDataDecryptorProvider - Interface in org.bouncycastle.openpgp.operator
- PGPDataEncryptor - Interface in org.bouncycastle.openpgp.operator
-
A data encryptor, combining a cipher instance and an optional integrity check calculator.
- PGPDataEncryptorBuilder - Interface in org.bouncycastle.openpgp.operator
-
A builder for
PGPDataEncryptor
instances, which can be used to encrypt data objects. - PGPDataValidationException - Exception in org.bouncycastle.openpgp
-
Thrown if the iv at the start of a data stream indicates the wrong key is being used.
- PGPDataValidationException(String) - Constructor for exception org.bouncycastle.openpgp.PGPDataValidationException
- PGPDigestCalculator - Interface in org.bouncycastle.openpgp.operator
-
A digest calculator, which consumes a stream of data and computes a digest value over it.
- PGPDigestCalculatorProvider - Interface in org.bouncycastle.openpgp.operator
-
A factory for digest algorithms.
- PGPEncryptedData - Class in org.bouncycastle.openpgp
-
A PGP encrypted data object.
- PGPEncryptedData.TruncatedStream - Class in org.bouncycastle.openpgp
- PGPEncryptedDataGenerator - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
A holder for a list of PGP encryption method packets and the encrypted data associated with them.
- 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.
- 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.
- PGPException - Exception in org.bouncycastle.openpgp
-
generic exception class for PGP encoding/decoding problems
- PGPException(String) - Constructor for exception org.bouncycastle.openpgp.PGPException
- PGPException(String, Exception) - Constructor for exception org.bouncycastle.openpgp.PGPException
- PGPExtendedKeyAttribute - Class in org.bouncycastle.openpgp
- PGPExtendedKeyAttribute.Builder - Class in org.bouncycastle.openpgp
- PGPExtendedKeyHeader - Class in org.bouncycastle.openpgp
- PGPExtendedKeyHeader(String, String) - Constructor for class org.bouncycastle.openpgp.PGPExtendedKeyHeader
- PGPKdfParameters - Class in org.bouncycastle.openpgp
- PGPKdfParameters(int, int) - Constructor for class org.bouncycastle.openpgp.PGPKdfParameters
- PGPKeyConverter - Class in org.bouncycastle.openpgp.operator
- PGPKeyConverter() - Constructor for class org.bouncycastle.openpgp.operator.PGPKeyConverter
- PGPKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator
-
An encryption method that can be applied to encrypt data in a
PGPEncryptedDataGenerator
. - PGPKeyEncryptionMethodGenerator() - Constructor for class org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator
- PGPKeyFlags - Interface in org.bouncycastle.openpgp
-
key flag values for the KeyFlags subpacket.
- PGPKeyPair - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
Parent class for PGP public and secret key rings.
- PGPKeyRingGenerator - Class in org.bouncycastle.openpgp
-
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.
- PGPKeyRingGenerator(PGPKeyPair, PGPDigestCalculator, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPKeyRingGenerator
-
Create a new key ring generator without a user-id, but instead with a primary key carrying a direct-key signature.
- PGPKeyRingGenerator(PGPSecretKeyRing, PBESecretKeyDecryptor, PGPDigestCalculator, PGPContentSignerBuilder, PBESecretKeyEncryptor) - Constructor for class org.bouncycastle.openpgp.PGPKeyRingGenerator
-
Create a new key ring generator based on an original secret key ring.
- PGPKeyValidationException - Exception in org.bouncycastle.openpgp
-
Thrown if the key checksum is invalid.
- PGPKeyValidationException(String) - Constructor for exception org.bouncycastle.openpgp.PGPKeyValidationException
- PGPLiteralData - Class in org.bouncycastle.openpgp
-
A single literal data packet in a PGP object 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.
- PGPLiteralData(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPLiteralData
-
Construct a PGP LiteralData carrier from the passed in BCPG input stream.
- PGPLiteralDataGenerator - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
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.
- PGPObjectFactory - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
A one pass signature object.
- PGPOnePassSignature(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPOnePassSignature
- PGPOnePassSignatureList - Class in org.bouncycastle.openpgp
-
Holder for a list of PGPOnePassSignatures
- PGPOnePassSignatureList(PGPOnePassSignature) - Constructor for class org.bouncycastle.openpgp.PGPOnePassSignatureList
- PGPOnePassSignatureList(PGPOnePassSignature[]) - Constructor for class org.bouncycastle.openpgp.PGPOnePassSignatureList
- PGPPad - Class in org.bouncycastle.openpgp.operator
-
Utility class that provides padding addition and removal for PGP session keys.
- PGPPadding - Class in org.bouncycastle.openpgp
-
The PGPPadding contains random data, and can be used to defend against traffic analysis on version 2 SEIPD messages and Transferable Public Keys.
- PGPPadding() - Constructor for class org.bouncycastle.openpgp.PGPPadding
-
Generate a new, random
PGPPadding
object. - PGPPadding(int) - Constructor for class org.bouncycastle.openpgp.PGPPadding
-
Generate a new, random
PGPPadding
object. - PGPPadding(int, SecureRandom) - Constructor for class org.bouncycastle.openpgp.PGPPadding
-
Generate a new, random
PGPPadding
object. - PGPPadding(SecureRandom) - Constructor for class org.bouncycastle.openpgp.PGPPadding
-
Generate a new, random
PGPPadding
object. - PGPPadding(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPPadding
-
Default constructor.
- PGPPBEEncryptedData - Class in org.bouncycastle.openpgp
-
A password based encryption object.
- PGPPrivateKey - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
A public key encrypted data object.
- PGPPublicKeyRing - Class in org.bouncycastle.openpgp
-
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<PGPPublicKey>) - 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 in org.bouncycastle.openpgp
-
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(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
-
Build a PGPPublicKeyRingCollection from the passed in input stream.
- PGPPublicKeyRingCollection(Collection<PGPPublicKeyRing>) - Constructor for class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
- PGPRuntimeOperationException - Exception in org.bouncycastle.openpgp
- PGPRuntimeOperationException(String, Throwable) - Constructor for exception org.bouncycastle.openpgp.PGPRuntimeOperationException
- PGPSecretKey - Class in org.bouncycastle.openpgp
-
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(SecretKeyPacket, PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.PGPSecretKey
- 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.
- PGPSecretKeyDecryptorWithAAD - Class in org.bouncycastle.openpgp.operator
- PGPSecretKeyDecryptorWithAAD(char[], PGPDigestCalculatorProvider) - Constructor for class org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
- PGPSecretKeyRing - Class in org.bouncycastle.openpgp
-
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<PGPSecretKey>) - 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 in org.bouncycastle.openpgp
-
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(InputStream, KeyFingerPrintCalculator) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
-
Build a PGPSecretKeyRingCollection from the passed in input stream.
- PGPSecretKeyRingCollection(Collection<PGPSecretKeyRing>) - Constructor for class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
- PGPSessionKey - Class in org.bouncycastle.openpgp
- PGPSessionKey(int, byte[]) - Constructor for class org.bouncycastle.openpgp.PGPSessionKey
- PGPSessionKeyEncryptedData - Class in org.bouncycastle.openpgp
-
The basis of PGP encrypted data - encrypted data encrypted using a symmetric session key.
- PGPSignature - Class in org.bouncycastle.openpgp
-
A PGP signature object.
- PGPSignature(BCPGInputStream) - Constructor for class org.bouncycastle.openpgp.PGPSignature
-
Parse a
PGPSignature
from an OpenPGP packet input stream. - PGPSignatureGenerator - Class in org.bouncycastle.openpgp
-
Generator for PGP Signatures.
- PGPSignatureGenerator(PGPContentSignerBuilder) - Constructor for class org.bouncycastle.openpgp.PGPSignatureGenerator
-
Deprecated.
- PGPSignatureGenerator(PGPContentSignerBuilder, PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.PGPSignatureGenerator
-
Create a signature generator built on the passed in contentSignerBuilder.
- PGPSignatureGenerator(PGPContentSignerBuilder, PGPPublicKey, int) - Constructor for class org.bouncycastle.openpgp.PGPSignatureGenerator
- PGPSignatureList - Class in org.bouncycastle.openpgp
-
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 in org.bouncycastle.openpgp
-
Generator for signature subpackets.
- PGPSignatureSubpacketGenerator() - Constructor for class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Base constructor, creates an empty generator.
- PGPSignatureSubpacketGenerator(PGPSignatureSubpacketVector) - Constructor for class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Constructor for pre-initialising the generator from an existing one.
- PGPSignatureSubpacketVector - Class in org.bouncycastle.openpgp
-
Container for a list of signature subpackets.
- PGPSignatureVerifier - Interface in org.bouncycastle.openpgp
-
Base interface for thread safe signature verified objects.
- PGPSignatureVerifierBuilder - Class in org.bouncycastle.openpgp
-
Builder for thread-safe verifiers for a range of PGP signature types.
- PGPSignatureVerifierBuilder(PGPContentVerifierBuilderProvider, PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.PGPSignatureVerifierBuilder
-
Base constructor.
- PGPSymmetricKeyEncryptedData - Class in org.bouncycastle.openpgp
- PGPSymmetricKeyEncryptedData(InputStreamPacket) - Constructor for class org.bouncycastle.openpgp.PGPSymmetricKeyEncryptedData
- PGPUserAttributeSubpacketVector - Class in org.bouncycastle.openpgp
-
Container for a list of user attribute subpackets.
- PGPUserAttributeSubpacketVectorGenerator - Class in org.bouncycastle.openpgp
- PGPUserAttributeSubpacketVectorGenerator() - Constructor for class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
- PGPUtil - Class in org.bouncycastle.openpgp
-
PGP utilities.
- PGPUtil() - Constructor for class org.bouncycastle.openpgp.PGPUtil
- PGPV3SignatureGenerator - Class in org.bouncycastle.openpgp
-
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
- PolicyURI - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket for encoding a URI pointing to a document containing the policy under which the signature was created.
- PolicyURI(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.PolicyURI
- PolicyURI(boolean, String) - Constructor for class org.bouncycastle.bcpg.sig.PolicyURI
- POSITIVE_CERTIFICATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
Positive certification over a user-id or user-attribute.
- 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
- PreferredAEADCiphersuites - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the AEAD cipher suites (AEAD algorithm, Symmetric Key Algorithm pairs) preferred by the key holder's implementation.
- PreferredAEADCiphersuites(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Create a new PreferredAEADAlgorithms signature subpacket from raw data.
- PreferredAEADCiphersuites(boolean, PreferredAEADCiphersuites.Combination[]) - Constructor for class org.bouncycastle.bcpg.sig.PreferredAEADCiphersuites
-
Create a new PreferredAEADAlgorithm signature subpacket.
- PreferredAEADCiphersuites.Builder - Class in org.bouncycastle.bcpg.sig
- PreferredAEADCiphersuites.Combination - Class in org.bouncycastle.bcpg.sig
-
Algorithm combination of a
SymmetricKeyAlgorithmTags
and aAEADAlgorithmTags
. - PreferredAlgorithms - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing algorithm preferences of the key holder's implementation.
- 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
- PreferredKeyServer - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the URI of the users preferred key server.
- PreferredKeyServer(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.PreferredKeyServer
- PreferredKeyServer(boolean, String) - Constructor for class org.bouncycastle.bcpg.sig.PreferredKeyServer
- prepareSignatureSubpackets() - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
- prependSKAlgorithmToSessionData(PublicKeyEncSessionPacket, InputStreamPacket, byte[]) - Method in class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- prettifyFingerprint(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
- PRIMARY_USER_ID - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- PRIMARYKEY_BINDING - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
Primary-Key Binding Signature to bind a signing-capable subkey to a primary key.
- PrimaryUserID - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket marking a User ID as primary.
- 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
- processSessionInfo(byte[]) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- pub - Variable in class org.bouncycastle.openpgp.PGPKeyPair
- PUBLIC_KEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
(Primary) Public-Key Packet.
- PUBLIC_KEY_ENC_SESSION - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Public-Key (Persistent-Key) Encrypted Session-Key Packet.
- PUBLIC_SUBKEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Public-Subkey Packet.
- PublicKeyAlgorithmTags - Interface in org.bouncycastle.bcpg
-
Public Key Algorithm IDs.
- PublicKeyDataDecryptorFactory - Interface in org.bouncycastle.openpgp.operator
- PublicKeyEncSessionPacket - Class in org.bouncycastle.bcpg
-
basic packet for a PGP public key
- PublicKeyEncSessionPacket(int, byte[], int, byte[][]) - Constructor for class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Create a new V6 PKESK packet.
- PublicKeyEncSessionPacket(long, int, byte[][]) - Constructor for class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Create a new V3 PKESK packet.
- PublicKeyKeyEncryptionMethodGenerator - Class in org.bouncycastle.openpgp.operator
- PublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Constructor for class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- PublicKeyPacket - Class in org.bouncycastle.bcpg
-
Base class for OpenPGP public (primary) keys.
- PublicKeyPacket(int, int, Date, BCPGKey) - Constructor for class org.bouncycastle.bcpg.PublicKeyPacket
-
Construct an OpenPGP public primary key packet.
- PublicKeyPacket(int, Date, BCPGKey) - Constructor for class org.bouncycastle.bcpg.PublicKeyPacket
-
Deprecated.use versioned
PublicKeyPacket(int, int, Date, BCPGKey)
instead - PublicSubkeyPacket - Class in org.bouncycastle.bcpg
-
basic packet for a PGP public key
- PublicSubkeyPacket(int, int, Date, BCPGKey) - Constructor for class org.bouncycastle.bcpg.PublicSubkeyPacket
-
Construct a public sub-key packet.
- PublicSubkeyPacket(int, Date, BCPGKey) - Constructor for class org.bouncycastle.bcpg.PublicSubkeyPacket
-
Deprecated.use versioned
PublicSubkeyPacket(int, int, Date, BCPGKey)
instead - PubringDump - Class in org.bouncycastle.openpgp.examples
-
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
- random - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- read() - Method in class org.bouncycastle.bcpg.ArmoredInputStream
- read() - Method in class org.bouncycastle.bcpg.BCPGInputStream
- read() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
- read() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
- read() - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadInputStream
- read() - Method in class org.bouncycastle.openpgp.PGPEncryptedData.TruncatedStream
- read(byte[]) - Method in class org.bouncycastle.openpgp.PGPEncryptedData.TruncatedStream
- read(byte[], int, int) - Method in class org.bouncycastle.bcpg.ArmoredInputStream
-
Reads up to
len
bytes of data from the input stream into an array of bytes. - read(byte[], int, int) - Method in class org.bouncycastle.bcpg.BCPGInputStream
- read(byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadInputStream
- read(byte[], int, int) - Method in class org.bouncycastle.openpgp.PGPEncryptedData.TruncatedStream
- 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
- readKeyID(byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Read a key-ID from the first 8 octets of the given byte array.
- readKeyID(byte[], int) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Read a key-ID from 8 octets of the given byte array starting at offset.
- readPacket() - Method in class org.bouncycastle.bcpg.BCPGInputStream
-
Reads the next packet from the stream.
- readPacket() - Method in class org.bouncycastle.bcpg.SignatureSubpacketInputStream
- readPacket() - Method in class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
- recoverAEADEncryptedSessionData(SymmetricKeyEncSessionPacket, byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
- recoverAEADEncryptedSessionData(SymmetricKeyEncSessionPacket, byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
- recoverKeyData(int, byte[], byte[], byte[], byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
- recoverKeyData(int, byte[], byte[], byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
- recoverKeyData(int, byte[], byte[], byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.PGPSecretKeyDecryptorWithAAD
- recoverKeyData(int, int, byte[], byte[], int, int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
- recoverSessionData(int, byte[][]) - Method in class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- recoverSessionData(int, byte[][]) - Method in interface org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactory
-
Deprecated.
- recoverSessionData(int, byte[][], int) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyDataDecryptorFactory
- recoverSessionData(int, byte[][], int) - Method in interface org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactory
-
Deprecated.
- recoverSessionData(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEDataDecryptorFactory
-
Recover the session key from a version 4 SKESK packet used in OpenPGP v4.
- recoverSessionData(int, byte[], byte[]) - Method in class org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
-
Decrypts session data from a
v4 SKESK
packet. - recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) - Method in class org.bouncycastle.openpgp.operator.AbstractPublicKeyDataDecryptorFactory
- recoverSessionData(PublicKeyEncSessionPacket, InputStreamPacket) - Method in interface org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactory
-
Recover the plain session info by decrypting the encrypted session key.
- REG_EXP - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- RegularExpression - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing a regular expression limiting the scope of the signature.
- RegularExpression(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RegularExpression
- RegularExpression(boolean, String) - Constructor for class org.bouncycastle.bcpg.sig.RegularExpression
- 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, 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.
- 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.
- removePacket(SignatureSubpacket) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Remove a previously set packet from the generator.
- 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
- ReservedPacket - Class in org.bouncycastle.bcpg
- ReservedPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.ReservedPacket
- ReservedPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.ReservedPacket
- reset() - Method in class org.bouncycastle.bcpg.BCPGInputStream
- reset() - Method in class org.bouncycastle.bcpg.CRC24
- reset() - Method in interface org.bouncycastle.openpgp.operator.PGPDigestCalculator
-
Reset the underlying digest calculator
- resetHeaders() - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Deprecated.use
ArmoredOutputStream.Builder.clearHeaders()
instead. - Revocable - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket marking a signature as non-revocable.
- Revocable(boolean, boolean) - Constructor for class org.bouncycastle.bcpg.sig.Revocable
- Revocable(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.Revocable
- REVOCABLE - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- REVOCATION_KEY - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- REVOCATION_REASON - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- RevocationKey - Class in org.bouncycastle.bcpg.sig
-
Deprecated.since RFC9580
- RevocationKey(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RevocationKey
-
Deprecated.
- RevocationKey(boolean, byte, int, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.RevocationKey
-
Deprecated.
- RevocationKeyTags - Interface in org.bouncycastle.bcpg.sig
-
Revocation Key Class values.
- RevocationReason - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket for encoding the reason why a key was revoked.
- 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 in org.bouncycastle.bcpg.sig
-
Revocation reason tags.
- RFC6637KDFCalculator - Class in org.bouncycastle.openpgp.operator
-
Deprecated.this class is no longer required and will be removed.
- RFC6637KDFCalculator(PGPDigestCalculator, int) - Constructor for class org.bouncycastle.openpgp.operator.RFC6637KDFCalculator
-
Deprecated.
- RFC6637Utils - Class in org.bouncycastle.openpgp.operator
- RIPEMD160 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
RIPEMD-160.
- ROUNDTRIP - org.bouncycastle.bcpg.PacketFormat
-
Let the individual packet decide the format (see
Packet.hasNewPacketFormat()
). - RSA_ENCRYPT - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Deprecated.use
PublicKeyAlgorithmTags.RSA_GENERAL
instead. - RSA_GENERAL - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
RSA encryption/signing algorithm.
- RSA_SIGN - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
Deprecated.use
PublicKeyAlgorithmTags.RSA_GENERAL
instead. - RSAKeyPairGenerator - Class in org.bouncycastle.openpgp.examples
-
A simple utility class that generates an RSA key ring.
- RSAKeyPairGenerator() - Constructor for class org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
- RSAPublicBCPGKey - Class in org.bouncycastle.bcpg
-
base class for an RSA Public Key.
- RSAPublicBCPGKey(BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.RSAPublicBCPGKey
- RSAPublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.RSAPublicBCPGKey
-
Construct an RSA public key from the passed in stream.
- RSASecretBCPGKey - Class in org.bouncycastle.bcpg
-
base class for an RSA Secret (or Private) Key.
- RSASecretBCPGKey(BigInteger, BigInteger, BigInteger) - Constructor for class org.bouncycastle.bcpg.RSASecretBCPGKey
- RSASecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.RSASecretBCPGKey
S
- s2k - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- S2K - Class in org.bouncycastle.bcpg
-
Parameter specifier for the PGP string-to-key password based key derivation function.
- 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. - S2K(S2K.Argon2Params) - Constructor for class org.bouncycastle.bcpg.S2K
-
Constructs a specifier for an
S2K method using Argon2
. - S2K(S2K.GNUDummyParams) - Constructor for class org.bouncycastle.bcpg.S2K
-
Construct a specifier for an S2K using the
S2K.GNU_DUMMY_S2K
method. - 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.Argon2Params - Class in org.bouncycastle.bcpg
-
Parameters for Argon2 S2K.
- S2K.GNUDummyParams - Class in org.bouncycastle.bcpg
-
Parameters for the
S2K.GNU_DUMMY_S2K
method. - s2kCount - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- s2kDigestCalculator - Variable in class org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
- SAFER - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Reserved for SAFER-SK128 (13 rounds).
- SALTED - Static variable in class org.bouncycastle.bcpg.S2K
-
Deprecated.use
S2K.SALTED_AND_ITERATED
orS2K.ARGON_2
instead. - SALTED_AND_ITERATED - Static variable in class org.bouncycastle.bcpg.S2K
-
Salted and iterated key generation.
- saltedAndIteratedS2K(int, byte[], int) - Static method in class org.bouncycastle.bcpg.S2K
-
Return a new S2K instance using the
S2K.SALTED_AND_ITERATED
method, using the given hash - saltedS2K(int, byte[]) - Static method in class org.bouncycastle.bcpg.S2K
-
Return a new S2K instance using the
S2K.SALTED
method, using the given hash - saltSizeMatchesSpec(int, int) - Method in class org.bouncycastle.bcpg.HashUtils
-
Return true, if the encountered saltLength matches the value the specification gives for the hashAlgorithm.
- SECRET_KEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
(Primary) Secret-Key Packet.
- SECRET_SUBKEY - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Secret-Subkey Packet.
- SecretKeyPacket - Class in org.bouncycastle.bcpg
-
Base class for OpenPGP secret (primary) keys.
- SecretKeyPacket(PublicKeyPacket, int, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretKeyPacket
-
Construct a
SecretKeyPacket
orSecretSubkeyPacket
. - SecretKeyPacket(PublicKeyPacket, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretKeyPacket
-
Construct a
SecretKeyPacket
orSecretSubkeyPacket
. - SecretKeyPacket(PublicKeyPacket, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretKeyPacket
-
Construct a
SecretKeyPacket
. - SecretSubkeyPacket - Class in org.bouncycastle.bcpg
-
basic packet for a PGP secret key
- SecretSubkeyPacket(PublicKeyPacket, int, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretSubkeyPacket
-
Create a secret subkey packet.
- SecretSubkeyPacket(PublicKeyPacket, int, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretSubkeyPacket
-
Create a secret subkey packet.
- SecretSubkeyPacket(PublicKeyPacket, int, S2K, byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SecretSubkeyPacket
-
Create a secret subkey packet.
- SESSION_KEY_OBFUSCATION_PROPERTY - Static variable in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- SessionKeyDataDecryptorFactory - Interface in org.bouncycastle.openpgp.operator
- sessionKeyObfuscation - Variable in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- setCharset(String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Replace the
- setComment(String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Replace the
- setContentProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
- setContentProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
- setDefaultProvider(String) - Static method in class org.bouncycastle.openpgp.PGPUtil
-
Deprecated.unused
- setDetectMissingCRC(boolean) - Method in class org.bouncycastle.bcpg.ArmoredInputStream.Builder
-
Change how the stream should react if it encounters missing CRC checksum.
- setDetectMissingCRC(boolean) - Method in class org.bouncycastle.bcpg.ArmoredInputStream
-
Deprecated.use Builder class for configuring this.
- setDigestProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- setDigestProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- setEmbeddedSignature(boolean, PGPSignature) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.
- setExportable(boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify, whether or not the signature should be marked as exportable.
- setFeature(boolean, byte) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the set of features of the key.
- setForceSessionKey(boolean) - Method in class org.bouncycastle.openpgp.PGPEncryptedDataGenerator
-
Some versions of PGP always expect a session key, this will force use of a session key even if a single PBE encryptor is provided.
- setHashedSubpackets(PGPSignatureSubpacketVector) - Method in class org.bouncycastle.openpgp.PGPSignatureGenerator
-
Set the hashed signature subpackets.
- setHeader(String, String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
-
Deprecated.use appropriate methods in
ArmoredOutputStream.Builder
instead. - setHeaderList(List<PGPExtendedKeyHeader>) - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData.Builder
- setIgnoreCRC(boolean) - Method in class org.bouncycastle.bcpg.ArmoredInputStream.Builder
-
Specifically ignore the CRC if in place (this will also avoid the cost of calculation).
- setImageAttribute(int, byte[]) - Method in class org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator
- setIntendedRecipientFingerprint(boolean, PGPPublicKey) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.
- 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-id subpacket.
- 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.
- setKeyExpression(SExpression) - Method in class org.bouncycastle.openpgp.OpenedPGPKeyData.Builder
- setKeyFlags(boolean, int) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Set this keys key flags.
- setMessageId(String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Replace the
- setNotationData(boolean, boolean, String, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.
- setParseForHeaders(boolean) - Method in class org.bouncycastle.bcpg.ArmoredInputStream.Builder
-
Enable or disable header parsing (default value true).
- setPreferredAEADAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
- setPreferredAEADCiphersuites(boolean, PreferredAEADCiphersuites.Combination[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred OpenPGP AEAD ciphersuites of this key.
- setPreferredAEADCiphersuites(PreferredAEADCiphersuites.Builder) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred OpenPGP AEAD ciphersuites of this key.
- setPreferredCompressionAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred compression algorithms of this key.
- setPreferredHashAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred hash algorithms of the key.
- setPreferredKeyServer(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred key server for the signed user-id / key.
- setPreferredLibrePgpEncryptionModes(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.the use of this subpacket is deprecated in LibrePGP
- setPreferredSymmetricAlgorithms(boolean, int[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify the preferred symmetric encryption algorithms of the key.
- setPrimaryUserID(boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorBuilder
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator
-
Sets the provider to use to obtain cryptographic primitives.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentVerifierBuilderProvider
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPDigestCalculatorProviderBuilder
-
Sets the provider to use to obtain cryptographic primitives.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder
-
Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Sets the JCE provider to source cryptographic primitives from.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
-
Sets the JCE provider to source cryptographic primitives from.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
-
Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyKeyEncryptionMethodGenerator
- setProvider(String) - Method in class org.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder
-
Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorBuilder
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaKeyFingerprintCalculator
-
Sets the provider to use to obtain cryptographic primitives.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentVerifierBuilderProvider
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPDigestCalculatorProviderBuilder
-
Sets the provider to use to obtain cryptographic primitives.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyConverter
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder
-
Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
-
Sets the JCE provider to source cryptographic primitives from.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEProtectionRemoverFactory
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
-
Sets the JCE provider to source cryptographic primitives from.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyDataDecryptorFactoryBuilder
-
Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyKeyEncryptionMethodGenerator
- setProvider(Provider) - Method in class org.bouncycastle.openpgp.operator.jcajce.JceSessionKeyDataDecryptorFactoryBuilder
-
Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
- setRevocable(boolean, boolean) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Specify, whether or not the signature is revocable.
- setRevocationKey(boolean, int, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.the revocation key mechanism is deprecated. Applications MUST NOT generate such a packet.
- setRevocationReason(boolean, byte, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Sets revocation reason sub packet.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBEKeyEncryptionMethodGenerator
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyEncryptorBuilder
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.bc.BcPublicKeyKeyEncryptionMethodGenerator
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBEKeyEncryptionMethodGenerator
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePublicKeyKeyEncryptionMethodGenerator
-
Provide a user defined source of randomness.
- setSecureRandom(SecureRandom) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Sets a user defined source of randomness.
- setSessionKeyObfuscation(boolean) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
-
Controls whether to obfuscate the size of ECDH session keys using extra padding where necessary.
- setSessionKeyWrapperAlgorithm(int) - Method in class org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
-
Set a specific algorithm to be used where this PBE method generator is used to wrap a session key for encrypting data, rather than providing the encryption key for the data.
- 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 the signature target sub packet.
- setSignerUserID(boolean, byte[]) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.
- setSignerUserID(boolean, String) - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator
-
Deprecated.
- setThrowForUnknownCriticalPackets(boolean) - Method in class org.bouncycastle.openpgp.PGPObjectFactory
-
If set to true, the object factory will throw an
IOException
if it encounters an unknown packet with a packet tag within the critical range (0 - 39). - 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
-
Set the unhashed signature subpackets.
- setUseV5AEAD() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- setUseV5AEAD() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- setUseV5AEAD() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Specify we are using V5 AEAD.
- setUseV6AEAD() - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
- setUseV6AEAD() - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- setUseV6AEAD() - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Specify we are using V6 AEAD.
- setUseWildcardKeyID(boolean) - Method in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
-
Controls whether the recipient key ID is hidden (replaced by a wildcard ID
- setVersion(String) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream.Builder
-
Set a
- setWithAEAD(int, int) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
-
Sets whether the resulting encrypted data will be protected using an AEAD mode.
- setWithAEAD(int, int) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
- setWithAEAD(int, int) - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Sets whether the resulting encrypted data will be protected using an AEAD mode.
- setWithIntegrityPacket(boolean) - Method in class org.bouncycastle.openpgp.operator.bc.BcPGPDataEncryptorBuilder
-
Sets whether the resulting encrypted data will be protected using an integrity packet.
- setWithIntegrityPacket(boolean) - Method in class org.bouncycastle.openpgp.operator.jcajce.JcePGPDataEncryptorBuilder
-
Sets whether or not the resulting encrypted data will be protected using an integrity packet.
- setWithIntegrityPacket(boolean) - Method in interface org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
-
Sets whether or not the resulting encrypted data will be protected using an integrity packet.
- SHA1 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA-1.
- SHA224 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA2-224.
- SHA256 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA2-256.
- SHA3_224 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- SHA3_256 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA3-256.
- SHA3_256_OLD - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- SHA3_384 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- SHA3_512 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA3-512.
- SHA3_512_OLD - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- SHA384 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA2-384.
- SHA512 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
SHA2-512.
- SHARED - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
The private component of this key may be in the possession of more than one person.
- SIGN_DATA - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
This key may be used to sign data.
- SIGNATURE - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Signature Packet.
- SIGNATURE_TARGET - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- SignatureCreationTime - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the time at which the signature was created.
- SignatureCreationTime(boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.sig.SignatureCreationTime
- SignatureCreationTime(boolean, Date) - Constructor for class org.bouncycastle.bcpg.sig.SignatureCreationTime
- SignatureCreationTime(Date) - Constructor for class org.bouncycastle.bcpg.sig.SignatureCreationTime
- SignatureExpirationTime - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the number of seconds after the signatures creation time after which the signature expires.
- 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 in org.bouncycastle.bcpg
-
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[], byte[], byte[]) - Constructor for class org.bouncycastle.bcpg.SignaturePacket
- SignaturePacket(int, int, long, int, int, SignatureSubpacket[], SignatureSubpacket[], byte[], MPInteger[]) - Constructor for class org.bouncycastle.bcpg.SignaturePacket
- SignaturePacket(int, int, long, int, int, SignatureSubpacket[], SignatureSubpacket[], byte[], MPInteger[], byte[]) - 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 in org.bouncycastle.bcpg
-
Basic type for a PGP Signature sub-packet.
- SignatureSubpacket(int, boolean, boolean, byte[]) - Constructor for class org.bouncycastle.bcpg.SignatureSubpacket
- SignatureSubpacketInputStream - Class in org.bouncycastle.bcpg
-
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 in org.bouncycastle.bcpg
-
Basic PGP signature sub-packet tag types.
- SignatureTarget - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the hash value of another signature to which this signature applies to.
- 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 in org.bouncycastle.openpgp.examples
-
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 in org.bouncycastle.bcpg.sig
-
Signature Subpacket containing the User ID of the identity as which the issuer created the signature.
- 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
-
Deprecated.use
S2K.SALTED_AND_ITERATED
orS2K.ARGON_2
instead. - simpleS2K(int) - Static method in class org.bouncycastle.bcpg.S2K
-
Return a new S2K instance using the
S2K.SIMPLE
method, using the given hash - size() - Method in class org.bouncycastle.openpgp.PGPEncryptedDataList
-
Gets the number of encryption methods in this list.
- size() - Method in class org.bouncycastle.openpgp.PGPKeyRing
-
Return the number of keys in the key ring.
- size() - Method in class org.bouncycastle.openpgp.PGPOnePassSignatureList
- size() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRing
-
Return the number of keys in the key ring.
- size() - Method in class org.bouncycastle.openpgp.PGPPublicKeyRingCollection
-
Return the number of rings in this collection.
- size() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRing
-
Return the number of keys in the key ring.
- size() - Method in class org.bouncycastle.openpgp.PGPSecretKeyRingCollection
-
Return the number of rings in this collection.
- size() - Method in class org.bouncycastle.openpgp.PGPSignatureList
- size() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return the number of packets this vector contains.
- skip(long) - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadInputStream
- skipMarkerAndPaddingPackets() - Method in class org.bouncycastle.bcpg.BCPGInputStream
-
skip any marker and padding packets found in the stream.
- skipMarkerPackets() - Method in class org.bouncycastle.bcpg.BCPGInputStream
-
Deprecated.use skipMarkerAndPaddingPackets
- SM3 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Deprecated.non-standard
- SPLIT - Static variable in class org.bouncycastle.bcpg.sig.KeyFlags
-
The private component of this key may have been split by a secret-sharing mechanism.
- splitMessageKeyAndIv(byte[], int, int) - Static method in class org.bouncycastle.bcpg.AEADUtils
-
Split a given byte array containing
- STAND_ALONE - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is made only over its own signature subpackets.
- SUBKEY_BINDING - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
Subkey Binding Signature to bind a subkey to a primary key.
- SUBKEY_REVOCATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is used to revoke the binding of a particular subkey.
- 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.
- supportsSEIPDv2() - Method in class org.bouncycastle.bcpg.sig.Features
- SYM_ENC_INTEGRITY_PRO - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Symmetrically Encrypted, Integrity-Protected Data Packet.
- SYMMETRIC_KEY_ENC - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Symmetrically Encrypted Data Packet.
- SYMMETRIC_KEY_ENC_SESSION - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Symmetric Key (String-to-Key) Encrypted Session-Key Packet.
- SymmetricEncDataPacket - Class in org.bouncycastle.bcpg
-
Basic type for a symmetric key encrypted packet
- SymmetricEncDataPacket() - Constructor for class org.bouncycastle.bcpg.SymmetricEncDataPacket
- SymmetricEncDataPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.SymmetricEncDataPacket
- SymmetricEncDataPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.SymmetricEncDataPacket
- SymmetricEncIntegrityPacket - Class in org.bouncycastle.bcpg
-
A symmetric key encrypted packet with an associated integrity check code.
- SymmetricEncIntegrityPacket() - Constructor for class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Deprecated.use createVersion1Packet()
- SymmetricKeyAlgorithmTags - Interface in org.bouncycastle.bcpg
-
Basic tags for symmetric key algorithms.
- SymmetricKeyEncSessionPacket - Class in org.bouncycastle.bcpg
-
Basic type for a symmetric encrypted session key packet
- SymmetricKeyEncSessionPacket(int, S2K, byte[]) - Constructor for class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Deprecated.use createVersion4Packet()
- SymmetricKeyEncSessionPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- SymmetricKeyEncSessionPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
- SymmetricKeyUtils - Class in org.bouncycastle.bcpg
- SymmetricKeyUtils() - Constructor for class org.bouncycastle.bcpg.SymmetricKeyUtils
T
- TEXT - Static variable in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
Format tag for textual literal data
- TEXT - Static variable in class org.bouncycastle.openpgp.PGPLiteralData
-
Format tag for textual literal data
- TEXT - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
-
Format tag for textual literal data
- THIRD_PARTY_CONFIRMATION - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
This signature is issued over another signature and can act as an attestation of that signature.
- TIGER_192 - Static variable in interface org.bouncycastle.bcpg.HashAlgorithmTags
-
Reserved for TIGER/192.
- TIMESTAMP - Static variable in class org.bouncycastle.openpgp.PGPSignature
-
The signature is only meaningful for the timestamp contained in it.
- timeToBytes(long) - Static method in class org.bouncycastle.bcpg.sig.KeyExpirationTime
-
Deprecated.Will be removed
- timeToBytes(long) - Static method in class org.bouncycastle.bcpg.sig.SignatureExpirationTime
-
Deprecated.Will be removed
- timeToBytes(Date) - Static method in class org.bouncycastle.bcpg.sig.SignatureCreationTime
-
Deprecated.Will be removed
- toArray() - Method in class org.bouncycastle.openpgp.PGPSignatureSubpacketVector
-
Return a copy of the subpackets in this vector.
- toString() - Method in class org.bouncycastle.bcpg.KeyIdentifier
- toString() - Method in class org.bouncycastle.openpgp.PGPSessionKey
- TRIPLE_DES - Static variable in interface org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags
-
Triple-DES (DES-EDE, as per spec - 168-bit key derived from 192).
- TRUST - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
Trust Packet.
- TRUST_SIG - Static variable in interface org.bouncycastle.bcpg.SignatureSubpacketTags
- TrustPacket - Class in org.bouncycastle.bcpg
-
Basic type for a trust packet
- TrustPacket(int) - Constructor for class org.bouncycastle.bcpg.TrustPacket
- TrustPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.TrustPacket
- TrustPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.TrustPacket
- TrustSignature - Class in org.bouncycastle.bcpg.sig
-
Signature Subpacket encoding the level and amount of trust the issuer places into the certified key or identity.
- 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
-
Twofish with 256-bit key.
U
- UNCOMPRESSED - Static variable in interface org.bouncycastle.bcpg.CompressionAlgorithmTags
-
No compression.
- universallyRecommendedParameters() - Static method in class org.bouncycastle.bcpg.S2K.Argon2Params
-
Uniformly safe and recommended parameters not tailored to any hardware.
- UnknownBCPGKey - Class in org.bouncycastle.bcpg
-
Key class for unknown/unsupported OpenPGP key types.
- UnknownBCPGKey(int, byte[]) - Constructor for class org.bouncycastle.bcpg.UnknownBCPGKey
- UnknownBCPGKey(int, BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UnknownBCPGKey
- UnknownPacket - Class in org.bouncycastle.bcpg
- UnknownPacket(int, BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UnknownPacket
- UnknownPacket(int, BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.UnknownPacket
- unpadSessionData(byte[]) - Static method in class org.bouncycastle.openpgp.operator.PGPPad
- UnsupportedPacketVersionException - Exception in org.bouncycastle.bcpg
- UnsupportedPacketVersionException(String) - Constructor for exception org.bouncycastle.bcpg.UnsupportedPacketVersionException
- update(int) - Method in class org.bouncycastle.bcpg.CRC24
- update(int) - Method in class org.bouncycastle.bcpg.FastCRC24
- update3(byte[], int) - Method in class org.bouncycastle.bcpg.CRC24
- update3(byte[], int) - Method in class org.bouncycastle.bcpg.FastCRC24
- USAGE_AEAD - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
-
S2K-usage octet indicating that the secret key material is protected using an AEAD scheme.
- USAGE_CHECKSUM - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
-
Deprecated.Use of MalleableCFB is deprecated. For v4 keys, use
SecretKeyPacket.USAGE_SHA1
instead. For v6 keys useSecretKeyPacket.USAGE_AEAD
instead. - USAGE_NONE - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
-
S2K-usage octet indicating that the secret key material is unprotected.
- USAGE_SHA1 - Static variable in class org.bouncycastle.bcpg.SecretKeyPacket
-
S2K-usage octet indicating that the secret key material is protected using a cipher in CFB mode.
- USER_ATTRIBUTE - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
User Attribute Packet.
- USER_ID - Static variable in interface org.bouncycastle.bcpg.PacketTags
-
User ID Packet.
- USER_NO_LONGER_VALID - Static variable in interface org.bouncycastle.bcpg.sig.RevocationReasonTags
- UserAttributePacket - Class in org.bouncycastle.bcpg
-
Basic type for a user attribute packet.
- UserAttributePacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UserAttributePacket
- UserAttributePacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.UserAttributePacket
- UserAttributePacket(UserAttributeSubpacket[]) - Constructor for class org.bouncycastle.bcpg.UserAttributePacket
- UserAttributeSubpacket - Class in org.bouncycastle.bcpg
-
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 in org.bouncycastle.bcpg
-
reader for user attribute sub-packets
- UserAttributeSubpacketInputStream(InputStream) - Constructor for class org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
- UserAttributeSubpacketTags - Interface in org.bouncycastle.bcpg
-
Basic PGP user attribute sub-packet tag types.
- UserDataPacket - Interface in org.bouncycastle.bcpg
-
Superclass for user identities (
UserIDPacket
,UserAttributePacket
). - UserIDPacket - Class in org.bouncycastle.bcpg
-
Basic type for a user ID packet.
- UserIDPacket(byte[]) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
- UserIDPacket(String) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
- UserIDPacket(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
- UserIDPacket(BCPGInputStream, boolean) - Constructor for class org.bouncycastle.bcpg.UserIDPacket
- useWildcardKeyID - Variable in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- UTF8 - Static variable in class org.bouncycastle.openpgp.PGPCanonicalizedDataGenerator
-
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
- UTF8 - Static variable in class org.bouncycastle.openpgp.PGPLiteralDataGenerator
-
Format tag for UTF-8 encoded textual literal data
V
- valueOf(String) - Static method in enum org.bouncycastle.bcpg.PacketFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.bouncycastle.bcpg.PacketFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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
-
Finish the verification and return true if the signature is "correct".
- verify(byte[]) - Method in interface org.bouncycastle.openpgp.operator.PGPContentVerifier
- 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(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.
- 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.
- version() - Method in class org.bouncycastle.bcpg.attr.ImageAttribute
- VERSION_1 - Static variable in class org.bouncycastle.bcpg.AEADEncDataPacket
- VERSION_1 - Static variable in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Version 1 SEIPD packet.
- VERSION_2 - Static variable in class org.bouncycastle.bcpg.SignaturePacket
- VERSION_2 - Static variable in class org.bouncycastle.bcpg.SymmetricEncIntegrityPacket
-
Version 2 SEIPD packet.
- VERSION_3 - Static variable in class org.bouncycastle.bcpg.OnePassSignaturePacket
- VERSION_3 - Static variable in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Version 3 PKESK packet.
- VERSION_3 - Static variable in class org.bouncycastle.bcpg.PublicKeyPacket
-
OpenPGP v3 keys are deprecated.
- VERSION_3 - Static variable in class org.bouncycastle.bcpg.SignaturePacket
- VERSION_4 - Static variable in class org.bouncycastle.bcpg.PublicKeyPacket
-
OpenPGP v4 keys are (at the time of writing) widely used, but are subject to some attacks.
- VERSION_4 - Static variable in class org.bouncycastle.bcpg.SignaturePacket
- VERSION_4 - Static variable in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Version 4 SKESK packet.
- VERSION_5 - Static variable in class org.bouncycastle.bcpg.SignaturePacket
- VERSION_5 - Static variable in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Version 5 SKESK packet.
- VERSION_6 - Static variable in class org.bouncycastle.bcpg.OnePassSignaturePacket
- VERSION_6 - Static variable in class org.bouncycastle.bcpg.PublicKeyEncSessionPacket
-
Version 6 PKESK packet.
- VERSION_6 - Static variable in class org.bouncycastle.bcpg.PublicKeyPacket
-
OpenPGP v6 keys are newly introduced.
- VERSION_6 - Static variable in class org.bouncycastle.bcpg.SignaturePacket
- VERSION_6 - Static variable in class org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket
-
Version 6 SKESK packet.
- VERSION_HDR - Static variable in class org.bouncycastle.bcpg.ArmoredOutputStream
W
- wildcard() - Static method in class org.bouncycastle.bcpg.KeyIdentifier
-
Create a wildcard
KeyIdentifier
. - WILDCARD - Static variable in class org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
- wrap(InputStream) - Static method in class org.bouncycastle.bcpg.BCPGInputStream
-
If the argument is a
BCPGInputStream
, return it. - wrap(OutputStream) - Static method in class org.bouncycastle.bcpg.BCPGOutputStream
-
If the argument is a
BCPGOutputStream
, return it. - write(byte[], int, int) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
- write(byte[], int, int) - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadOutputStream
- write(int) - Method in class org.bouncycastle.bcpg.ArmoredOutputStream
- write(int) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
- write(int) - Method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil.PGPAeadOutputStream
- 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.
- writeKeyID(long, byte[]) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Write the key-ID to the first 8 octets of the given byte array.
- writeKeyID(long, byte[], int) - Static method in class org.bouncycastle.bcpg.FingerprintUtil
-
Write the key-ID encoded as 8 octets to the given byte array, starting at index offset.
- writeObject(BCPGObject) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
- writePacket(ContainedPacket) - Method in class org.bouncycastle.bcpg.BCPGOutputStream
-
Write a packet to the stream.
X
- X25519 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
X25519 encryption algorithm.
- X25519PublicBCPGKey - Class in org.bouncycastle.bcpg
-
Public key of type
PublicKeyAlgorithmTags.X25519
. - X25519PublicBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.X25519PublicBCPGKey
- X25519PublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.X25519PublicBCPGKey
- X25519SecretBCPGKey - Class in org.bouncycastle.bcpg
-
Secret key of type
PublicKeyAlgorithmTags.X25519
. - X25519SecretBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.X25519SecretBCPGKey
- X25519SecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.X25519SecretBCPGKey
- X448 - Static variable in interface org.bouncycastle.bcpg.PublicKeyAlgorithmTags
-
X448 encryption algorithm.
- X448PublicBCPGKey - Class in org.bouncycastle.bcpg
-
Public key of type
PublicKeyAlgorithmTags.X448
. - X448PublicBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.X448PublicBCPGKey
- X448PublicBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.X448PublicBCPGKey
- X448SecretBCPGKey - Class in org.bouncycastle.bcpg
-
Secret key of type
PublicKeyAlgorithmTags.X448
. - X448SecretBCPGKey(byte[]) - Constructor for class org.bouncycastle.bcpg.X448SecretBCPGKey
- X448SecretBCPGKey(BCPGInputStream) - Constructor for class org.bouncycastle.bcpg.X448SecretBCPGKey
- xorChunkId(byte[], long) - Static method in class org.bouncycastle.openpgp.operator.bc.BcAEADUtil
-
XOR the byte array with the chunk index in-place.
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.
All Classes All Packages