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
- accept(String, PGPPublicKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.ExactUserId.PubRingSelectionStrategy
- accept(String, PGPPublicKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.XMPP.PubRingSelectionStrategy
- accept(String, PGPSecretKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
- accept(String, PGPSecretKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.XMPP.SecRingSelectionStrategy
- accept(K) - Method in interface org.pgpainless.key.selection.key.KeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.impl.EncryptionKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.impl.NoRevocation.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.impl.SignedByMasterKey.PubkeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.util.And.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.key.util.Or.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.key.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.impl.NoRevocation.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.impl.SignatureKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.util.And.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.key.util.Or.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.key.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- accept(O, PGPPublicKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.Whitelist.PubRingSelectionStrategy
- accept(O, PGPPublicKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.Wildcard.PubRingSelectionStrategy
- accept(O, PGPSecretKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- accept(O, PGPSecretKeyRing) - Method in class org.pgpainless.key.selection.keyring.impl.Wildcard.SecRingSelectionStrategy
- accept(O, R) - Method in interface org.pgpainless.key.selection.keyring.KeyRingSelectionStrategy
- addDetachedSignature(DetachedSignature) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addOnePassSignature(OnePassSignature) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addPassphrase(Long, Passphrase) - Method in class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
-
Add a passphrase to the cache.
- addRecipientKeyId(Long) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addSubKey(PGPSecretKey, SecretKeyRingProtector, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addSubKey(PGPSecretKey, SecretKeyRingProtector, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- addSubKey(KeySpec, Passphrase, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addSubKey(KeySpec, Passphrase, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a subkey to the key ring.
- addUserId(long, String, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addUserId(long, String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- addUserId(long, UserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- addUserId(String, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addUserId(String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a user-id to the primary key of the key ring.
- addUserId(OpenPgpV4Fingerprint, String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- addUserId(OpenPgpV4Fingerprint, UserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- addUserId(UserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- AES_128 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- AES_192 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- AES_256 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- AlgorithmSuite - Class in org.pgpainless.algorithm
- AlgorithmSuite(List<SymmetricKeyAlgorithm>, List<HashAlgorithm>, List<CompressionAlgorithm>) - Constructor for class org.pgpainless.algorithm.AlgorithmSuite
- and() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
- And - Class in org.pgpainless.key.selection.key.util
- And() - Constructor for class org.pgpainless.key.selection.key.util.And
- And.PubKeySelectionStrategy - Class in org.pgpainless.key.selection.key.util
- And.SecKeySelectionStrategy - Class in org.pgpainless.key.selection.key.util
- andToSelf(PGPPublicKey...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Add our own public key to the list of recipient keys.
- andToSelf(PGPPublicKeyRing...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Add our own public key to the list of recipient keys.
- andToSelf(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Add our own public keys to the list of recipient keys.
- andToSelf(PublicKeyRingSelectionStrategy<O>, MultiMap<O, PGPPublicKeyRingCollection>) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Add our own public keys to the list of recipient keys.
- ArmorUtils - Class in org.pgpainless.util
- ArmorUtils() - Constructor for class org.pgpainless.util.ArmorUtils
- asciiArmor() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.Armor
-
Wrap the encrypted/signed output in an ASCII armor.
- AUTHENTICATION - org.pgpainless.algorithm.KeyFlag
B
- BcImplementationFactory - Class in org.pgpainless.implementation
- BcImplementationFactory() - Constructor for class org.pgpainless.implementation.BcImplementationFactory
- BCUtil - Class in org.pgpainless.util
- BCUtil() - Constructor for class org.pgpainless.util.BCUtil
- BINARY_DOCUMENT - org.pgpainless.algorithm.SignatureType
-
Signature of a binary document.
- BLOWFISH - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- BouncyCastleProviderFactory - Class in org.pgpainless.provider
- BouncyCastleProviderFactory() - Constructor for class org.pgpainless.provider.BouncyCastleProviderFactory
- build() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Build
-
Build the configured
DecryptionStream
. - build() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- build() - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.Build
- build() - Method in class org.pgpainless.key.util.UserId.WithComment
- Builder() - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- BZIP2 - org.pgpainless.algorithm.CompressionAlgorithm
C
- CallbackBasedKeyringProtector - Class in org.pgpainless.key.protection
- CallbackBasedKeyringProtector(CallbackBasedKeyringProtector.Callback) - Constructor for class org.pgpainless.key.protection.CallbackBasedKeyringProtector
- CallbackBasedKeyringProtector.Callback - Interface in org.pgpainless.key.protection
- CAMELLIA_128 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- CAMELLIA_192 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- CAMELLIA_256 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- canAuthenticate() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return true if the key that is generated from this type is able to carry the AUTHENTICATION key flag.
- canCertify() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return true if the key that is generated from this type is able to carry the CERTIFY_OTHER key flag.
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- canEncryptCommunication() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return true if the key that is generated from this type is able to carry the ENCRYPT_COMMS key flag.
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- canEncryptCommunication() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- canEncryptStorage() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return true if the key that is generated from this type is able to carry the ENCRYPT_STORAGE key flag.
- CANONICAL_TEXT_DOCUMENT - org.pgpainless.algorithm.SignatureType
-
Signature of a canonical text document.
- canSign() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- canSign() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- canSign() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- canSign() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- canSign() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return true if the key that is generated from this type is able to carry the SIGN_DATA key flag.
- canSign() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- canSign() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- CAST5 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- CASUAL_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Casual certification of a User ID and Public-Key packet.
- CERT_REVOCATION - org.pgpainless.key.util.RevocationAttributes.RevocationType
- CERTIFICATION_REVOCATION - org.pgpainless.algorithm.SignatureType
-
Certification revocation signature This signature revokes an earlier User ID certification signature (signature class 0x10 through 0x13) or signature
SignatureType.DIRECT_KEY
. - CERTIFY_OTHER - org.pgpainless.algorithm.KeyFlag
- changePassphraseFromOldPassphrase(Passphrase) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Change the passphrase of the whole key ring.
- changePassphraseFromOldPassphrase(Passphrase, KeyRingProtectionSettings) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- changePassphraseFromOldPassphrase(Passphrase, KeyRingProtectionSettings) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Change the passphrase of the whole key ring.
- changeSubKeyPassphraseFromOldPassphrase(Long, Passphrase) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Change the passphrase of a single subkey in the key ring.
- changeSubKeyPassphraseFromOldPassphrase(Long, Passphrase, KeyRingProtectionSettings) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- changeSubKeyPassphraseFromOldPassphrase(Long, Passphrase, KeyRingProtectionSettings) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- charAt(int) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- charAt(int) - Method in class org.pgpainless.key.util.UserId
- clear() - Method in class org.pgpainless.util.MultiMap
- clear() - Method in class org.pgpainless.util.Passphrase
-
Overwrite the char array with spaces and mark the
Passphrase
as invalidated. - close() - Method in class org.pgpainless.decryption_verification.DecryptionStream
- close() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- code() - Method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- COMMUNICATIONS - org.pgpainless.encryption_signing.EncryptionStream.Purpose
-
The stream will encrypt communication that goes over the wire.
- compareTo(OpenPgpV4Fingerprint) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- CompressionAlgorithm - Enum in org.pgpainless.algorithm
- containsKey(K) - Method in class org.pgpainless.util.MultiMap
- containsValue(V) - Method in class org.pgpainless.util.MultiMap
- containsVerifiedSignatureFrom(PGPPublicKeyRing) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- containsVerifiedSignatureFrom(OpenPgpV4Fingerprint) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- create(InputStream, PGPSecretKeyRingCollection, SecretKeyRingProtector, Passphrase, List<PGPSignature>, Set<PGPPublicKeyRing>, MissingPublicKeyCallback) - Static method in class org.pgpainless.decryption_verification.DecryptionStreamFactory
- createCertificateRevocation() - Static method in class org.pgpainless.key.util.RevocationAttributes
- createDecryptor() - Static method in class org.pgpainless.PGPainless
-
Deprecated.Use
PGPainless.decryptAndOrVerify()
instead. - createDetachedSignature() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.DetachedSign
-
Instruct the
EncryptionStream
to generate detached signatures instead of One-Pass-Signatures. - createEncryptor() - Static method in class org.pgpainless.PGPainless
-
Deprecated.Use
PGPainless.encryptAndOrSign()
instead. - createKeyRevocation() - Static method in class org.pgpainless.key.util.RevocationAttributes
- createRevocationCertificate(long, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocationCertificate(long, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the specified key.
- createRevocationCertificate(OpenPgpV4Fingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocationCertificate(OpenPgpV4Fingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the specified key.
D
- decryptAndOrVerify() - Static method in class org.pgpainless.PGPainless
-
Create a
DecryptionStream
, which can be used to decrypt and/or verify data using OpenPGP. - DecryptionBuilder - Class in org.pgpainless.decryption_verification
- DecryptionBuilder() - Constructor for class org.pgpainless.decryption_verification.DecryptionBuilder
- DecryptionBuilderInterface - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.Build - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.DecryptWith - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.HandleMissingPublicKeys - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.Verify - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.VerifyWith - Interface in org.pgpainless.decryption_verification
- DecryptionStream - Class in org.pgpainless.decryption_verification
- DecryptionStreamFactory - Class in org.pgpainless.decryption_verification
- decryptWith(PGPSecretKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
-
Decrypt the encrypted data using the secret keys found in the provided
PGPSecretKeyRingCollection
. - decryptWith(SecretKeyRingProtector, PGPSecretKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
-
Decrypt the encrypted data using the secret keys found in the provided
PGPSecretKeyRingCollection
. - decryptWith(Passphrase) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
-
Decrypt the encrypted data using a passphrase.
- decryptWithPassword(byte[], Passphrase) - Static method in class org.pgpainless.PGPainless
-
Deprecated.Use
PGPainless.decryptAndOrVerify()
instead and provide the decryption passphrase inDecryptionBuilderInterface.DecryptWith.decryptWith(Passphrase)
. - deleteSubKey(long, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- deleteSubKey(long, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Delete a subkey from the key ring.
- deleteSubKey(OpenPgpV4Fingerprint, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- deleteSubKey(OpenPgpV4Fingerprint, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Delete a subkey from the key ring.
- deleteUserId(long, String, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- deleteUserId(long, String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- deleteUserId(String, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- deleteUserId(String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Remove a user-id from the primary key of the key ring.
- deleteUserId(OpenPgpV4Fingerprint, String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- DES - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- DetachedSignature - Class in org.pgpainless.decryption_verification
- DetachedSignature(PGPSignature, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.decryption_verification.DetachedSignature
- DIFFIE_HELLMAN - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Diffie-Hellman key exchange algorithm.
- DIRECT_KEY - org.pgpainless.algorithm.SignatureType
-
Signature directly on a key This signature is calculated directly on a key.
- done() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithFeatures
- done() - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- done() - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Return the
PGPSecretKeyRing
. - doNotDecrypt() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
- doNotEncrypt() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Instruct the
EncryptionStream
to not encrypt any data. - doNotSign() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.DetachedSign
-
Do not sign the plain data at all.
- doNotVerify() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Instruct the
DecryptionStream
to not verify any signatures. - DOUBLE_SHA - org.pgpainless.algorithm.HashAlgorithm
- DSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Digital Signature Algorithm.
E
- EC - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.use
PublicKeyAlgorithm.ECDH
instead. - ECDH - Class in org.pgpainless.key.generation.type.ecc.ecdh
- ECDH - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Elliptic Curve Diffie-Hellman.
- ECDH(EllipticCurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- ECDSA - Class in org.pgpainless.key.generation.type.ecc.ecdsa
- ECDSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Elliptic Curve Digital Signature Algorithm.
- ECDSA(EllipticCurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- EdDSA - Class in org.pgpainless.key.generation.type.eddsa
-
Edwards-curve Digital Signature Algorithm (EdDSA).
- EDDSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Digital Signature Algorithm based on twisted Edwards Curves.
- EDDSA(EdDSACurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- EdDSACurve - Enum in org.pgpainless.key.generation.type.eddsa
- ElGamal - Class in org.pgpainless.key.generation.type.elgamal
-
ElGamal encryption only key type.
- ELGAMAL_ENCRYPT - org.pgpainless.algorithm.PublicKeyAlgorithm
-
ElGamal with usage encryption.
- ELGAMAL_GENERAL - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.see https://tools.ietf.org/html/rfc4880#section-13.8
- ElGamalLength - Enum in org.pgpainless.key.generation.type.elgamal
-
The following primes are taken from RFC-3526.
- EllipticCurve - Enum in org.pgpainless.key.generation.type.ecc
- Email - Class in org.pgpainless.key.selection.keyring.impl
- Email() - Constructor for class org.pgpainless.key.selection.keyring.impl.Email
- Email.PubRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- Email.SecRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- emptyPassphrase() - Static method in class org.pgpainless.util.Passphrase
-
Represents a
Passphrase
instance that represents no password. - ENCRYPT_COMMS - org.pgpainless.algorithm.KeyFlag
- ENCRYPT_STORAGE - org.pgpainless.algorithm.KeyFlag
- encryptAndOrSign() - Static method in class org.pgpainless.PGPainless
-
Create an
EncryptionStream
, which can be used to encrypt and/or sign data using OpenPGP. - encryptAndOrSign(EncryptionStream.Purpose) - Static method in class org.pgpainless.PGPainless
-
Create an
EncryptionStream
, that can be used to encrypt and/or sign data using OpenPGP. - EncryptionBuilder - Class in org.pgpainless.encryption_signing
- EncryptionBuilder() - Constructor for class org.pgpainless.encryption_signing.EncryptionBuilder
- EncryptionBuilder(EncryptionStream.Purpose) - Constructor for class org.pgpainless.encryption_signing.EncryptionBuilder
- EncryptionBuilderInterface - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.Armor - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.DetachedSign - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.DocumentType - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.SignWith - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.ToRecipients - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.WithAlgorithms - Interface in org.pgpainless.encryption_signing
- EncryptionKeySelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Key Selection Strategy that only accepts
PGPPublicKey
s which are capable of encryption. - EncryptionKeySelectionStrategy(KeyFlag...) - Constructor for class org.pgpainless.key.selection.key.impl.EncryptionKeySelectionStrategy
- EncryptionStream - Class in org.pgpainless.encryption_signing
-
This class is based upon Jens Neuhalfen's Bouncy-GPG PGPEncryptingStream.
- EncryptionStream.Purpose - Enum in org.pgpainless.encryption_signing
- encryptWithPassword(byte[], Passphrase, SymmetricKeyAlgorithm) - Static method in class org.pgpainless.PGPainless
-
Deprecated.use
PGPainless.encryptAndOrSign()
instead and provide a passphrase inEncryptionBuilderInterface.ToRecipients.forPassphrases(Passphrase...)
. - entrySet() - Method in class org.pgpainless.util.MultiMap
- equals(Object) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- equals(Object) - Method in class org.pgpainless.util.MultiMap
- ExactUserId - Class in org.pgpainless.key.selection.keyring.impl
- ExactUserId() - Constructor for class org.pgpainless.key.selection.keyring.impl.ExactUserId
- ExactUserId.PubRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- ExactUserId.SecRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
F
- Feature - Enum in org.pgpainless.algorithm
- fingerprint - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- flush() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- forgetPassphrase(Long) - Method in class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
-
Remove a passphrase from the cache.
- forKey(PGPKeyRing, Passphrase) - Static method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- forKey(PGPSecretKey, Passphrase) - Static method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- forPassphrases(Passphrase...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Encrypt to one or more symmetric passphrases.
- fromBitmask(int) - Static method in enum org.pgpainless.algorithm.KeyFlag
- fromCurve(EllipticCurve) - Static method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- fromCurve(EllipticCurve) - Static method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- fromCurve(EdDSACurve) - Static method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- fromCurve(XDHCurve) - Static method in class org.pgpainless.key.generation.type.xdh.XDH
- fromId(byte) - Static method in enum org.pgpainless.algorithm.Feature
- fromId(int) - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
- fromId(int) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
- fromId(int) - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
- fromId(int) - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
- fromPassphraseMap(Map<Long, Passphrase>) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.
- fromPassword(String) - Static method in class org.pgpainless.util.Passphrase
-
Create a
Passphrase
from aString
. - fromUri(URI) - Static method in class org.pgpainless.key.OpenPgpV4Fingerprint
-
Convert a openpgp4fpr URI to an
OpenPgpV4Fingerprint
.
G
- generateKeyPair(KeySpec) - Static method in class org.pgpainless.key.generation.KeyRingBuilder
- generateKeyRing() - Static method in class org.pgpainless.PGPainless
-
Generate a new OpenPGP key ring.
- GENERIC_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Generic certification of a User ID and Public-Key packet.
- get(K) - Method in class org.pgpainless.util.MultiMap
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- getAlgorithm() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return the public key algorithm.
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- getAlgorithm() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- getAlgorithm() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the algorithm of the primary key.
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.CompressionAlgorithm
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.HashAlgorithm
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- getAlgorithmSpec() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return an implementation of
AlgorithmParameterSpec
that can be used to generate the key. - getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- getBuilder() - Static method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getBuilder(KeyType) - Static method in class org.pgpainless.key.generation.KeySpec
- getChars() - Method in class org.pgpainless.util.Passphrase
-
Return a copy of the underlying char array.
- getCode() - Method in enum org.pgpainless.algorithm.SignatureType
- getCompressionAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getCompressionAlgorithmIds() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getCompressionAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getCreationDate() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the creation date of the primary key.
- getDecodedBytes(byte[]) - Static method in class org.pgpainless.util.BCUtil
- getDecodedBytes(InputStream) - Static method in class org.pgpainless.util.BCUtil
- getDecryptionFingerprint() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- getDecryptor(Long) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.Return a decryptor for the key of id
keyId
. - getDecryptor(Long) - Method in class org.pgpainless.key.protection.UnprotectedKeysProtector
- getDecryptor(PGPSecretKey) - Method in class org.pgpainless.key.protection.CallbackBasedKeyringProtector
- getDecryptor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector2
- getDecryptor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtectorAdapter
- getDefaultAlgorithmSuite() - Static method in class org.pgpainless.algorithm.AlgorithmSuite
- getDescription() - Method in class org.pgpainless.key.util.RevocationAttributes
- getDetachedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- getEmailAddresses() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all user-ids of the primary key that appear to be email-addresses.
- getEncryptionAlgorithm() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- getEncryptor(Long) - Method in class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
- getEncryptor(Long) - Method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- getEncryptor(Long) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.Return an encryptor for the key of id
keyId
. - getEncryptor(Long) - Method in class org.pgpainless.key.protection.UnprotectedKeysProtector
- getEncryptor(PGPSecretKey) - Method in class org.pgpainless.key.protection.CallbackBasedKeyringProtector
- getEncryptor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector2
- getEncryptor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtectorAdapter
- getExpirationDate() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the date of expiration of the primary key or null if the key has no expiration date.
- getFeatureId() - Method in enum org.pgpainless.algorithm.Feature
- getFingerprint() - Method in class org.pgpainless.decryption_verification.DetachedSignature
- getFingerprint() - Method in class org.pgpainless.decryption_verification.OnePassSignature
- getFingerprint() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the
OpenPgpV4Fingerprint
of this key ring. - getFlag() - Method in enum org.pgpainless.algorithm.KeyFlag
- getG() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
- getHashAlgorithm() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- getHashAlgorithmIds() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getHashAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getInstance() - Static method in class org.pgpainless.implementation.ImplementationFactory
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.BcImplementationFactory
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.ImplementationFactory
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.JceImplementationFactory
- getKeyId() - Method in exception org.pgpainless.exception.SecretKeyNotFoundException
- getKeyId() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the key id of the primary key of this key ring.
- getKeyId() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
-
Return the key id of the OpenPGP public key this
OpenPgpV4Fingerprint
belongs to. - getKeyRingFromCollection(PGPPublicKeyRingCollection, Long) - Static method in class org.pgpainless.util.BCUtil
- getKeyRingFromCollection(PGPSecretKeyRingCollection, Long) - Static method in class org.pgpainless.util.BCUtil
- getLastModified() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the date on which the key ring was last modified.
- getLength() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
- getLength() - Method in interface org.pgpainless.key.generation.type.KeyLength
- getLength() - Method in enum org.pgpainless.key.generation.type.rsa.RsaLength
- getMasterKeyFrom(PGPKeyRing) - Static method in class org.pgpainless.util.BCUtil
- getMasterKeyFrom(PGPPublicKeyRing) - Static method in class org.pgpainless.util.BCUtil
-
Return the
PGPPublicKey
which is the master key of the key ring. - getName() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- getName() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- getName() - Method in enum org.pgpainless.key.generation.type.ecc.EllipticCurve
- getName() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- getName() - Method in enum org.pgpainless.key.generation.type.eddsa.EdDSACurve
- getName() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- getName() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return the encryption algorithm name.
- getName() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- getName() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- getName() - Method in enum org.pgpainless.key.generation.type.xdh.XDHCurve
- getOnePassSignature() - Method in class org.pgpainless.decryption_verification.OnePassSignature
- getP() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
- getPassphraseFor(Long) - Method in class org.pgpainless.key.protection.passphrase_provider.MapBasedPassphraseProvider
- getPassphraseFor(Long) - Method in interface org.pgpainless.key.protection.passphrase_provider.SecretKeyPassphraseProvider
-
Return a passphrase for the given key.
- getPassphraseFor(Long) - Method in class org.pgpainless.key.protection.passphrase_provider.SolitaryPassphraseProvider
- getPassphraseFor(Long) - Method in class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
- getPassphraseFor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.CallbackBasedKeyringProtector.Callback
- getPassphraseFor(PGPSecretKey) - Method in interface org.pgpainless.key.protection.passphrase_provider.SecretKeyPassphraseProvider
- getPBEDataDecryptorFactory(Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBEDataDecryptorFactory(Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBEDataDecryptorFactory(Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBEKeyEncryptionMethodGenerator(Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBEKeyEncryptionMethodGenerator(Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBEKeyEncryptionMethodGenerator(Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBESecretKeyDecryptor(Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBESecretKeyDecryptor(Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBESecretKeyDecryptor(Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBESecretKeyEncryptor(PGPSecretKey, Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBESecretKeyEncryptor(PGPSecretKey, Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBESecretKeyEncryptor(PGPSecretKey, Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, PGPDigestCalculator, Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, PGPDigestCalculator, Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, PGPDigestCalculator, Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, HashAlgorithm, int, Passphrase) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, HashAlgorithm, int, Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, HashAlgorithm, int, Passphrase) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPBESecretKeyEncryptor(SymmetricKeyAlgorithm, Passphrase) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPContentSignerBuilder(int, int) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPContentSignerBuilder(int, int) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPContentSignerBuilder(int, int) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPContentSignerBuilder(PublicKeyAlgorithm, HashAlgorithm) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPContentVerifierBuilderProvider() - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPContentVerifierBuilderProvider() - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPContentVerifierBuilderProvider() - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPDataEncryptorBuilder(int) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPDataEncryptorBuilder(int) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPDataEncryptorBuilder(int) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPDataEncryptorBuilder(SymmetricKeyAlgorithm) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPgpDecoderInputStream(byte[]) - Static method in class org.pgpainless.util.BCUtil
- getPgpDecoderInputStream(InputStream) - Static method in class org.pgpainless.util.BCUtil
- getPGPDigestCalculator(int) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPDigestCalculator(HashAlgorithm) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPDigestCalculatorProvider() - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPDigestCalculatorProvider() - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPDigestCalculatorProvider() - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, KeyPair, Date) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, KeyPair, Date) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, KeyPair, Date) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, AsymmetricCipherKeyPair, Date) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, AsymmetricCipherKeyPair, Date) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPKeyPair(PublicKeyAlgorithm, AsymmetricCipherKeyPair, Date) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPreferredHashAlgorithms(PGPPublicKey) - Static method in class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
- getPrimaryPublicKeyFrom(PGPKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPPublicKey
from the provided key ring or null if it has none. - getPrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKey
from the providedPGPSecretKeyRing
or null if it has none. - getProvider() - Static method in class org.pgpainless.provider.ProviderFactory
- getProviderName() - Static method in class org.pgpainless.provider.ProviderFactory
- getPublicKey() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the first
PGPPublicKey
of this key ring. - getPublicKeyDataDecryptorFactory(PGPPrivateKey) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPublicKeyDataDecryptorFactory(PGPPrivateKey) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPublicKeyDataDecryptorFactory(PGPPrivateKey) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPublicKeyKeyEncryptionMethodGenerator(PGPPublicKey) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPublicKeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return all
PGPPublicKeys
of this key ring. - getReason() - Method in class org.pgpainless.key.util.RevocationAttributes
- getRecipientKeyIds() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getResult() - Method in class org.pgpainless.decryption_verification.DecryptionStream
- getResult() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- getRevocationDate() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the date on which the primary key was revoked, or null if it has not yet been revoked.
- getS2kCount() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- getSecretKey() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the primary
PGPSecretKey
of this key ring or null if the key ring is not aPGPSecretKeyRing
. - getSecretKeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return all secret keys of the key ring.
- getSignature() - Method in class org.pgpainless.decryption_verification.DetachedSignature
- getSignature() - Method in class org.pgpainless.decryption_verification.OnePassSignature
- getSignatureGeneratorFor(PGPPublicKey) - Static method in class org.pgpainless.key.util.SignatureUtils
- getSignatureGeneratorFor(PGPSecretKey) - Static method in class org.pgpainless.key.util.SignatureUtils
- getSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getSymmetricKeyAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getSymmetricKeyAlgorithmIds() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getSymmetricKeyAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all user-ids of the primary key.
- getVerifiedSignatureKeyFingerprints() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
H
- handleMissingPublicKeysWith(MissingPublicKeyCallback) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.HandleMissingPublicKeys
-
Pass in a callback that can is used to request missing public keys.
- HasAllKeyFlagSelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Selection Strategy that accepts a key if it carries all of the specified key flags.
- HasAllKeyFlagSelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy
- HasAllKeyFlagSelectionStrategy.PublicKey - Class in org.pgpainless.key.selection.key.impl
- HasAllKeyFlagSelectionStrategy.SecretKey - Class in org.pgpainless.key.selection.key.impl
- HasAnyKeyFlagSelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Selection Strategies that accept a key if it carries at least one of the given key flags.
- HasAnyKeyFlagSelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy
- HasAnyKeyFlagSelectionStrategy.PublicKey - Class in org.pgpainless.key.selection.key.impl
- HasAnyKeyFlagSelectionStrategy.SecretKey - Class in org.pgpainless.key.selection.key.impl
- HashAlgorithm - Enum in org.pgpainless.algorithm
- hashCode() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- hashCode() - Method in class org.pgpainless.util.MultiMap
- hasKeyFlag(int, KeyFlag) - Static method in enum org.pgpainless.algorithm.KeyFlag
- HAVAL_5_160 - org.pgpainless.algorithm.HashAlgorithm
I
- IDEA - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Deprecated.use a different algorithm.
- identifier - Variable in class org.pgpainless.key.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- ignoreMissingPublicKeys() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.HandleMissingPublicKeys
-
Instruct the
DecryptionStream
to ignore any missing public keys. - ImplementationFactory - Class in org.pgpainless.implementation
- ImplementationFactory() - Constructor for class org.pgpainless.implementation.ImplementationFactory
- importPublicKeys(PGPPublicKeyRingCollection) - Method in class org.pgpainless.key.collection.KeyRingCollection
- importSecretKeys(PGPSecretKeyRingCollection) - Method in class org.pgpainless.key.collection.KeyRingCollection
- inspectKeyRing(PGPKeyRing) - Static method in class org.pgpainless.PGPainless
-
Quickly access information about a
PGPPublicKeyRing
/PGPSecretKeyRing
. - isEmpty() - Method in class org.pgpainless.util.MultiMap
- isEmpty() - Method in class org.pgpainless.util.Passphrase
-
Return true if the passphrase represents no password.
- isEncrypted() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- isFullyDecrypted() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true when every secret key on the key ring is not encrypted.
- isIntegrityProtected() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- isSecretKey() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true if the key ring is a
PGPSecretKeyRing
. - isSigned() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- isValid() - Method in class org.pgpainless.util.Passphrase
-
Return true if the passphrase has not yet been cleared.
- isVerified() - Method in class org.pgpainless.decryption_verification.DetachedSignature
- isVerified() - Method in class org.pgpainless.decryption_verification.OnePassSignature
- isVerified() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
J
- JceImplementationFactory - Class in org.pgpainless.implementation
- JceImplementationFactory() - Constructor for class org.pgpainless.implementation.JceImplementationFactory
K
- KEY_COMPROMISED - org.pgpainless.key.util.RevocationAttributes.Reason
- KEY_RETIRED - org.pgpainless.key.util.RevocationAttributes.Reason
- KEY_REVOCATION - org.pgpainless.algorithm.SignatureType
-
Key revocation signature The signature is calculated directly on the key being revoked.
- KEY_REVOCATION - org.pgpainless.key.util.RevocationAttributes.RevocationType
- KEY_SUPERSEDED - org.pgpainless.key.util.RevocationAttributes.Reason
- KeyFlag - Enum in org.pgpainless.algorithm
- KeyLength - Interface in org.pgpainless.key.generation.type
- KeyRingBuilder - Class in org.pgpainless.key.generation
- KeyRingBuilder() - Constructor for class org.pgpainless.key.generation.KeyRingBuilder
- KeyRingBuilderInterface - Interface in org.pgpainless.key.generation
- KeyRingBuilderInterface.Build - Interface in org.pgpainless.key.generation
- KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase - Interface in org.pgpainless.key.generation
- KeyRingBuilderInterface.WithPrimaryUserId - Interface in org.pgpainless.key.generation
- KeyRingCollection - Class in org.pgpainless.key.collection
- KeyRingCollection(File, File) - Constructor for class org.pgpainless.key.collection.KeyRingCollection
- KeyRingCollection(PGPPublicKeyRingCollection) - Constructor for class org.pgpainless.key.collection.KeyRingCollection
- KeyRingCollection(PGPPublicKeyRingCollection, PGPSecretKeyRingCollection) - Constructor for class org.pgpainless.key.collection.KeyRingCollection
- KeyRingCollection(PGPSecretKeyRingCollection) - Constructor for class org.pgpainless.key.collection.KeyRingCollection
- keyRingContainsKeyWithId(PGPPublicKeyRing, long) - Static method in class org.pgpainless.util.BCUtil
- keyRingContainsKeyWithId(PGPSecretKeyRing, long) - Static method in class org.pgpainless.util.BCUtil
- KeyRingInfo - Class in org.pgpainless.key.info
-
Utility class to quickly extract certain information from a
PGPPublicKeyRing
/PGPSecretKeyRing
. - KeyRingInfo(PGPKeyRing) - Constructor for class org.pgpainless.key.info.KeyRingInfo
- KeyRingProtectionSettings - Class in org.pgpainless.key.protection
- KeyRingProtectionSettings(SymmetricKeyAlgorithm) - Constructor for class org.pgpainless.key.protection.KeyRingProtectionSettings
- KeyRingProtectionSettings(SymmetricKeyAlgorithm, HashAlgorithm, int) - Constructor for class org.pgpainless.key.protection.KeyRingProtectionSettings
- KeyRingReader - Class in org.pgpainless.key.parsing
- KeyRingReader() - Constructor for class org.pgpainless.key.parsing.KeyRingReader
- KeyRingSelectionStrategy<R,C,O> - Interface in org.pgpainless.key.selection.keyring
- keyRingsToKeyRingCollection(PGPPublicKeyRing...) - Static method in class org.pgpainless.util.BCUtil
- keyRingsToKeyRingCollection(PGPSecretKeyRing...) - Static method in class org.pgpainless.util.BCUtil
- KeyRingUtils - Class in org.pgpainless.key.util
- KeyRingUtils() - Constructor for class org.pgpainless.key.util.KeyRingUtils
- KeySelectionStrategy<K,R> - Interface in org.pgpainless.key.selection.key
-
Interface that describes a selection strategy for OpenPGP keys.
- keySet() - Method in class org.pgpainless.util.MultiMap
- KeySpec - Class in org.pgpainless.key.generation
- KeySpecBuilder - Class in org.pgpainless.key.generation
- KeySpecBuilderInterface - Interface in org.pgpainless.key.generation
- KeySpecBuilderInterface.WithDetailedConfiguration - Interface in org.pgpainless.key.generation
- KeySpecBuilderInterface.WithFeatures - Interface in org.pgpainless.key.generation
- KeySpecBuilderInterface.WithPreferredCompressionAlgorithms - Interface in org.pgpainless.key.generation
- KeySpecBuilderInterface.WithPreferredHashAlgorithms - Interface in org.pgpainless.key.generation
- KeySpecBuilderInterface.WithPreferredSymmetricAlgorithms - Interface in org.pgpainless.key.generation
- KeyType - Interface in org.pgpainless.key.generation.type
L
- length() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- length() - Method in class org.pgpainless.key.util.UserId
- LOGGER - Static variable in class org.pgpainless.key.selection.key.impl.EncryptionKeySelectionStrategy
M
- MapBasedPassphraseProvider - Class in org.pgpainless.key.protection.passphrase_provider
-
Implementation of the
SecretKeyPassphraseProvider
that holds a map of differentpassphrases
. - MapBasedPassphraseProvider(Map<Long, Passphrase>) - Constructor for class org.pgpainless.key.protection.passphrase_provider.MapBasedPassphraseProvider
-
Create a new map based passphrase provider.
- mark(int) - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- markSupported() - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- MD2 - org.pgpainless.algorithm.HashAlgorithm
- MD5 - org.pgpainless.algorithm.HashAlgorithm
- MissingPublicKeyCallback - Interface in org.pgpainless.decryption_verification
- MODIFICATION_DETECTION - org.pgpainless.algorithm.Feature
-
Add modification detection package.
- modifyKeyRing(PGPSecretKeyRing) - Static method in class org.pgpainless.PGPainless
- MultiMap<K,V> - Class in org.pgpainless.util
- MultiMap() - Constructor for class org.pgpainless.util.MultiMap
- MultiMap(Map<K, Set<V>>) - Constructor for class org.pgpainless.util.MultiMap
- MultiMap(MultiMap<K, V>) - Constructor for class org.pgpainless.util.MultiMap
N
- NO_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Persona certification of a User ID and Public-Key packet.
- NO_REASON - org.pgpainless.key.util.RevocationAttributes.Reason
- noArmor() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.Armor
-
Do not wrap the output in an ASCII armor.
- noComment() - Method in class org.pgpainless.key.util.UserId.WithComment
- noEmail() - Method in class org.pgpainless.key.util.UserId.WithEmail
- NoRevocation - Class in org.pgpainless.key.selection.key.impl
-
Key Selection Strategies that do accept only keys, which have no revocation.
- NoRevocation() - Constructor for class org.pgpainless.key.selection.key.impl.NoRevocation
- NoRevocation.PubKeySelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Key Selection Strategy which only accepts
PGPPublicKey
s which have no revocation. - NoRevocation.SecKeySelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Key Selection Strategy which only accepts
PGPSecretKey
s which have no revocation. - NotYetImplementedException - Error in org.pgpainless.util
- NotYetImplementedException() - Constructor for error org.pgpainless.util.NotYetImplementedException
- NULL - org.pgpainless.algorithm.SymmetricKeyAlgorithm
O
- OnePassSignature - Class in org.pgpainless.decryption_verification
- OnePassSignature(PGPOnePassSignature, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.decryption_verification.OnePassSignature
- onInputStream(InputStream) - Method in class org.pgpainless.decryption_verification.DecryptionBuilder
- onInputStream(InputStream) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface
-
Create a
DecryptionStream
on anInputStream
which contains the encrypted and/or signed data. - onlyEmail(String) - Static method in class org.pgpainless.key.util.UserId
- onMissingPublicKeyEncountered(Long) - Method in interface org.pgpainless.decryption_verification.MissingPublicKeyCallback
-
This method gets called if we encounter a signature of an unknown key.
- onOutputStream(OutputStream) - Method in class org.pgpainless.encryption_signing.EncryptionBuilder
- onOutputStream(OutputStream) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Create a
EncryptionStream
on anOutputStream
that contains the plain data that shall be encrypted and or signed. - OpenPgpKeyAttributeUtil - Class in org.pgpainless.key.util
- OpenPgpKeyAttributeUtil() - Constructor for class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
- OpenPgpMetadata - Class in org.pgpainless.decryption_verification
- OpenPgpMetadata(Set<Long>, OpenPgpV4Fingerprint, SymmetricKeyAlgorithm, CompressionAlgorithm, boolean, List<OnePassSignature>, List<DetachedSignature>) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata
- OpenPgpMetadata.Builder - Class in org.pgpainless.decryption_verification
- OpenPgpMetadata.Signature - Class in org.pgpainless.decryption_verification
- OpenPgpV4Fingerprint - Class in org.pgpainless.key
-
This class represents an hex encoded, uppercase OpenPGP v4 fingerprint.
- OpenPgpV4Fingerprint(byte[]) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
- OpenPgpV4Fingerprint(String) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
-
Create an
OpenPgpV4Fingerprint
. - OpenPgpV4Fingerprint(PGPPublicKey) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
- OpenPgpV4Fingerprint(PGPPublicKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
- OpenPgpV4Fingerprint(PGPSecretKey) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
- OpenPgpV4Fingerprint(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV4Fingerprint
- Or - Class in org.pgpainless.key.selection.key.util
- Or() - Constructor for class org.pgpainless.key.selection.key.util.Or
- Or.PubKeySelectionStrategy - Class in org.pgpainless.key.selection.key.util
- Or.SecKeySelectionStrategy - Class in org.pgpainless.key.selection.key.util
- org.pgpainless - package org.pgpainless
-
PGPainless - Use OpenPGP Painlessly!
- org.pgpainless.algorithm - package org.pgpainless.algorithm
-
Enums which map to OpenPGP's algorithm IDs.
- org.pgpainless.decryption_verification - package org.pgpainless.decryption_verification
-
Classes used to decryption and verification of OpenPGP encrypted / signed data.
- org.pgpainless.encryption_signing - package org.pgpainless.encryption_signing
-
Classes used to encrypt or sign data using OpenPGP.
- org.pgpainless.exception - package org.pgpainless.exception
-
Exceptions.
- org.pgpainless.implementation - package org.pgpainless.implementation
-
Implementation factory classes to be able to switch out the underlying crypto engine implementation.
- org.pgpainless.key - package org.pgpainless.key
-
Classes related to OpenPGP keys.
- org.pgpainless.key.collection - package org.pgpainless.key.collection
-
OpenPGP key collections.
- org.pgpainless.key.generation - package org.pgpainless.key.generation
-
Classes related to OpenPGP key generation.
- org.pgpainless.key.generation.type - package org.pgpainless.key.generation.type
-
Classes describing different OpenPGP key types.
- org.pgpainless.key.generation.type.ecc - package org.pgpainless.key.generation.type.ecc
-
Classes describing different OpenPGP key types based on elliptic curves.
- org.pgpainless.key.generation.type.ecc.ecdh - package org.pgpainless.key.generation.type.ecc.ecdh
-
Classes related to ECDH.
- org.pgpainless.key.generation.type.ecc.ecdsa - package org.pgpainless.key.generation.type.ecc.ecdsa
-
Classes related to ECDSA.
- org.pgpainless.key.generation.type.eddsa - package org.pgpainless.key.generation.type.eddsa
-
Classes related to EdDSA.
- org.pgpainless.key.generation.type.elgamal - package org.pgpainless.key.generation.type.elgamal
-
Classes related to ElGamal.
- org.pgpainless.key.generation.type.rsa - package org.pgpainless.key.generation.type.rsa
-
Classes related to RSA.
- org.pgpainless.key.generation.type.xdh - package org.pgpainless.key.generation.type.xdh
-
Classes related to Diffie-Hellman on the X25519 curve.
- org.pgpainless.key.info - package org.pgpainless.key.info
-
Extract information from PGPKeyRings.
- org.pgpainless.key.modification.secretkeyring - package org.pgpainless.key.modification.secretkeyring
-
Classes that deal with modifications made to
PGPSecretKeyRings
. - org.pgpainless.key.parsing - package org.pgpainless.key.parsing
-
Classes related to OpenPGP key reading.
- org.pgpainless.key.protection - package org.pgpainless.key.protection
-
Classes related to OpenPGP secret key password protection.
- org.pgpainless.key.protection.passphrase_provider - package org.pgpainless.key.protection.passphrase_provider
-
Passphrase Provider classes.
- org.pgpainless.key.selection.key - package org.pgpainless.key.selection.key
-
Different Key Selection Strategies.
- org.pgpainless.key.selection.key.impl - package org.pgpainless.key.selection.key.impl
-
Implementations of Key Selection Strategies.
- org.pgpainless.key.selection.key.util - package org.pgpainless.key.selection.key.util
-
Implementations of utility Key Selection Strategies.
- org.pgpainless.key.selection.keyring - package org.pgpainless.key.selection.keyring
-
Different Key Ring Selection Strategies.
- org.pgpainless.key.selection.keyring.impl - package org.pgpainless.key.selection.keyring.impl
-
Implementations of Key Ring Selection Strategies.
- org.pgpainless.key.util - package org.pgpainless.key.util
-
Utility functions to deal with OpenPGP keys.
- org.pgpainless.provider - package org.pgpainless.provider
-
Classes that allow setting a custom implementation of
Provider
. - org.pgpainless.symmetric_encryption - package org.pgpainless.symmetric_encryption
-
Classes related to OpenPGP symmetric encryption.
- org.pgpainless.util - package org.pgpainless.util
-
Utility classes.
P
- partialUserId - Variable in class org.pgpainless.key.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- PartialUserId - Class in org.pgpainless.key.selection.keyring.impl
- PartialUserId() - Constructor for class org.pgpainless.key.selection.keyring.impl.PartialUserId
- PartialUserId.PubRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- PartialUserId.SecRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- Passphrase - Class in org.pgpainless.util
- Passphrase(char[]) - Constructor for class org.pgpainless.util.Passphrase
-
Passphrase for keys etc.
- PassphraseMapKeyRingProtector - Class in org.pgpainless.key.protection
-
Implementation of the
SecretKeyRingProtector
which holds a map of key ids and their passwords. - PassphraseMapKeyRingProtector(Map<Long, Passphrase>, KeyRingProtectionSettings, SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.PassphraseMapKeyRingProtector
- passphraseProvider - Variable in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- PasswordBasedSecretKeyRingProtector - Class in org.pgpainless.key.protection
-
Provides
PBESecretKeyDecryptor
andPBESecretKeyEncryptor
objects while getting the passphrases from aSecretKeyPassphraseProvider
and using settings from anKeyRingProtectionSettings
. - PasswordBasedSecretKeyRingProtector(KeyRingProtectionSettings, SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
-
Constructor.
- PGPainless - Class in org.pgpainless
- PGPainless() - Constructor for class org.pgpainless.PGPainless
- POSITIVE_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Positive certification of a User ID and Public-Key packet.
- PRIMARYKEY_BINDING - org.pgpainless.algorithm.SignatureType
-
Primary Key Binding Signature This signature is a statement by a signing subkey, indicating that it is owned by the primary key and subkey.
- protectionSettings - Variable in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- ProviderFactory - Class in org.pgpainless.provider
- ProviderFactory() - Constructor for class org.pgpainless.provider.ProviderFactory
- PubkeySelectionStrategy(PGPPublicKey) - Constructor for class org.pgpainless.key.selection.key.impl.SignedByMasterKey.PubkeySelectionStrategy
- PubKeySelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.impl.NoRevocation.PubKeySelectionStrategy
- PubKeySelectionStrategy(PublicKeySelectionStrategy...) - Constructor for class org.pgpainless.key.selection.key.util.And.PubKeySelectionStrategy
- PubKeySelectionStrategy(PublicKeySelectionStrategy...) - Constructor for class org.pgpainless.key.selection.key.util.Or.PubKeySelectionStrategy
- PublicKey(int) - Constructor for class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- PublicKey(int) - Constructor for class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- PublicKey(KeyFlag...) - Constructor for class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- PublicKey(KeyFlag...) - Constructor for class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- PublicKeyAlgorithm - Enum in org.pgpainless.algorithm
- publicKeyRing(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRing(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRing(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Extract a
PGPPublicKeyRing
containing all public keys from the providedPGPSecretKeyRing
. - publicKeyRingFromSecretKeyRing(PGPSecretKeyRing) - Static method in class org.pgpainless.util.BCUtil
- PublicKeyRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring
- PublicKeyRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy
- PublicKeySelectionStrategy - Class in org.pgpainless.key.selection.key
-
Key Selection Strategy which accepts
PGPPublicKey
s that are accepted by the abstract methodKeySelectionStrategy.accept(Object)
. - PublicKeySelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.PublicKeySelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.ExactUserId.PubRingSelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.Wildcard.PubRingSelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.XMPP.PubRingSelectionStrategy
- PubRingSelectionStrategy(String) - Constructor for class org.pgpainless.key.selection.keyring.impl.Email.PubRingSelectionStrategy
- PubRingSelectionStrategy(String) - Constructor for class org.pgpainless.key.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- PubRingSelectionStrategy(Map<O, Set<Long>>) - Constructor for class org.pgpainless.key.selection.keyring.impl.Whitelist.PubRingSelectionStrategy
- PubRingSelectionStrategy(MultiMap<O, Long>) - Constructor for class org.pgpainless.key.selection.keyring.impl.Whitelist.PubRingSelectionStrategy
- put(K, Set<V>) - Method in class org.pgpainless.util.MultiMap
- put(K, V) - Method in class org.pgpainless.util.MultiMap
- putAll(MultiMap<K, V>) - Method in class org.pgpainless.util.MultiMap
R
- read() - Method in class org.pgpainless.decryption_verification.DecryptionStream
- read() - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- read(byte[]) - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- readKeyRing() - Static method in class org.pgpainless.PGPainless
-
Read an existing OpenPGP key ring.
- readPublicKeyRing(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readPublicKeyRingCollection(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readSecretKeyRing(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readSecretKeyRingCollection(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- remove(K, V) - Method in class org.pgpainless.util.MultiMap
- removeAll(K) - Method in class org.pgpainless.util.MultiMap
- removeUnassociatedKeysFromKeyRing(PGPPublicKeyRing, PGPPublicKey) - Static method in class org.pgpainless.util.BCUtil
-
Remove all keys from the key ring, are either not having a subkey signature from the master key (identified by
masterKeyId
), or are revoked ("normal" key revocation, as well as subkey revocation). - removeUnassociatedKeysFromKeyRing(PGPSecretKeyRing, PGPPublicKey) - Static method in class org.pgpainless.util.BCUtil
-
Remove all keys from the key ring, are either not having a subkey signature from the master key (identified by
masterKeyId
), or are revoked ("normal" key revocation, as well as subkey revocation). - requirePrimaryPublicKeyFrom(PGPKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPPublicKey
from the provided key ring. - requirePrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKey
from the providedPGPSecretKeyRing
. - reset() - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- RevocationAttributes - Class in org.pgpainless.key.util
- RevocationAttributes.Reason - Enum in org.pgpainless.key.util
- RevocationAttributes.RevocationType - Enum in org.pgpainless.key.util
- RevocationAttributes.WithDescription - Class in org.pgpainless.key.util
- RevocationAttributes.WithReason - Class in org.pgpainless.key.util
- revoke(SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the key ring.
- revoke(SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revoke(SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the key ring.
- revokeSubKey(long, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeSubKey(long, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeSubKey(long, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeSubKey(OpenPgpV4Fingerprint, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeSubKey(OpenPgpV4Fingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeSubKey(OpenPgpV4Fingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- RIPEMD160 - org.pgpainless.algorithm.HashAlgorithm
- RSA - Class in org.pgpainless.key.generation.type.rsa
-
Key type that specifies the RSA_GENERAL algorithm.
- RSA(RsaLength) - Static method in interface org.pgpainless.key.generation.type.KeyType
- RSA_ENCRYPT - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.see https://tools.ietf.org/html/rfc4880#section-13.5
- RSA_GENERAL - org.pgpainless.algorithm.PublicKeyAlgorithm
-
RSA capable of encryption and signatures.
- RSA_SIGN - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.see https://tools.ietf.org/html/rfc4880#section-13.5
- RsaLength - Enum in org.pgpainless.key.generation.type.rsa
S
- SAFER - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- SCHEME - Static variable in class org.pgpainless.key.OpenPgpV4Fingerprint
- SecKeySelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.impl.NoRevocation.SecKeySelectionStrategy
- SecKeySelectionStrategy(SecretKeySelectionStrategy...) - Constructor for class org.pgpainless.key.selection.key.util.And.SecKeySelectionStrategy
- SecKeySelectionStrategy(SecretKeySelectionStrategy...) - Constructor for class org.pgpainless.key.selection.key.util.Or.SecKeySelectionStrategy
- SecretKey(int) - Constructor for class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- SecretKey(int) - Constructor for class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- SecretKey(KeyFlag...) - Constructor for class org.pgpainless.key.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- SecretKey(KeyFlag...) - Constructor for class org.pgpainless.key.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- SecretKeyNotFoundException - Exception in org.pgpainless.exception
- SecretKeyNotFoundException(long) - Constructor for exception org.pgpainless.exception.SecretKeyNotFoundException
- SecretKeyPassphraseProvider - Interface in org.pgpainless.key.protection.passphrase_provider
-
Interface to allow the user to provide a
Passphrase
for an encrypted OpenPGP secret key. - secretKeyRing(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRing(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRing(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- SecretKeyRingEditor - Class in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditor(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- SecretKeyRingEditorInterface - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditorInterface.WithKeyRingEncryptionSettings - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditorInterface.WithPassphrase - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingProtector - Interface in org.pgpainless.key.protection
-
Deprecated.use
SecretKeyRingProtector2
instead. - SecretKeyRingProtector2 - Interface in org.pgpainless.key.protection
- SecretKeyRingProtectorAdapter - Interface in org.pgpainless.key.protection
- SecretKeyRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring
- SecretKeyRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy
- SecretKeySelectionStrategy - Class in org.pgpainless.key.selection.key
-
Key Selection Strategy which accepts
PGPSecretKey
s that are accepted by the abstract methodKeySelectionStrategy.accept(Object)
. - SecretKeySelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.SecretKeySelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.Wildcard.SecRingSelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.key.selection.keyring.impl.XMPP.SecRingSelectionStrategy
- SecRingSelectionStrategy(String) - Constructor for class org.pgpainless.key.selection.keyring.impl.Email.SecRingSelectionStrategy
- SecRingSelectionStrategy(String) - Constructor for class org.pgpainless.key.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- SecRingSelectionStrategy(Map<O, Set<Long>>) - Constructor for class org.pgpainless.key.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- SecRingSelectionStrategy(MultiMap<O, Long>) - Constructor for class org.pgpainless.key.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- secureDefaultSettings() - Static method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- selectKeyRingsFromCollection(O, C) - Method in interface org.pgpainless.key.selection.keyring.KeyRingSelectionStrategy
- selectKeyRingsFromCollection(O, PGPPublicKeyRingCollection) - Method in class org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy
- selectKeyRingsFromCollection(O, PGPSecretKeyRingCollection) - Method in class org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, C>) - Method in interface org.pgpainless.key.selection.keyring.KeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, PGPPublicKeyRingCollection>) - Method in class org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, PGPSecretKeyRingCollection>) - Method in class org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy
- selectKeysFromKeyRing(PGPPublicKeyRing) - Method in class org.pgpainless.key.selection.key.PublicKeySelectionStrategy
- selectKeysFromKeyRing(PGPSecretKeyRing) - Method in class org.pgpainless.key.selection.key.SecretKeySelectionStrategy
- selectKeysFromKeyRing(R) - Method in interface org.pgpainless.key.selection.key.KeySelectionStrategy
- setCompressionAlgorithm(CompressionAlgorithm) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setCompressionAlgorithms(List<CompressionAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setDecryptionFingerprint(OpenPgpV4Fingerprint) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setExpirationDate(OpenPgpV4Fingerprint, Date, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- setExpirationDate(OpenPgpV4Fingerprint, Date, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Set key expiration time.
- setFactory(ProviderFactory) - Static method in class org.pgpainless.provider.ProviderFactory
- setFactoryImplementation(ImplementationFactory) - Static method in class org.pgpainless.implementation.ImplementationFactory
- setHashAlgorithms(List<HashAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setIntegrityProtected(boolean) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setSymmetricKeyAlgorithm(SymmetricKeyAlgorithm) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setSymmetricKeyAlgorithms(List<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setVerified(boolean) - Method in class org.pgpainless.decryption_verification.DetachedSignature
- SHA1 - org.pgpainless.algorithm.HashAlgorithm
- SHA224 - org.pgpainless.algorithm.HashAlgorithm
- SHA256 - org.pgpainless.algorithm.HashAlgorithm
- SHA384 - org.pgpainless.algorithm.HashAlgorithm
- SHA512 - org.pgpainless.algorithm.HashAlgorithm
- SHARED - org.pgpainless.algorithm.KeyFlag
- SIGN_DATA - org.pgpainless.algorithm.KeyFlag
- signature - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- Signature(PGPSignature, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- SignatureKeySelectionStrategy - Class in org.pgpainless.key.selection.key.impl
-
Key Selection Strategy that only accepts
PGPSecretKey
s which are capable of signing. - SignatureKeySelectionStrategy() - Constructor for class org.pgpainless.key.selection.key.impl.SignatureKeySelectionStrategy
- SignatureType - Enum in org.pgpainless.algorithm
-
Enum that enlists all the Signature Types defined in rfc4880 section 5.2.1 See
PGPSignature
for comparison. - SignatureUtils - Class in org.pgpainless.key.util
- SignatureUtils() - Constructor for class org.pgpainless.key.util.SignatureUtils
- SignatureVerifyingInputStream - Class in org.pgpainless.decryption_verification
- SignatureVerifyingInputStream(InputStream, PGPObjectFactory, Map<OpenPgpV4Fingerprint, OnePassSignature>, OpenPgpMetadata.Builder) - Constructor for class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- signBinaryDocument() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.DocumentType
- signCanonicalText() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.DocumentType
- SignedByMasterKey - Class in org.pgpainless.key.selection.key.impl
- SignedByMasterKey() - Constructor for class org.pgpainless.key.selection.key.impl.SignedByMasterKey
- SignedByMasterKey.PubkeySelectionStrategy - Class in org.pgpainless.key.selection.key.impl
- signingKeyIds(PGPSecretKeyRing) - Static method in class org.pgpainless.util.BCUtil
- signWith(PGPSecretKey...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Pass in a list of secret keys used for signing.
- signWith(SecretKeyRingProtector, PGPSecretKey...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Pass in a list of secret keys used for signing, along with a
SecretKeyRingProtector
used to unlock the secret keys. - signWith(SecretKeyRingProtector, PGPSecretKeyRing...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Pass in a list of secret keys used for signing, along with a
SecretKeyRingProtector
used to unlock the secret keys. - signWith(SecretKeyRingSelectionStrategy<O>, SecretKeyRingProtector, MultiMap<O, PGPSecretKeyRingCollection>) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Pass in a map of secret keys for signing, as well as a
SecretKeySelectionStrategy
that is used to determine suitable secret keys. - simpleEcKeyRing(String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates an unencrypted key ring consisting of an ECDSA master key and an ECDH sub-key.
- simpleEcKeyRing(String, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a key ring consisting of an ECDSA master key and an ECDH sub-key.
- simpleEcKeyRing(UserId) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- simpleEcKeyRing(UserId, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- simpleRsaKeyRing(String, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple, unencrypted RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(String, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(UserId, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- simpleRsaKeyRing(UserId, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- size() - Method in class org.pgpainless.util.MultiMap
- skip(long) - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- SolitaryPassphraseProvider - Class in org.pgpainless.key.protection.passphrase_provider
-
Implementation of the
SecretKeyPassphraseProvider
that holds a singlePassphrase
. - SolitaryPassphraseProvider(Passphrase) - Constructor for class org.pgpainless.key.protection.passphrase_provider.SolitaryPassphraseProvider
- SPLIT - org.pgpainless.algorithm.KeyFlag
- STANDALONE - org.pgpainless.algorithm.SignatureType
-
Standalone signature.
- STORAGE - org.pgpainless.encryption_signing.EncryptionStream.Purpose
-
The stream will encrypt data that is stored on disk.
- STORAGE_AND_COMMUNICATIONS - org.pgpainless.encryption_signing.EncryptionStream.Purpose
-
The stream will use keys with either flags to encrypt the data.
- SUBKEY_BINDING - org.pgpainless.algorithm.SignatureType
-
Subkey Binding Signature.
- SUBKEY_REVOCATION - org.pgpainless.algorithm.SignatureType
-
Subkey revocation signature The signature is calculated directly on the subkey being revoked.
- subSequence(int, int) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- subSequence(int, int) - Method in class org.pgpainless.key.util.UserId
- symmetricallyDecrypt(byte[], Passphrase) - Static method in class org.pgpainless.symmetric_encryption.SymmetricEncryptorDecryptor
-
Decrypt and decompress some symmetrically encrypted data using a password.
- symmetricallyEncrypt(byte[], Passphrase, SymmetricKeyAlgorithm, CompressionAlgorithm) - Static method in class org.pgpainless.symmetric_encryption.SymmetricEncryptorDecryptor
-
Encrypt some
data
symmetrically using anencryptionAlgorithm
and a givenpassword
. - SymmetricEncryptorDecryptor - Class in org.pgpainless.symmetric_encryption
-
Stolen from Bouncycastle examples.
- SymmetricEncryptorDecryptor() - Constructor for class org.pgpainless.symmetric_encryption.SymmetricEncryptorDecryptor
- SymmetricKeyAlgorithm - Enum in org.pgpainless.algorithm
T
- THIRD_PARTY_CONFIRMATION - org.pgpainless.algorithm.SignatureType
-
Third-Party Confirmation signature.
- TIGER_192 - org.pgpainless.algorithm.HashAlgorithm
- TIMESTAMP - org.pgpainless.algorithm.SignatureType
-
Timestamp signature.
- toAsciiArmoredString(byte[]) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(InputStream) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPPublicKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPSecretKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
- toBitmask(KeyFlag...) - Static method in enum org.pgpainless.algorithm.KeyFlag
- toNewPassphrase(Passphrase) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface.WithPassphrase
-
Set the passphrase.
- toNoPassphrase() - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface.WithPassphrase
-
Leave the key unprotected.
- toRecipients(PGPPublicKey...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Pass in a list of trusted public keys of the recipients.
- toRecipients(PGPPublicKeyRing...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Pass in a list of trusted public key rings of the recipients.
- toRecipients(PGPPublicKeyRingCollection...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Pass in a list of trusted public key ring collections of the recipients.
- toRecipients(PublicKeyRingSelectionStrategy<O>, MultiMap<O, PGPPublicKeyRingCollection>) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Pass in a map of recipient key ring collections along with a strategy for key selection.
- toString() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- toString() - Method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- toString() - Method in class org.pgpainless.key.util.UserId
- toUri() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
-
Return the fingerprint as an openpgp4fpr
URI
. - TRIPLE_DES - org.pgpainless.algorithm.SymmetricKeyAlgorithm
- TWOFISH - org.pgpainless.algorithm.SymmetricKeyAlgorithm
U
- UNCOMPRESSED - org.pgpainless.algorithm.CompressionAlgorithm
- unlockAllKeysWith(Passphrase, PGPSecretKeyRing) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.
- unlockSecretKey(PGPSecretKey, SecretKeyRingProtector) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Unlock a
PGPSecretKey
and return the resultingPGPPrivateKey
. - unlockSingleKeyWith(Passphrase, PGPSecretKey) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.
- unprotectedKeys() - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.
- UnprotectedKeysProtector - Class in org.pgpainless.key.protection
-
Implementation of the
SecretKeyRingProtector
which assumes that all handled keys are not password protected. - UnprotectedKeysProtector() - Constructor for class org.pgpainless.key.protection.UnprotectedKeysProtector
- USER_ID_NO_LONGER_VALID - org.pgpainless.key.util.RevocationAttributes.Reason
- UserId - Class in org.pgpainless.key.util
- UserId(String, String, String) - Constructor for class org.pgpainless.key.util.UserId
- UserId.WithComment - Class in org.pgpainless.key.util
- UserId.WithEmail - Class in org.pgpainless.key.util
- usingAlgorithms(SymmetricKeyAlgorithm, HashAlgorithm, CompressionAlgorithm) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Specify which algorithms should be used for the encryption.
- usingSecureAlgorithms() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithAlgorithms
-
Use a suite of algorithms that are considered secure.
- UTF8 - Static variable in class org.pgpainless.key.parsing.KeyRingReader
V
- valueOf(int) - Static method in enum org.pgpainless.algorithm.SignatureType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.KeyFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.SignatureType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.encryption_signing.EncryptionStream.Purpose
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.generation.type.ecc.EllipticCurve
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.generation.type.eddsa.EdDSACurve
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.generation.type.rsa.RsaLength
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.generation.type.xdh.XDHCurve
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.key.util.RevocationAttributes.RevocationType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.Feature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.KeyFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.SignatureType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.encryption_signing.EncryptionStream.Purpose
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.generation.type.ecc.EllipticCurve
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.generation.type.eddsa.EdDSACurve
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.generation.type.rsa.RsaLength
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.generation.type.xdh.XDHCurve
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.key.util.RevocationAttributes.RevocationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.pgpainless.util.MultiMap
- verify(PGPSignature) - Method in class org.pgpainless.decryption_verification.OnePassSignature
- verifyDetachedSignature(byte[]) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Pass in one or more detached signatures to verify.
- verifyDetachedSignature(InputStream) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Pass in one or more detached signatures to verify.
- verifyDetachedSignature(PGPSignature) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Pass in a detached signature to verify.
- verifyDetachedSignatures(List<PGPSignature>) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Pass in a list of detached signatures to verify.
- verifyWith(Set<PGPPublicKeyRing>) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
- verifyWith(Set<PGPPublicKeyRing>) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.VerifyWith
-
Pass in a set of trusted public keys to verify the signatures with.
- verifyWith(Set<OpenPgpV4Fingerprint>, PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
- verifyWith(Set<OpenPgpV4Fingerprint>, PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.VerifyWith
-
Pass in a collection of public keys along with a set of fingerprints of those keys that shall be used to verify the signatures.
- verifyWith(PGPPublicKeyRing) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
- verifyWith(PGPPublicKeyRing) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.VerifyWith
-
Pass in a trusted public key ring to verify the signature with.
- verifyWith(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
- verifyWith(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.VerifyWith
-
Pass in a collection of public keys to verify the signatures with.
- verifyWith(OpenPgpV4Fingerprint, PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
- verifyWith(OpenPgpV4Fingerprint, PGPPublicKeyRingCollection) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.VerifyWith
-
Pass in a collection of public keys along with the fingerprint of the key that shall be used to verify the signatures.
W
- Whitelist - Class in org.pgpainless.key.selection.keyring.impl
- Whitelist() - Constructor for class org.pgpainless.key.selection.keyring.impl.Whitelist
- Whitelist.PubRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring.impl
- Whitelist.SecRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring.impl
- Wildcard - Class in org.pgpainless.key.selection.keyring.impl
- Wildcard() - Constructor for class org.pgpainless.key.selection.keyring.impl.Wildcard
- Wildcard.PubRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring.impl
- Wildcard.SecRingSelectionStrategy<O> - Class in org.pgpainless.key.selection.keyring.impl
- withAdditionalUserId(byte[]) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
- withAdditionalUserId(String) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
- withAdditionalUserId(UserId) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
- withComment(String) - Method in class org.pgpainless.key.util.UserId.WithComment
- WithComment(String) - Constructor for class org.pgpainless.key.util.UserId.WithComment
- withCustomSettings(KeyRingProtectionSettings) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface.WithKeyRingEncryptionSettings
-
Set custom settings for the symmetric passphrase encryption.
- withDefaultAlgorithms() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithDetailedConfiguration
- withDefaultAlgorithms() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredSymmetricAlgorithms
- withDefaultCompressionAlgorithms() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredCompressionAlgorithms
- withDefaultHashAlgorithms() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredHashAlgorithms
- withDefaultSymmetricAlgorithms() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredSymmetricAlgorithms
- withDescription(String) - Method in class org.pgpainless.key.util.RevocationAttributes.WithDescription
- withDetailedConfiguration() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithDetailedConfiguration
- withEmail(String) - Method in class org.pgpainless.key.util.UserId.WithEmail
- WithEmail(String, String) - Constructor for class org.pgpainless.key.util.UserId.WithEmail
- withFeature(Feature) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithFeatures
- withInheritedSubPackets() - Method in class org.pgpainless.key.generation.KeySpecBuilder
- withInheritedSubPackets() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- withKeyFlags(KeyFlag...) - Method in class org.pgpainless.key.generation.KeySpecBuilder
- withKeyFlags(KeyFlag...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- withLength(ElGamalLength) - Static method in class org.pgpainless.key.generation.type.elgamal.ElGamal
- withLength(RsaLength) - Static method in class org.pgpainless.key.generation.type.rsa.RSA
- withMasterKey(KeySpec) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- withMasterKey(KeySpec) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- withName(String) - Static method in class org.pgpainless.key.util.UserId
- withoutPassphrase() - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
- withPassphrase(Passphrase) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
- withPreferredCompressionAlgorithms(CompressionAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredCompressionAlgorithms
- withPreferredHashAlgorithms(HashAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredHashAlgorithms
- withPreferredSymmetricAlgorithms(SymmetricKeyAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface.WithPreferredSymmetricAlgorithms
- withPrimaryUserId(byte[]) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithPrimaryUserId
- withPrimaryUserId(String) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithPrimaryUserId
- withPrimaryUserId(UserId) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithPrimaryUserId
- withReason(RevocationAttributes.Reason) - Method in class org.pgpainless.key.util.RevocationAttributes.WithReason
- withSecureDefaultSettings() - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface.WithKeyRingEncryptionSettings
-
Set secure default settings for the symmetric passphrase encryption.
- withSubKey(KeySpec) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- withSubKey(KeySpec) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- write(byte[]) - Method in class org.pgpainless.encryption_signing.EncryptionStream
- write(byte[], int, int) - Method in class org.pgpainless.encryption_signing.EncryptionStream
- write(int) - Method in class org.pgpainless.encryption_signing.EncryptionStream
X
- XDH - Class in org.pgpainless.key.generation.type.xdh
- XDH(XDHCurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- XDHCurve - Enum in org.pgpainless.key.generation.type.xdh
- XMPP - Class in org.pgpainless.key.selection.keyring.impl
- XMPP() - Constructor for class org.pgpainless.key.selection.keyring.impl.XMPP
- XMPP.PubRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
- XMPP.SecRingSelectionStrategy - Class in org.pgpainless.key.selection.keyring.impl
Z
- ZIP - org.pgpainless.algorithm.CompressionAlgorithm
- ZLIB - org.pgpainless.algorithm.CompressionAlgorithm
_
- _1024 - org.pgpainless.key.generation.type.rsa.RsaLength
-
Deprecated.
- _1536 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^1536 - 2^1472 - 1 + 2^64 * { [2^1406 pi] + 741804 }.
- _2048 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 }.
- _2048 - org.pgpainless.key.generation.type.rsa.RsaLength
-
Deprecated.
- _3072 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^3072 - 2^3008 - 1 + 2^64 * { [2^2942 pi] + 1690314 }.
- _3072 - org.pgpainless.key.generation.type.rsa.RsaLength
- _4096 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }.
- _4096 - org.pgpainless.key.generation.type.rsa.RsaLength
- _6144 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^6144 - 2^6080 - 1 + 2^64 * { [2^6014 pi] + 929484 }.
- _8192 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
prime: 2^8192 - 2^8128 - 1 + 2^64 * { [2^8062 pi] + 4743158 }.
- _8192 - org.pgpainless.key.generation.type.rsa.RsaLength
- _Ed25519 - org.pgpainless.key.generation.type.eddsa.EdDSACurve
- _getProvider() - Method in class org.pgpainless.provider.BouncyCastleProviderFactory
- _getProvider() - Method in class org.pgpainless.provider.ProviderFactory
- _getProviderName() - Method in class org.pgpainless.provider.BouncyCastleProviderFactory
- _getProviderName() - Method in class org.pgpainless.provider.ProviderFactory
- _P256 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _P384 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _P521 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _X25519 - org.pgpainless.key.generation.type.xdh.XDHCurve
All Classes All Packages