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) - Method in class org.pgpainless.util.selection.userid.SelectUserId
- accept(String, PGPPublicKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.ExactUserId.PubRingSelectionStrategy
- accept(String, PGPPublicKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.XMPP.PubRingSelectionStrategy
- accept(String, PGPSecretKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
- accept(String, PGPSecretKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.XMPP.SecRingSelectionStrategy
- accept(K) - Method in interface org.pgpainless.util.selection.key.KeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.And.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.EncryptionKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.KeyBelongsToKeyRing.PubkeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.NoRevocation.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.key.impl.Or.PubKeySelectionStrategy
- accept(PGPPublicKey) - Method in class org.pgpainless.util.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.And.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.NoRevocation.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.Or.SecKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.key.impl.SignatureKeySelectionStrategy
- accept(PGPSecretKey) - Method in class org.pgpainless.util.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- accept(O, PGPPublicKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.Whitelist.PubRingSelectionStrategy
- accept(O, PGPPublicKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.Wildcard.PubRingSelectionStrategy
- accept(O, PGPSecretKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- accept(O, PGPSecretKeyRing) - Method in class org.pgpainless.util.selection.keyring.impl.Wildcard.SecRingSelectionStrategy
- accept(O, R) - Method in interface org.pgpainless.util.selection.keyring.KeyRingSelectionStrategy
- addCommentHeader(ArmoredOutputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, String, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached signature.
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached signature.
- addDetachedSignature(SubkeyIdentifier, PGPSignature) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- addDetachedSignature(DetachedSignature) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addDetachedSignatures(SecretKeyRingProtector, PGPSecretKeyRingCollection, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add detached signatures with all key rings from the provided secret key ring collection.
- addEncryptionMethod(PGPKeyEncryptionMethodGenerator) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add an
PGPKeyEncryptionMethodGeneratorwhich will be used to encrypt the message. - addHashAlgorithmHeader(ArmoredOutputStream, HashAlgorithm) - Static method in class org.pgpainless.util.ArmorUtils
- addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, String, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add an inline-signature.
- addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add an inline-signature.
- addInlineSignatures(SecretKeyRingProtector, PGPSecretKeyRingCollection, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add inline signatures with all secret key rings in the provided secret key ring collection.
- addKnownNotation(String) - Method in class org.pgpainless.util.NotationRegistry
-
Add a known notation name into the registry.
- addMessageIdHeader(ArmoredOutputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
- addOnePassSignature(OnePassSignature) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addPassphrase(Long, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Add a passphrase to the cache.
- addPassphrase(PGPKeyRing, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Remember the given passphrase for all keys in the given key ring.
- addPassphrase(PGPPublicKey, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Remember the given passphrase for the given (sub-)key.
- addPassphrase(Passphrase) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a symmetric passphrase which the message will be encrypted to.
- addRecipient(PGPPublicKeyRing) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key.
- addRecipient(PGPPublicKeyRing, String) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key and recipient user-id.
- addRecipient(PGPPublicKeyRing, String, EncryptionOptions.EncryptionKeySelector) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key and recipient user-id, as well as a strategy for selecting one or multiple encryption capable subkeys from the key.
- addRecipient(PGPPublicKeyRing, EncryptionOptions.EncryptionKeySelector) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key and an encryption key selection strategy.
- addRecipient(SubkeyIdentifier) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- addRecipientKeyId(Long) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addRecipients(PGPPublicKeyRingCollection) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add all key rings in the provided key ring collection as recipients.
- 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(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 key ring.
- addUserId(UserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a user-id to the key ring.
- AES_128 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
AES with 128-bit key.
- AES_192 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
AES with 192-bit key.
- AES_256 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
AES with 256-bit key.
- 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.AdditionalRecipients
-
Add an additional recipient key/passphrase or configure signing.
- and() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.AdditionalSignWith
-
Add an additional signing key/method.
- and(SelectUserId...) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- And - Class in org.pgpainless.util.selection.key.impl
- And() - Constructor for class org.pgpainless.util.selection.key.impl.And
- And.PubKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
- And.SecKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
- ArmoredOutputStreamFactory - Class in org.pgpainless.util
-
Factory to create configured
ArmoredOutputStreams. - ArmoredOutputStreamFactory() - Constructor for class org.pgpainless.util.ArmoredOutputStreamFactory
- 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.
- asString(boolean) - Method in class org.pgpainless.key.util.UserId
-
Returns a string representation of the object.
- attestedCertification - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket MUST only appear as a hashed subpacket of an Attestation Key Signature.
- AUTHENTICATION - org.pgpainless.algorithm.KeyFlag
-
This key may be used for authentication.
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 - org.pgpainless.algorithm.StreamEncoding
-
The Literal packet contains binary data.
- BINARY_DOCUMENT - org.pgpainless.algorithm.DocumentSignatureType
-
Signature is calculated over the unchanged binary data.
- BINARY_DOCUMENT - org.pgpainless.algorithm.SignatureType
-
Signature of a binary document.
- binaryStream() - Static method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- BLOWFISH - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Blowfish (128 bit key, 16 rounds).
- 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 class org.pgpainless.encryption_signing.EncryptionResult.Builder
- build() - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.Build
- build() - Method in class org.pgpainless.key.util.UserId.Builder
- builder() - Static method in class org.pgpainless.encryption_signing.EncryptionResult
- Builder() - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- Builder() - Constructor for class org.pgpainless.encryption_signing.EncryptionResult.Builder
- byPopularity() - Static method in interface org.pgpainless.algorithm.negotiation.SymmetricKeyAlgorithmNegotiator
- BZIP2 - org.pgpainless.algorithm.CompressionAlgorithm
C
- CachingSecretKeyRingProtector - Class in org.pgpainless.key.protection
-
Implementation of the
SecretKeyRingProtectorwhich holds a map of key ids and their passwords. - CachingSecretKeyRingProtector(Map<Long, Passphrase>, KeyRingProtectionSettings, SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- CAMELLIA_128 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Reserved for Camellia with 128-bit key.
- CAMELLIA_192 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Reserved for Camellia with 192-bit key.
- CAMELLIA_256 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Reserved for Camellia with 256-bit key.
- 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 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.
- 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.DocumentSignatureType
-
The signature is calculated over the text data with its line endings converted to
- CANONICAL_TEXT_DOCUMENT - org.pgpainless.algorithm.SignatureType
-
Signature of a canonical text document.
- 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.
- CAST5 - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
CAST5 (128 bit key, as per RFC2144).
- 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
-
This key may be used to certify other keys.
- 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.NotationRegistry
-
Clear all known notations from the registry.
- clear() - Method in class org.pgpainless.util.Passphrase
-
Overwrite the char array with spaces and mark the
Passphraseas invalidated. - CleartextSignatureProcessor - Class in org.pgpainless.signature.cleartext_signatures
-
Processor for cleartext-signed messages.
- CleartextSignatureProcessor(InputStream, PGPPublicKeyRingCollection, MultiPassStrategy) - Constructor for class org.pgpainless.signature.cleartext_signatures.CleartextSignatureProcessor
- close() - Method in class org.pgpainless.decryption_verification.DecryptionStream
- close() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- close() - Method in class org.pgpainless.util.IntegrityProtectedInputStream
- code() - Method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- CollectionUtils - Class in org.pgpainless.util
- CollectionUtils() - Constructor for class org.pgpainless.util.CollectionUtils
- COMMUNICATIONS - org.pgpainless.algorithm.EncryptionPurpose
-
The stream will encrypt communication that goes over the wire.
- compare(PGPSignature, PGPSignature) - Method in class org.pgpainless.signature.SignatureCreationDateComparator
- compare(PGPSignature, PGPSignature) - Method in class org.pgpainless.signature.SignatureValidityComparator
- compareTo(OpenPgpV4Fingerprint) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- CompressionAlgorithm - Enum in org.pgpainless.algorithm
-
Enumeration of possible compression algorithms.
- CompressionAlgorithmPolicy(CompressionAlgorithm, List<CompressionAlgorithm>) - Constructor for class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- containsEmailAddress(String) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- containsKey(K) - Method in class org.pgpainless.util.MultiMap
- containsSubstring(String) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- 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
- correctPrimaryKeyBindingSignature(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- correctSignatureOverKey(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- correctSignatureOverUserAttributes(PGPUserAttributeSubpacketVector, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- correctSignatureOverUserId(String, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- correctSubkeyBindingSignature(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- 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. - 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
- createRevocationCertificate(OpenPgpV4Fingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
- createRevocationCertificate(SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocationCertificate(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
- datePlusSeconds(Date, long) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return a new date which represents the given date plus the given amount of seconds added.
- 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
-
Decryption Stream that handles updating and verification of detached signatures, as well as verification of integrity-protected input streams once the stream gets closed.
- 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, PGPSecretKeyRing) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
-
Decrypt the encrypted data using the provided
PGPSecretKeyRing. - 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.
- DEFAULT_ORDER - Static variable in class org.pgpainless.signature.SignatureCreationDateComparator
- defaultCompressionAlgorithm() - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- defaultCompressionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- defaultHashAlgorithm() - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return the default hash algorithm.
- defaultRevocationSignatureHashAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
The default revocation signature hash algorithm policy of PGPainless.
- defaultSecretKeyRingProtector(SecretKeyPassphraseProvider) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Return a protector for secret keys.
- defaultSignatureAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
The default signature hash algorithm policy of PGPainless.
- defaultSymmetricKeyDecryptionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
The default symmetric decryption algorithm policy of PGPainless.
- defaultSymmetricKeyEncryptionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
The default symmetric encryption algorithm policy of PGPainless.
- 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(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 key ring.
- deleteUserId(UserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Remove a user-id from the key ring.
- deleteUserIds(SelectUserId, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- deleteUserIds(SelectUserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Delete all user-ids from the key, which match the provided
SelectUserIdstrategy. - DES - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Reserved in RFC4880.
- detachedSignature(PGPSignatureGenerator) - Static method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
-
Detached signing method.
- DetachedSignature - Class in org.pgpainless.signature
-
Tuple-class which bundles together a signature, the signing key that created the signature, an identifier of the signing key and a record of whether or not the signature was verified.
- DetachedSignature(PGPSignature, PGPKeyRing, SubkeyIdentifier) - Constructor for class org.pgpainless.signature.DetachedSignature
-
Create a new
DetachedSignatureobject. - 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.
- DocumentSignatureType - Enum in org.pgpainless.algorithm
-
Subset of
SignatureType, used for signatures over documents. - 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
-
Do not attempt to decrypt the provided data.
- doNotEncrypt() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipientsOrNoEncryption
-
Instruct the
EncryptionStreamto not encrypt any data. - doNotSign() - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWithOrDontSign
-
Do not sign the plain data at all.
- doNotVerify() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.Verify
-
Instruct the
DecryptionStreamto not verify any signatures. - DSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Digital Signature Algorithm.
E
- EC - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.use
PublicKeyAlgorithm.ECDHinstead. - 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.util.selection.keyring.impl
- Email() - Constructor for class org.pgpainless.util.selection.keyring.impl.Email
- Email.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- Email.SecRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- embeddedSignature - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket contains a complete Signature packet body as specified in Section 5.2 above.
- emptyPassphrase() - Static method in class org.pgpainless.util.Passphrase
-
Represents a
Passphraseinstance that represents no password. - encrypt(EncryptionOptions) - Static method in class org.pgpainless.encryption_signing.ProducerOptions
-
Encrypt some data without signing.
- ENCRYPT_COMMS - org.pgpainless.algorithm.KeyFlag
-
This key may be used to encrypt communications.
- ENCRYPT_STORAGE - org.pgpainless.algorithm.KeyFlag
-
This key may be used to encrypt storage.
- encryptAndOrSign() - Static method in class org.pgpainless.PGPainless
-
Create an
EncryptionStream, which can be used to encrypt and/or sign data using OpenPGP. - encryptAndOrSign(EncryptionPurpose) - Static method in class org.pgpainless.PGPainless
-
Deprecated.use
PGPainless.encryptAndOrSign()and set the purpose inEncryptionOptionsinstead - encryptCommunications() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Factory method to create an
EncryptionOptionsobject which will encrypt for keys which carry the flagKeyFlag.ENCRYPT_COMMS. - encryptDataAtRest() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Factory method to create an
EncryptionOptionsobject which will encrypt for keys which carry the flagKeyFlag.ENCRYPT_STORAGE. - EncryptionBuilder - Class in org.pgpainless.encryption_signing
- EncryptionBuilder() - Constructor for class org.pgpainless.encryption_signing.EncryptionBuilder
- EncryptionBuilder(EncryptionPurpose) - Constructor for class org.pgpainless.encryption_signing.EncryptionBuilder
- EncryptionBuilderInterface - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.AdditionalRecipients - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.AdditionalSignWith - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.Armor - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.SignWith - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.SignWithOrDontSign - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.ToRecipients - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.ToRecipientsOrNoEncryption - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.ToRecipientsOrSign - Interface in org.pgpainless.encryption_signing
- EncryptionKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
-
Key Selection Strategy that only accepts
PGPPublicKeys which are capable of encryption. - EncryptionKeySelectionStrategy(KeyFlag...) - Constructor for class org.pgpainless.util.selection.key.impl.EncryptionKeySelectionStrategy
- EncryptionOptions - Class in org.pgpainless.encryption_signing
-
Options for the encryption process.
- EncryptionOptions() - Constructor for class org.pgpainless.encryption_signing.EncryptionOptions
-
Encrypt to keys both carrying the key flag
KeyFlag.ENCRYPT_COMMSorKeyFlag.ENCRYPT_STORAGE. - EncryptionOptions(EncryptionPurpose) - Constructor for class org.pgpainless.encryption_signing.EncryptionOptions
- EncryptionOptions.EncryptionKeySelector - Interface in org.pgpainless.encryption_signing
- EncryptionPurpose - Enum in org.pgpainless.algorithm
- EncryptionResult - Class in org.pgpainless.encryption_signing
- EncryptionResult.Builder - Class in org.pgpainless.encryption_signing
- EncryptionStream - Class in org.pgpainless.encryption_signing
-
This class is based upon Jens Neuhalfen's Bouncy-GPG PGPEncryptingStream.
- encryptToAllCapableSubkeys() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Encrypt to any valid, encryption capable subkey on the key ring.
- encryptToFirstSubkey() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Only encrypt to the first valid encryption capable subkey we stumble upon.
- entrySet() - Method in class org.pgpainless.util.MultiMap
- equals(Object) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- equals(Object) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- equals(Object) - Method in class org.pgpainless.key.SubkeyIdentifier
- equals(Object) - Method in class org.pgpainless.key.util.UserId
- equals(Object) - Method in class org.pgpainless.util.MultiMap
- equals(Object) - Method in class org.pgpainless.util.Passphrase
- evaluateForSignature(PGPKeyRing, PGPSignature) - Static method in class org.pgpainless.key.info.KeyRingInfo
-
Evaluate the key ring at creation time of the given signature.
- exactMatch(String) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- ExactUserId - Class in org.pgpainless.util.selection.keyring.impl
- ExactUserId() - Constructor for class org.pgpainless.util.selection.keyring.impl.ExactUserId
- ExactUserId.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- ExactUserId.SecRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- exportableCertification - org.pgpainless.algorithm.SignatureSubpacket
-
Denotes whether or not the signature is exportable for other users.
F
- Feature - Enum in org.pgpainless.algorithm
-
An enumeration of features that may be set in the
Featuressubpacket. - features - org.pgpainless.algorithm.SignatureSubpacket
-
The Features subpacket denotes which advanced OpenPGP features a user's implementation supports.
- FileInfo(String, Date, StreamEncoding) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- fileName - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- fingerprint - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- firstMatch(List<String>) - Method in class org.pgpainless.util.selection.userid.SelectUserId
- firstMatch(PGPKeyRing) - Method in class org.pgpainless.util.selection.userid.SelectUserId
- flush() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- FOR_YOUR_EYES_ONLY - Static variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- forgetPassphrase(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Remove a passphrase from the cache.
- forgetPassphrase(PGPKeyRing) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Forget the passphrase to all keys in the provided key ring.
- forgetPassphrase(PGPPublicKey) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Forget the passphrase of the given public key.
- forKey(PGPKeyRing, Passphrase) - Static method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- forKey(PGPSecretKey, Passphrase) - Static method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- forPassphrase(Passphrase) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Symmetrically encrypt the message using a passphrase.
- forYourEyesOnly() - Static method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- fromBitmask(int) - Static method in enum org.pgpainless.algorithm.KeyFlag
-
Convert a bitmask into a list of
KeyFlags. - fromCode(byte) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- fromCode(int) - Static method in enum org.pgpainless.algorithm.SignatureSubpacket
-
Return the
SignatureSubpacketthat corresponds to the provided id. - fromCode(int) - Static method in enum org.pgpainless.algorithm.StreamEncoding
-
Return the
StreamEncodingcorresponding to the provided code identifier. - fromCodes(int[]) - Static method in enum org.pgpainless.algorithm.SignatureSubpacket
-
Convert an array of signature subpacket tags into a list of
SignatureSubpackets. - 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
- fromId(byte) - Static method in enum org.pgpainless.algorithm.Feature
- fromId(int) - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
-
Return the
CompressionAlgorithmvalue that corresponds to the provided numerical id. - fromId(int) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the
HashAlgorithmvalue that corresponds to the provided algorithm id. - fromId(int) - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return the
PublicKeyAlgorithmthat corresponds to the provided algorithm id. - fromId(int) - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Return the
SymmetricKeyAlgorithmenum that corresponds to the provided numeric id. - fromName(String) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the
HashAlgorithmvalue that corresponds to the provided name. - fromPassphraseMap(Map<Long, Passphrase>) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Use the provided map of key-ids and passphrases to unlock keys.
- fromPassword(String) - Static method in class org.pgpainless.util.Passphrase
-
Create a
Passphrasefrom aString. - fromSpec(XDHSpec) - Static method in class org.pgpainless.key.generation.type.xdh.XDH
- 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() - Method in class org.pgpainless.util.NonEmptyList
-
Return the first element of the list.
- get(OutputStream) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
- 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
-
Return the numerical algorithm tag corresponding to this compression algorithm.
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the numeric algorithm id of the hash algorithm.
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return the numeric identifier of the public key algorithm.
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Return the numeric algorithm id of the enum.
- getAlgorithmName() - Method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the text name of the hash algorithm.
- 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
AlgorithmParameterSpecthat 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
- getAll() - Method in class org.pgpainless.util.NonEmptyList
-
Return a non-empty list of all elements of this list.
- getArmorHeaderValues(ArmoredInputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
- getBuilder() - Static method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getBuilder(KeyType) - Static method in class org.pgpainless.key.generation.KeySpec
- getBytes() - Method in class org.pgpainless.signature.cleartext_signatures.InMemoryMultiPassStrategy
- getChars() - Method in class org.pgpainless.util.Passphrase
-
Return a copy of the underlying char array.
- getCharsetHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- getCode() - Method in enum org.pgpainless.algorithm.SignatureSubpacket
-
Return the numerical identifier of the
SignatureSubpacket. - getCode() - Method in enum org.pgpainless.algorithm.SignatureType
-
Return the numeric id of the signature type enum.
- getCode() - Method in enum org.pgpainless.algorithm.StreamEncoding
-
Return the code identifier of the encoding.
- getCommendHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- getComment() - Method in class org.pgpainless.key.util.UserId
- getCompressionAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getCompressionAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
- getCompressionAlgorithmIds() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getCompressionAlgorithmOverride() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getCompressionAlgorithmPolicy() - Method in class org.pgpainless.policy.Policy
- 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.
- getCurrentSubkeyBindingSignature(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the currently active subkey binding signature for the subkey with the provided key-id.
- getCurveName() - Method in enum org.pgpainless.key.generation.type.xdh.XDHSpec
- getCurveName() - Method in class org.pgpainless.key.info.KeyInfo
- getCurveName(ECPublicBCPGKey) - Static method in class org.pgpainless.key.info.KeyInfo
- getCurveName(PGPPublicKey) - Static method in class org.pgpainless.key.info.KeyInfo
- getDecryptionFingerprint() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- getDecryptor(Long) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Return a decryptor for the key of id
keyId. - getDecryptor(Long) - Method in class org.pgpainless.key.protection.UnprotectedKeysProtector
- getDefaultAlgorithmSuite() - Static method in class org.pgpainless.algorithm.AlgorithmSuite
- getDefaultSymmetricKeyAlgorithm() - Method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Return the default symmetric key algorithm.
- getDescription() - Method in class org.pgpainless.key.util.RevocationAttributes
- getDetachedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- getDetachedSignatures() - Method in class org.pgpainless.encryption_signing.EncryptionResult
- getEmail() - Method in class org.pgpainless.key.util.UserId
- 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.
- getEmbeddedSignature(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the embedded signature subpacket from the signatures hashed area.
- getEncryptionAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
- getEncryptionAlgorithm() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- getEncryptionOptions() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getEncryptionSubkeys(String, EncryptionPurpose) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all subkeys that can be used for encryption with the given user-id.
- getEncryptionSubkeys(EncryptionPurpose) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all subkeys which can be used for encryption of the given purpose.
- getEncryptor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- getEncryptor(Long) - Method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- getEncryptor(Long) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Return an encryptor for the key of id
keyId. - getEncryptor(Long) - Method in class org.pgpainless.key.protection.UnprotectedKeysProtector
- getExpirationDateForUse(KeyFlag) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest date on which the key ring is still usable for the given key flag.
- getExportableCertification(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signatures exportable certification subpacket from the hashed area.
- getFeatureId() - Method in enum org.pgpainless.algorithm.Feature
- getFeatures(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the features subpacket from the signatures hashed area.
- getFileInfo() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getFileInfo() - Method in class org.pgpainless.encryption_signing.EncryptionResult
- getFileName() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- getFingerprint() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the
OpenPgpV4Fingerprintof this key ring. - getFingerprint() - Method in class org.pgpainless.key.SubkeyIdentifier
- getFingerprint() - Method in class org.pgpainless.signature.DetachedSignature
-
Deprecated.
- getFingerprint() - Method in class org.pgpainless.signature.OnePassSignature
-
Return the
OpenPgpV4Fingerprintof the signing key. - getFlag() - Method in enum org.pgpainless.algorithm.KeyFlag
-
Return the numeric id of the
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
- getHashAlgorithmOverride() - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Return the hash algorithm override (or null if no override is set).
- getHashAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getHashAlgorithms(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- getHashedNotationData(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the notation data subpackets from the signatures hashed area.
- getHashHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- getInstance() - Static method in class org.pgpainless.implementation.ImplementationFactory
- getInstance() - Static method in class org.pgpainless.policy.Policy
-
Return the singleton instance of PGPainless' policy.
- getIntendedRecipientFingerprints(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the intended recipients fingerprint subpackets from the hashed area of this signature.
- getIssuerFingerprint(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the issuer-fingerprint subpacket of the signature.
- getIssuerFingerprintAsOpenPgpV4Fingerprint(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the
IssuerFingerprintsubpacket of the signature into aOpenPgpV4Fingerprint. - getIssuerKeyId(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the issuer key-id subpacket of the signature.
- getKeyExpirationDate(Date, PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
- getKeyExpirationTime(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the key expiration time subpacket of this signature.
- getKeyExpirationTimeAsDate(PGPSignature, PGPPublicKey) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signatures key-expiration time as a date.
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.BcImplementationFactory
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.ImplementationFactory
- getKeyFingerprintCalculator() - Method in class org.pgpainless.implementation.JceImplementationFactory
- getKeyFlags(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the key flags subpacket from the signatures hashed area.
- getKeyFlagsOf(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the a list of
KeyFlagsthat apply to the subkey with the provided key id. - getKeyFlagsOf(String) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of
KeyFlagsthat apply to the given user-id. - 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
OpenPgpV4Fingerprintbelongs to. - getKeyId() - Method in class org.pgpainless.key.SubkeyIdentifier
- getKeysWithKeyFlag(KeyFlag) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all keys which carry the provided key flag in their signature.
- getLastModified() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the date on which the key ring was last modified.
- getLatestDirectKeySelfSignature() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest direct-key self signature.
- getLatestKeyCreationDate() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the creation time of the latest added subkey.
- getLatestUserIdCertification(String) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest certification self-signature on the provided user-id.
- 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
- getMessageIdHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- getMessageInputStream() - Method in class org.pgpainless.signature.cleartext_signatures.InMemoryMultiPassStrategy
- getMessageInputStream() - Method in interface org.pgpainless.signature.cleartext_signatures.MultiPassStrategy
-
Provide an
InputStreamwhich contains the data that was previously written away inMultiPassStrategy.getMessageOutputStream(). - getMessageInputStream() - Method in class org.pgpainless.signature.cleartext_signatures.WriteToFileMultiPassStrategy
- getMessageOutputStream() - Method in class org.pgpainless.signature.cleartext_signatures.InMemoryMultiPassStrategy
- getMessageOutputStream() - Method in interface org.pgpainless.signature.cleartext_signatures.MultiPassStrategy
-
Provide an
OutputStreaminto which the signed data can be read into. - getMessageOutputStream() - Method in class org.pgpainless.signature.cleartext_signatures.WriteToFileMultiPassStrategy
- getModificationDate() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- 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.XDHSpec
- getName() - Method in class org.pgpainless.key.util.UserId
- getNotationRegistry() - Method in class org.pgpainless.policy.Policy
-
Return the
NotationRegistryof PGPainless. - getOnePassSignature() - Method in class org.pgpainless.signature.OnePassSignature
-
Return the
PGPOnePassSignatureobject. - getOthers() - Method in class org.pgpainless.util.NonEmptyList
-
Return a list of all elements of the list except the first.
- getP() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
- getPassphraseFor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- 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(PGPSecretKey) - Method in interface org.pgpainless.key.protection.passphrase_provider.SecretKeyPassphraseProvider
-
Return a passphrase for the given secret key.
- 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
- getPgpPublicKeyRingCollection() - Method in class org.pgpainless.key.collection.PGPKeyRingCollection
- getPGPSecretKeyRingCollection() - Method in class org.pgpainless.key.collection.PGPKeyRingCollection
- getPolicy() - Static method in class org.pgpainless.PGPainless
-
Access, and make changes to PGPainless policy on acceptable/default algorithms etc.
- getPreferredCompressionAlgorithms() - Method in class org.pgpainless.key.info.KeyAccessor
-
Return preferred compression algorithms.
- getPreferredCompressionAlgorithms(String, long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the (sorted) set of preferred compression algorithms of the given key.
- getPreferredCompressionAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the compression algorithm preferences from the signatures hashed area.
- getPreferredHashAlgorithms() - Method in class org.pgpainless.key.info.KeyAccessor
-
Return preferred hash algorithms.
- getPreferredHashAlgorithms(String, long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the (sorted) set of preferred hash algorithms of the given key.
- getPreferredHashAlgorithms(PGPPublicKey) - Static method in class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
- getPreferredHashAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the hash algorithm preferences from the signatures hashed area.
- getPreferredSymmetricAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the symmetric algorithm preferences from the signatures hashed area.
- getPreferredSymmetricKeyAlgorithms() - Method in class org.pgpainless.key.info.KeyAccessor
-
Return preferred symmetric key encryption algorithms.
- getPreferredSymmetricKeyAlgorithms(String, long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the (sorted) set of preferred symmetric encryption algorithms of the given key.
- getPrimaryKeyExpirationDate() - 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.
- getPrimaryKeyFingerprint() - Method in class org.pgpainless.key.SubkeyIdentifier
-
Return the
OpenPgpV4Fingerprintof the primary key of the identified key. - getPrimaryKeyId() - Method in class org.pgpainless.key.SubkeyIdentifier
-
Return the key id of the primary key of the identified key.
- getPrimaryPublicKeyFrom(PGPKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPPublicKeyfrom the provided key ring or null if it has none. - getPrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKeyfrom the providedPGPSecretKeyRingor null if it has none. - getPrimaryUserId() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the primary user-id of the key ring.
- getPrimaryUserId(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the primary user-id subpacket from the signatures hashed area.
- 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
PGPPublicKeyof this key ring. - getPublicKey(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the public key with the given key id.
- getPublicKey(PGPKeyRing, long) - Static method in class org.pgpainless.key.info.KeyRingInfo
-
Return the public key with the given key id from the provided key ring.
- getPublicKey(OpenPgpV4Fingerprint) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the public key with the given fingerprint.
- 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
- getPublicKeyFrom(PGPKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
- 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
PGPPublicKeysof this key ring. - getReason() - Method in class org.pgpainless.key.util.RevocationAttributes
- getRecipientKeyIds() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getRecipients() - Method in class org.pgpainless.encryption_signing.EncryptionResult
- getResult() - Method in class org.pgpainless.decryption_verification.DecryptionStream
-
Return the result of the decryption.
- getResult() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- getRevocable(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the revocable subpacket of this signature.
- 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.
- getRevocationKey(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the revocation key subpacket from the signatures hashed area.
- getRevocationReason(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the revocation reason subpacket of the signature.
- getRevocationSelfSignature() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest revocation self-signature on the primary key.
- getRevocationSignatureHashAlgorithmPolicy() - Method in class org.pgpainless.policy.Policy
-
Return the hash algorithm policy for revocations.
- getS2kCount() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- getSecretKey() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the primary
PGPSecretKeyof this key ring or null if the key ring is not aPGPSecretKeyRing. - getSecretKey(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the secret key with the given key id.
- getSecretKey(OpenPgpV4Fingerprint) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the secret key with the given fingerprint.
- getSecretKeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return all secret keys of the key ring.
- getSignature() - Method in class org.pgpainless.signature.DetachedSignature
-
Return the OpenPGP signature.
- getSignature() - Method in class org.pgpainless.signature.OnePassSignature
-
Return the signature.
- getSignatureCreationTime(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signature creation time subpacket.
- getSignatureExpirationDate(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
- getSignatureExpirationTime(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signature expiration time subpacket of the signature.
- getSignatureExpirationTimeAsDate(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signatures expiration time as a date.
- getSignatureGenerator() - Method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
- getSignatureGeneratorFor(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return a signature generator for the provided signing key.
- getSignatureGeneratorFor(PGPSecretKey) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return a signature generator for the provided signing key.
- getSignatureHashAlgorithmPolicy() - Method in class org.pgpainless.policy.Policy
-
Return the hash algorithm policy for signatures.
- getSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getSignatureSubpacket(PGPSignatureSubpacketVector, SignatureSubpacket) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the last occurence of a subpacket type in the given signature subpacket vector.
- getSignatureTarget(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signature target subpacket from the signature.
- getSignatureType() - Method in enum org.pgpainless.algorithm.DocumentSignatureType
- getSignatureWithPreferences() - Method in class org.pgpainless.key.info.KeyAccessor
-
Depending on the way we address the key (key-id or user-id), return the respective
PGPSignaturewhich contains the algorithm preferences we are going to use. - getSignatureWithPreferences() - Method in class org.pgpainless.key.info.KeyAccessor.ViaKeyId
- getSignatureWithPreferences() - Method in class org.pgpainless.key.info.KeyAccessor.ViaUserId
- getSignerUserID(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signers user-id from the hashed area of the signature.
- getSigningKeyIdentifier() - Method in class org.pgpainless.signature.DetachedSignature
-
Return an identifier pointing to the exact signing key which was used to create this signature.
- getSigningKeyRing() - Method in class org.pgpainless.signature.DetachedSignature
-
Return the key ring that contains the signing key that created this signature.
- getSigningMethods() - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Return a map of key-ids and signing methods.
- getSigningOptions() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getSigningSubkeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all subkeys which can be used to sign data.
- getStreamFormat() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- getSubkeyExpirationDate(OpenPgpV4Fingerprint) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the expiration date of the subkey with the provided fingerprint.
- getSubkeyFingerprint() - Method in class org.pgpainless.key.SubkeyIdentifier
-
Return the
OpenPgpV4Fingerprintof the identified subkey. - getSubkeyId() - Method in class org.pgpainless.key.SubkeyIdentifier
-
Return the key id of the identified subkey.
- getSubkeyRevocationSignature(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest subkey binding revocation signature for the subkey with the given key-id.
- getSubpacketsOfType(SignatureSubpacket, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Return a list of
SignatureSubpacketsfrom the subpacket generator, which correspond to the givenSignatureSubpackettype. - getSymmetricKeyAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getSymmetricKeyAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Deprecated.
- getSymmetricKeyAlgorithmIds() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getSymmetricKeyAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getSymmetricKeyDecryptionAlgoritmPolicy() - Method in class org.pgpainless.policy.Policy
-
Return the symmetric encryption algorithm policy for decryption.
- getSymmetricKeyEncryptionAlgorithmPolicy() - Method in class org.pgpainless.policy.Policy
-
Return the symmetric encryption algorithm policy for encryption.
- getTrustSignature(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the trust signature packet from the signatures hashed area.
- getUnhashedNotationData(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the notation data subpackets from the signatures unhashed area.
- getUserIdRevocation(String) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the latest user-id revocation signature for the provided user-id.
- getUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all user-ids of the primary key.
- getValidUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of valid user-ids.
- getVerificationKeys() - Method in class org.pgpainless.signature.OnePassSignature
-
Return the key ring used to verify the signature.
- getVerifiedSignatureKeyFingerprints() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVersionHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
- guessPreferredHashAlgorithms(PGPPublicKey) - Static method in class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
-
Return the hash algorithm that was used in the latest self signature.
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.util.selection.key.impl
-
Selection Strategy that accepts a key if it carries all of the specified key flags.
- HasAllKeyFlagSelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy
- HasAllKeyFlagSelectionStrategy.PublicKey - Class in org.pgpainless.util.selection.key.impl
- HasAllKeyFlagSelectionStrategy.SecretKey - Class in org.pgpainless.util.selection.key.impl
- HasAnyKeyFlagSelectionStrategy - Class in org.pgpainless.util.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.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy
- HasAnyKeyFlagSelectionStrategy.PublicKey - Class in org.pgpainless.util.selection.key.impl
- HasAnyKeyFlagSelectionStrategy.SecretKey - Class in org.pgpainless.util.selection.key.impl
- hasDummyS2K() - Method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a contained secret key has S2K of a type GNU_DUMMY_S2K.
- hasDummyS2K(PGPSecretKey) - Static method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a secret key has S2K of a type GNU_DUMMY_S2K.
- HashAlgorithm - Enum in org.pgpainless.algorithm
-
An enumeration of different hashing algorithms.
- HashAlgorithmPolicy(HashAlgorithm, List<HashAlgorithm>) - Constructor for class org.pgpainless.policy.Policy.HashAlgorithmPolicy
- hashCode() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- hashCode() - Method in class org.pgpainless.key.SubkeyIdentifier
- hashCode() - Method in class org.pgpainless.key.util.UserId
- hashCode() - Method in class org.pgpainless.util.MultiMap
- hashCode() - Method in class org.pgpainless.util.Passphrase
- hasKeyFlag(int, KeyFlag) - Static method in enum org.pgpainless.algorithm.KeyFlag
-
Return true if the provided bitmask has the bit for the provided flag set.
- hasKeyFlag(KeyFlag, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Return true, if the subpacket generator has a
KeyFlagssubpacket which carries the given key flag. - HEADER_CHARSET - Static variable in class org.pgpainless.util.ArmorUtils
- HEADER_COMMENT - Static variable in class org.pgpainless.util.ArmorUtils
- HEADER_HASH - Static variable in class org.pgpainless.util.ArmorUtils
- HEADER_MESSAGEID - Static variable in class org.pgpainless.util.ArmorUtils
- HEADER_VERSION - Static variable in class org.pgpainless.util.ArmorUtils
I
- IDEA - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Deprecated.use a different algorithm.
- identifier - Variable in class org.pgpainless.util.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- ignoreMissingPublicKeys() - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.HandleMissingPublicKeys
-
Instruct the
DecryptionStreamto ignore any missing public keys. - ImplementationFactory - Class in org.pgpainless.implementation
- ImplementationFactory() - Constructor for class org.pgpainless.implementation.ImplementationFactory
- info - Variable in class org.pgpainless.key.info.KeyAccessor
- initializeSignatureAndUpdateWithSignedData(PGPSignature, InputStream, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- inlineSignature(PGPSignatureGenerator) - Static method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
-
Inline-signature method.
- InMemoryMultiPassStrategy - Class in org.pgpainless.signature.cleartext_signatures
- InMemoryMultiPassStrategy() - Constructor for class org.pgpainless.signature.cleartext_signatures.InMemoryMultiPassStrategy
- inspectKeyRing(PGPKeyRing) - Static method in class org.pgpainless.PGPainless
-
Quickly access information about a
PGPPublicKeyRing/PGPSecretKeyRing. - IntegrityProtectedInputStream - Class in org.pgpainless.util
- IntegrityProtectedInputStream(InputStream, PGPEncryptedData) - Constructor for class org.pgpainless.util.IntegrityProtectedInputStream
- intendedRecipientFingerprint - org.pgpainless.algorithm.SignatureSubpacket
-
The OpenPGP Key fingerprint of the intended recipient primary key.
- isAcceptable(int) - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- isAcceptable(int) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return true if the the given hash algorithm is acceptable by this policy.
- isAcceptable(int) - Method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Return true if the given symmetric encryption algorithm is acceptable by this policy.
- isAcceptable(CompressionAlgorithm) - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- isAcceptable(HashAlgorithm) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return true if the the given hash algorithm is acceptable by this policy.
- isAcceptable(SymmetricKeyAlgorithm) - Method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Return true if the given symmetric encryption algorithm is acceptable by this policy.
- isAsciiArmor() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return true if the output of the encryption/signing operation shall be ascii armored.
- isDecrypted() - Method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a contained secret key is not encrypted.
- isDecrypted(PGPSecretKey) - Static method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a secret key is not encrypted.
- isDetached() - Method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
- 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
- isEncrypted() - Method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a contained secret key is encrypted.
- isEncrypted(PGPSecretKey) - Static method in class org.pgpainless.key.info.KeyInfo
-
Returns indication that a secret key is encrypted.
- isEncryptionCapable() - Method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return true if this public key algorithm can be used as an encryption algorithm.
- isForYourEyesOnly() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- isFullyDecrypted() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true when every secret key on the key ring is not encrypted.
- isFullyEncrypted() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true when every secret key on the key ring is encrypted.
- isHardRevocation(byte) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- isHardRevocation(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return true if the provided signature is a hard revocation.
- isKeyValidlyBound(long) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true if the public key with the given key id is bound to the key ring properly.
- isKnownNotation(String) - Method in class org.pgpainless.util.NotationRegistry
-
Return true if the notation name is registered in the registry.
- isRevocationSignature(int) - Static method in enum org.pgpainless.algorithm.SignatureType
- isRevocationSignature(SignatureType) - Static method in enum org.pgpainless.algorithm.SignatureType
- isSecretKey() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true if the key ring is a
PGPSecretKeyRing. - isSignatureExpired(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
- isSignatureExpired(PGPSignature, Date) - Static method in class org.pgpainless.signature.SignatureUtils
- isSigned() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- isSigningCapable() - Method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return true if this public key algorithm is able to create signatures.
- issuerFingerprint - org.pgpainless.algorithm.SignatureSubpacket
-
The OpenPGP Key fingerprint of the key issuing the signature.
- issuerKeyId - org.pgpainless.algorithm.SignatureSubpacket
-
The OpenPGP Key ID of the key issuing the signature.
- isUserIdValid(String) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true if the provided user-id is valid.
- 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.OpenPgpMetadata
- isVerified() - Method in class org.pgpainless.signature.DetachedSignature
-
Return true iff the signature is verified.
- isVerified() - Method in class org.pgpainless.signature.OnePassSignature
-
Return true if the signature is verified.
- iteratorToList(Iterator<I>) - Static method in class org.pgpainless.util.CollectionUtils
J
- JceImplementationFactory - Class in org.pgpainless.implementation
- JceImplementationFactory() - Constructor for class org.pgpainless.implementation.JceImplementationFactory
K
- keepMessageInMemory() - Static method in interface org.pgpainless.signature.cleartext_signatures.MultiPassStrategy
-
Read the message content into memory.
- key - Variable in class org.pgpainless.key.info.KeyAccessor
- 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
- KeyAccessor - Class in org.pgpainless.key.info
- KeyAccessor(KeyRingInfo, SubkeyIdentifier) - Constructor for class org.pgpainless.key.info.KeyAccessor
- KeyAccessor.ViaKeyId - Class in org.pgpainless.key.info
-
Address the key via key-id.
- KeyAccessor.ViaUserId - Class in org.pgpainless.key.info
-
Address the key via a user-id (eg "Alice <alice@wonderland.lit>).
- KeyBelongsToKeyRing - Class in org.pgpainless.util.selection.key.impl
- KeyBelongsToKeyRing() - Constructor for class org.pgpainless.util.selection.key.impl.KeyBelongsToKeyRing
- KeyBelongsToKeyRing.PubkeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
- keyExpirationTime - org.pgpainless.algorithm.SignatureSubpacket
-
The validity period of the key.
- KeyFlag - Enum in org.pgpainless.algorithm
-
Enumeration of different key flags.
- keyFlags - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket contains a list of binary flags that hold information about a key.
- KeyInfo - Class in org.pgpainless.key.info
- KeyInfo(PGPPublicKey) - Constructor for class org.pgpainless.key.info.KeyInfo
- KeyInfo(PGPSecretKey) - Constructor for class org.pgpainless.key.info.KeyInfo
- 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(byte[], boolean) - Method in class org.pgpainless.key.parsing.KeyRingReader
- keyRingCollection(InputStream, boolean) - Method in class org.pgpainless.key.parsing.KeyRingReader
- keyRingCollection(String, boolean) - Method in class org.pgpainless.key.parsing.KeyRingReader
- keyRingContainsKeyWithId(PGPPublicKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
- 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
-
Evaluate the key ring right now.
- KeyRingInfo(PGPKeyRing, Date) - Constructor for class org.pgpainless.key.info.KeyRingInfo
-
Evaluate the key ring at the provided validation date.
- KeyRingInfo.Signatures - Class in org.pgpainless.key.info
- 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.util.selection.keyring
- keyRingsToKeyRingCollection(PGPPublicKeyRing...) - Static method in class org.pgpainless.key.util.KeyRingUtils
- keyRingsToKeyRingCollection(PGPSecretKeyRing...) - Static method in class org.pgpainless.key.util.KeyRingUtils
- KeyRingUtils - Class in org.pgpainless.key.util
- KeyRingUtils() - Constructor for class org.pgpainless.key.util.KeyRingUtils
- KeyRingValidator - Class in org.pgpainless.key
- KeyRingValidator() - Constructor for class org.pgpainless.key.KeyRingValidator
- KeySelectionStrategy<K,R> - Interface in org.pgpainless.util.selection.key
-
Interface that describes a selection strategy for OpenPGP keys.
- keyServerPreferences - org.pgpainless.algorithm.SignatureSubpacket
-
This is a list of one-bit flags that indicate preferences that the key holder has about how the key is handled on a key server.
- 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
- KeyValidationException - Error in org.pgpainless.exception
- KeyValidationException(String, PGPSignature, PGPSignature) - Constructor for error org.pgpainless.exception.KeyValidationException
L
- length() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- length() - Method in class org.pgpainless.key.util.UserId
- LOCAL - org.pgpainless.algorithm.StreamEncoding
-
Deprecated.
- LOGGER - Static variable in class org.pgpainless.util.selection.key.impl.EncryptionKeySelectionStrategy
M
- MapBasedPassphraseProvider - Class in org.pgpainless.key.protection.passphrase_provider
-
Implementation of the
SecretKeyPassphraseProviderthat 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
- MD5 - org.pgpainless.algorithm.HashAlgorithm
-
Deprecated.
- MessageNotIntegrityProtectedException - Exception in org.pgpainless.exception
- MessageNotIntegrityProtectedException() - Constructor for exception org.pgpainless.exception.MessageNotIntegrityProtectedException
- MissingDecryptionMethodException - Exception in org.pgpainless.exception
-
Exception that is thrown when decryption fails due to a missing decryption key or decryption passphrase.
- MissingDecryptionMethodException(String) - Constructor for exception org.pgpainless.exception.MissingDecryptionMethodException
- MissingPublicKeyCallback - Interface in org.pgpainless.decryption_verification
- modernKeyRing(String, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Generate a modern PGP key ring consisting of an ed25519 EdDSA primary key which is used to certify an X25519 XDH encryption subkey and an ed25519 EdDSA signing key.
- modicationDate - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- MODIFICATION_DETECTION - org.pgpainless.algorithm.Feature
-
Add modification detection package.
- ModificationDetectionException - Exception in org.pgpainless.exception
-
Exception that gets thrown when the verification of a modification detection code failed.
- ModificationDetectionException() - Constructor for exception org.pgpainless.exception.ModificationDetectionException
- modifyKeyRing(PGPSecretKeyRing) - Static method in class org.pgpainless.PGPainless
-
Make changes to a key ring.
- 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
- MultiPassStrategy - Interface in org.pgpainless.signature.cleartext_signatures
-
Interface that describes a strategy to deal with the fact that detached signatures require multiple passes to do verification.
N
- nameAndEmail(String, String) - Static method in class org.pgpainless.key.util.UserId
- negotiate(Policy.SymmetricKeyAlgorithmPolicy, SymmetricKeyAlgorithm, List<Set<SymmetricKeyAlgorithm>>) - Method in interface org.pgpainless.algorithm.negotiation.SymmetricKeyAlgorithmNegotiator
-
Negotiate a symmetric encryption algorithm.
- negotiateCompressionAlgorithm(ProducerOptions) - Static method in class org.pgpainless.encryption_signing.EncryptionBuilder
- negotiateSymmetricEncryptionAlgorithm(EncryptionOptions) - Static method in class org.pgpainless.encryption_signing.EncryptionBuilder
-
Negotiate the
SymmetricKeyAlgorithmused for message encryption. - NEW_TO_OLD - org.pgpainless.signature.SignatureCreationDateComparator.Order
-
Newest signatures first.
- newBuilder() - Static method in class org.pgpainless.key.util.UserId
- 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.Builder
- noEmail() - Method in class org.pgpainless.key.util.UserId.Builder
- noEncryptionNoSigning() - Static method in class org.pgpainless.encryption_signing.ProducerOptions
- noName() - Method in class org.pgpainless.key.util.UserId.Builder
- NonEmptyList<E> - Class in org.pgpainless.util
-
Utility class of an immutable list which cannot be empty.
- NonEmptyList(E) - Constructor for class org.pgpainless.util.NonEmptyList
-
Create a singleton list from the given element.
- NonEmptyList(List<E>) - Constructor for class org.pgpainless.util.NonEmptyList
-
Create a non-empty list from the given list of elements.
- NoRevocation - Class in org.pgpainless.util.selection.key.impl
-
Key Selection Strategies that do accept only keys, which have no revocation.
- NoRevocation() - Constructor for class org.pgpainless.util.selection.key.impl.NoRevocation
- NoRevocation.PubKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
-
Key Selection Strategy which only accepts
PGPPublicKeys which have no revocation. - NoRevocation.SecKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
-
Key Selection Strategy which only accepts
PGPSecretKeys which have no revocation. - not(SelectUserId) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- notationData - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket describes a "notation" on the signature that the issuer wishes to make.
- NotationRegistry - Class in org.pgpainless.util
-
Registry for known notations.
- NotationRegistry() - Constructor for class org.pgpainless.util.NotationRegistry
- NULL - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Plaintext or unencrypted data.
O
- OLD_TO_NEW - org.pgpainless.signature.SignatureCreationDateComparator.Order
-
Oldest signatures first.
- OnePassSignature - Class in org.pgpainless.signature
-
Tuple-class that bundles together a
PGPOnePassSignatureobject, aPGPPublicKeyRingdestined to verify the signature, thePGPSignatureitself and a record of whether or not the signature was verified. - OnePassSignature(PGPOnePassSignature, PGPPublicKeyRing) - Constructor for class org.pgpainless.signature.OnePassSignature
-
Create a new
OnePassSignature. - onInputStream(InputStream) - Method in class org.pgpainless.decryption_verification.DecryptionBuilder
- onInputStream(InputStream) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface
-
Create a
DecryptionStreamon anInputStreamwhich contains the encrypted and/or signed data. - onInputStream(InputStream) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures
-
Provide the
InputStreamwhich contains the cleartext-signed message. - onInputStream(InputStream) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl
- 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 made by a key which was not provided for signature verification.
- onOutputStream(OutputStream) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Create a
EncryptionStreamon anOutputStreamthat contains the plain data that shall be encrypted and or signed. - onOutputStream(OutputStream, boolean) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Deprecated.
- onOutputStream(OutputStream, String, boolean) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Deprecated.
- onOutputStream(OutputStream, OpenPgpMetadata.FileInfo) - Method in class org.pgpainless.encryption_signing.EncryptionBuilder
- onOutputStream(OutputStream, OpenPgpMetadata.FileInfo) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Create an
EncryptionStreamon anOutputStreamthat contains the plain data which 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, List<OnePassSignature>, List<DetachedSignature>, OpenPgpMetadata.FileInfo) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata
- OpenPgpMetadata.Builder - Class in org.pgpainless.decryption_verification
- OpenPgpMetadata.FileInfo - 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(PGPKeyRing) - Constructor for class org.pgpainless.key.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(SelectUserId...) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- Or - Class in org.pgpainless.util.selection.key.impl
- Or() - Constructor for class org.pgpainless.util.selection.key.impl.Or
- Or.PubKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
- Or.SecKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
- 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.algorithm.negotiation - package org.pgpainless.algorithm.negotiation
-
Classes related to algorithm negotiation.
- 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.util - package org.pgpainless.key.util
-
Utility functions to deal with OpenPGP keys.
- org.pgpainless.policy - package org.pgpainless.policy
-
Policy regarding used algorithms.
- org.pgpainless.provider - package org.pgpainless.provider
-
Classes that allow setting a custom implementation of
Provider. - org.pgpainless.signature - package org.pgpainless.signature
-
Classes related to OpenPGP signatures.
- org.pgpainless.signature.cleartext_signatures - package org.pgpainless.signature.cleartext_signatures
-
Classes related to cleartext signature verification.
- org.pgpainless.signature.subpackets - package org.pgpainless.signature.subpackets
-
Classes related to OpenPGP signatures.
- org.pgpainless.util - package org.pgpainless.util
-
Utility classes.
- org.pgpainless.util.selection.key - package org.pgpainless.util.selection.key
-
Different Key Selection Strategies.
- org.pgpainless.util.selection.key.impl - package org.pgpainless.util.selection.key.impl
-
Implementations of Key Selection Strategies.
- org.pgpainless.util.selection.keyring - package org.pgpainless.util.selection.keyring
-
Different Key Ring Selection Strategies.
- org.pgpainless.util.selection.keyring.impl - package org.pgpainless.util.selection.keyring.impl
-
Implementations of Key Ring Selection Strategies.
- org.pgpainless.util.selection.userid - package org.pgpainless.util.selection.userid
-
UserID selection strategies.
- overrideCompressionAlgorithm(CompressionAlgorithm) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Override which compression algorithm shall be used.
- overrideEncryptionAlgorithm(SymmetricKeyAlgorithm) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Override the used symmetric encryption algorithm.
- overrideHashAlgorithm(HashAlgorithm) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Override hash algorithm negotiation by dictating which hash algorithm needs to be used.
P
- parseKeyFlags(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return a list of key flags carried by the signature.
- parsePreferredCompressionAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- parsePreferredHashAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- parsePreferredSymmetricKeyAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- partialUserId - Variable in class org.pgpainless.util.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- PartialUserId - Class in org.pgpainless.util.selection.keyring.impl
- PartialUserId() - Constructor for class org.pgpainless.util.selection.keyring.impl.PartialUserId
- PartialUserId.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- PartialUserId.SecRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- Passphrase - Class in org.pgpainless.util
- Passphrase(char[]) - Constructor for class org.pgpainless.util.Passphrase
-
Passphrase for keys etc.
- passphraseProvider - Variable in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- PasswordBasedSecretKeyRingProtector - Class in org.pgpainless.key.protection
-
Provides
PBESecretKeyDecryptorandPBESecretKeyEncryptorobjects while getting the passphrases from aSecretKeyPassphraseProviderand 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
- PGPKeyRingCollection - Class in org.pgpainless.key.collection
-
This class describes a logic of handling a collection of different
PGPKeyRing. - PGPKeyRingCollection(byte[], KeyFingerPrintCalculator, boolean) - Constructor for class org.pgpainless.key.collection.PGPKeyRingCollection
- PGPKeyRingCollection(InputStream, KeyFingerPrintCalculator, boolean) - Constructor for class org.pgpainless.key.collection.PGPKeyRingCollection
-
Build a
PGPKeyRingCollectionfrom the passed in input stream. - PGPKeyRingCollection(Collection<PGPKeyRing>, boolean) - Constructor for class org.pgpainless.key.collection.PGPKeyRingCollection
- pickCurrentDirectKeySelfSignature(PGPKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate most recent, valid direct key signature.
- pickCurrentDirectKeySignature(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate, latest, valid direct key signature made by signingKey on signedKey.
- pickCurrentRevocationSelfSignature(PGPKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validation date most recent valid key revocation signature.
- pickCurrentSubkeyBindingRevocationSignature(PGPKeyRing, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate most recent, valid subkey revocation signature.
- pickCurrentSubkeyBindingSignature(PGPKeyRing, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate latest, valid subkey binding signature for the given subkey.
- pickCurrentUserIdCertificationSignature(PGPKeyRing, String, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate latest, valid certification self-signature for the given user-id.
- pickCurrentUserIdRevocationSignature(PGPKeyRing, String, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate most recent, valid user-id revocation signature.
- pickLatestDirectKeySignature(PGPKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate, latest direct key signature.
- pickLatestDirectKeySignature(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate, latest direct key signature made by signingKey on signedKey.
- pickLatestSubkeyBindingSignature(PGPKeyRing, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate latest subkey binding signature for the given subkey.
- pickLatestUserIdCertificationSignature(PGPKeyRing, String, Policy, Date) - Static method in class org.pgpainless.signature.SignaturePicker
-
Pick the, at validationDate latest certification self-signature for the given user-id.
- placeholder - org.pgpainless.algorithm.SignatureSubpacket
-
Placeholder for backwards compatibility.
- Policy - Class in org.pgpainless.policy
-
Policy class used to configure acceptable algorithm suites etc.
- Policy.CompressionAlgorithmPolicy - Class in org.pgpainless.policy
- Policy.HashAlgorithmPolicy - Class in org.pgpainless.policy
- Policy.SymmetricKeyAlgorithmPolicy - Class in org.pgpainless.policy
- policyUrl - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket contains a URI of a document that describes the policy under which the signature was issued.
- POSITIVE_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Positive certification of a User ID and Public-Key packet.
- preferredAEADAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
AEAD algorithm numbers that indicate which AEAD algorithms the key holder prefers to use.
- preferredCompressionAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Compression algorithm numbers that indicate which algorithms the key holder prefers to use.
- preferredHashAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Message digest algorithm numbers that indicate which algorithms the key holder prefers to receive.
- preferredKeyServers - org.pgpainless.algorithm.SignatureSubpacket
-
This is a URI of a key server that the key holder prefers be used for updates.
- preferredSymmetricAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Symmetric algorithm numbers that indicate which algorithms the key holder prefers to use.
- prettyPrint() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- 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.
- primaryUserId - org.pgpainless.algorithm.SignatureSubpacket
-
This is a flag in a User ID's self-signature that states whether this User ID is the main User ID for this key.
- process() - Method in class org.pgpainless.signature.cleartext_signatures.CleartextSignatureProcessor
-
Unpack the message from the ascii armor and process the signature.
- ProducerOptions - Class in org.pgpainless.encryption_signing
- protectionSettings - Variable in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- provideImplementationFactories() - Static method in class org.pgpainless.util.TestUtil
- ProviderFactory - Class in org.pgpainless.provider
- ProviderFactory() - Constructor for class org.pgpainless.provider.ProviderFactory
- PubkeySelectionStrategy(PGPPublicKey) - Constructor for class org.pgpainless.util.selection.key.impl.KeyBelongsToKeyRing.PubkeySelectionStrategy
- PubKeySelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.impl.NoRevocation.PubKeySelectionStrategy
- PubKeySelectionStrategy(PublicKeySelectionStrategy...) - Constructor for class org.pgpainless.util.selection.key.impl.And.PubKeySelectionStrategy
- PubKeySelectionStrategy(PublicKeySelectionStrategy...) - Constructor for class org.pgpainless.util.selection.key.impl.Or.PubKeySelectionStrategy
- PublicKey(int) - Constructor for class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- PublicKey(int) - Constructor for class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- PublicKey(KeyFlag...) - Constructor for class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.PublicKey
- PublicKey(KeyFlag...) - Constructor for class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.PublicKey
- PublicKeyAlgorithm - Enum in org.pgpainless.algorithm
-
Enumeration of public key algorithms as defined in RFC4880.
- 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
PGPPublicKeyRingcontaining all public keys from the providedPGPSecretKeyRing. - PublicKeyRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring
- PublicKeyRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy
- PublicKeySelectionStrategy - Class in org.pgpainless.util.selection.key
-
Key Selection Strategy which accepts
PGPPublicKeys that are accepted by the abstract methodKeySelectionStrategy.accept(Object). - PublicKeySelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.PublicKeySelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.ExactUserId.PubRingSelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.Wildcard.PubRingSelectionStrategy
- PubRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.XMPP.PubRingSelectionStrategy
- PubRingSelectionStrategy(String) - Constructor for class org.pgpainless.util.selection.keyring.impl.Email.PubRingSelectionStrategy
- PubRingSelectionStrategy(String) - Constructor for class org.pgpainless.util.selection.keyring.impl.PartialUserId.PubRingSelectionStrategy
- PubRingSelectionStrategy(Map<O, Set<Long>>) - Constructor for class org.pgpainless.util.selection.keyring.impl.Whitelist.PubRingSelectionStrategy
- PubRingSelectionStrategy(MultiMap<O, Long>) - Constructor for class org.pgpainless.util.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() - Method in class org.pgpainless.util.IntegrityProtectedInputStream
- 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.
- readKeyRingCollection(InputStream, boolean) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- 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
- readSignatures(String) - Static method in class org.pgpainless.signature.SignatureUtils
-
Parse an ASCII encoded list of OpenPGP signatures into a
PGPSignatureList. - regularExpression - org.pgpainless.algorithm.SignatureSubpacket
-
Used in conjunction with trust Signature packets (of level greater 0) to limit the scope of trust that is extended.
- remove(K, V) - Method in class org.pgpainless.util.MultiMap
- removeAll(K) - Method in class org.pgpainless.util.MultiMap
- removeAllPacketsOfType(int, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Remove all packets of the given type from the
PGPSignatureSubpacketGeneratorsinternal set. - removeAllPacketsOfType(SignatureSubpacket, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Remove all packets of the given type from the
PGPSignatureSubpacketGeneratorsinternal set. - removeUnassociatedKeysFromKeyRing(PGPSecretKeyRing, PGPPublicKey) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
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
PGPPublicKeyfrom the provided key ring. - requirePrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKeyfrom the providedPGPSecretKeyRing. - requirePublicKeyFrom(PGPKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
- requireSecretKeyFrom(PGPSecretKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
- reset() - Method in class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- revocable - org.pgpainless.algorithm.SignatureSubpacket
-
Signature's revocability status.
- 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
- revocationKey - org.pgpainless.algorithm.SignatureSubpacket
-
Authorizes the specified key to issue revocation signatures for this key.
- revocationReason - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket is used only in key revocation and certification revocation signatures.
- 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 using the provided revocation attributes.
- 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.
- revokeUserId(String, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the given userID.
- revokeUserId(String, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeUserId(String, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the given userID using the provided revocation attributes.
- 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
-
Reserved in RFC4880.
- SCHEME - Static variable in class org.pgpainless.key.OpenPgpV4Fingerprint
- SecKeySelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.impl.NoRevocation.SecKeySelectionStrategy
- SecKeySelectionStrategy(SecretKeySelectionStrategy...) - Constructor for class org.pgpainless.util.selection.key.impl.And.SecKeySelectionStrategy
- SecKeySelectionStrategy(SecretKeySelectionStrategy...) - Constructor for class org.pgpainless.util.selection.key.impl.Or.SecKeySelectionStrategy
- SecretKey(int) - Constructor for class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- SecretKey(int) - Constructor for class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- SecretKey(KeyFlag...) - Constructor for class org.pgpainless.util.selection.key.impl.HasAllKeyFlagSelectionStrategy.SecretKey
- SecretKey(KeyFlag...) - Constructor for class org.pgpainless.util.selection.key.impl.HasAnyKeyFlagSelectionStrategy.SecretKey
- SecretKeyPassphraseProvider - Interface in org.pgpainless.key.protection.passphrase_provider
-
Interface to allow the user to provide a
Passphrasefor 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
-
Interface that is used to provide secret key ring encryptors and decryptors.
- SecretKeyRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring
- SecretKeyRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
- SecretKeySelectionStrategy - Class in org.pgpainless.util.selection.key
-
Key Selection Strategy which accepts
PGPSecretKeys that are accepted by the abstract methodKeySelectionStrategy.accept(Object). - SecretKeySelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.SecretKeySelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.Wildcard.SecRingSelectionStrategy
- SecRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.impl.XMPP.SecRingSelectionStrategy
- SecRingSelectionStrategy(String) - Constructor for class org.pgpainless.util.selection.keyring.impl.Email.SecRingSelectionStrategy
- SecRingSelectionStrategy(String) - Constructor for class org.pgpainless.util.selection.keyring.impl.PartialUserId.SecRingSelectionStrategy
- SecRingSelectionStrategy(Map<O, Set<Long>>) - Constructor for class org.pgpainless.util.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- SecRingSelectionStrategy(MultiMap<O, Long>) - Constructor for class org.pgpainless.util.selection.keyring.impl.Whitelist.SecRingSelectionStrategy
- secureDefaultSettings() - Static method in class org.pgpainless.key.protection.KeyRingProtectionSettings
- selectEncryptionSubkeys(List<PGPPublicKey>) - Method in interface org.pgpainless.encryption_signing.EncryptionOptions.EncryptionKeySelector
- selectKeyRingsFromCollection(O, C) - Method in interface org.pgpainless.util.selection.keyring.KeyRingSelectionStrategy
- selectKeyRingsFromCollection(O, PGPPublicKeyRingCollection) - Method in class org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy
- selectKeyRingsFromCollection(O, PGPSecretKeyRingCollection) - Method in class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, C>) - Method in interface org.pgpainless.util.selection.keyring.KeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, PGPPublicKeyRingCollection>) - Method in class org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy
- selectKeyRingsFromCollections(MultiMap<O, PGPSecretKeyRingCollection>) - Method in class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
- selectKeysFromKeyRing(PGPPublicKeyRing) - Method in class org.pgpainless.util.selection.key.PublicKeySelectionStrategy
- selectKeysFromKeyRing(PGPSecretKeyRing) - Method in class org.pgpainless.util.selection.key.SecretKeySelectionStrategy
- selectKeysFromKeyRing(R) - Method in interface org.pgpainless.util.selection.key.KeySelectionStrategy
- SelectUserId - Class in org.pgpainless.util.selection.userid
- SelectUserId() - Constructor for class org.pgpainless.util.selection.userid.SelectUserId
- selectUserIds(List<String>) - Method in class org.pgpainless.util.selection.userid.SelectUserId
- selectUserIds(PGPKeyRing) - Method in class org.pgpainless.util.selection.userid.SelectUserId
- setAsciiArmor(boolean) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Specify, whether or not the result of the encryption/signing operation shall be ascii armored.
- setCompressionAlgorithm(CompressionAlgorithm) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setCompressionAlgorithm(CompressionAlgorithm) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setCompressionAlgorithmPolicy(Policy.CompressionAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
- setCompressionAlgorithms(List<CompressionAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setDecryptionFingerprint(OpenPgpV4Fingerprint) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setEncryptionAlgorithm(SymmetricKeyAlgorithm) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setExpirationDate(Date) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface.WithAdditionalUserIdOrPassphrase
-
Set an expiration date for the key.
- setExpirationDate(Date, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- setExpirationDate(Date, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Set the expiration date for the primary key of the key ring.
- 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.
- setExpirationDateInSubpacketGenerator(Date, Date, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Replace all occurrences of key expiration time subpackets in the subpacket generator with a single instance representing the new expiration time.
- setFactory(ProviderFactory) - Static method in class org.pgpainless.provider.ProviderFactory
- setFactoryImplementation(ImplementationFactory) - Static method in class org.pgpainless.implementation.ImplementationFactory
- setFileInfo(OpenPgpMetadata.FileInfo) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setFileInfo(OpenPgpMetadata.FileInfo) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setHashAlgorithms(List<HashAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setRevocationSignatureHashAlgorithmPolicy(Policy.HashAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom hash algorithm policy for revocations.
- setSignatureCreationTimeInSubpacketGenerator(Date, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Replace all occurrences of a signature creation time subpackets in the subpacket generator with a single new instance representing the provided date.
- setSignatureHashAlgorithmPolicy(Policy.HashAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom hash algorithm policy for signatures.
- setSymmetricKeyAlgorithm(SymmetricKeyAlgorithm) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setSymmetricKeyAlgorithms(List<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setSymmetricKeyDecryptionAlgorithmPolicy(Policy.SymmetricKeyAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom symmetric encryption algorithm policy for decrypting messages.
- setSymmetricKeyEncryptionAlgorithmPolicy(Policy.SymmetricKeyAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom symmetric encryption algorithm policy for encrypting messages.
- setVerified(boolean) - Method in class org.pgpainless.signature.DetachedSignature
-
Mark this
DetachedSignatureas verified. - 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
-
The private component of this key may be in the possession of more than one person.
- sign(SigningOptions) - Static method in class org.pgpainless.encryption_signing.ProducerOptions
-
Sign some data without encryption.
- SIGN_DATA - org.pgpainless.algorithm.KeyFlag
-
This key may be used to sign data.
- signAndEncrypt(EncryptionOptions, SigningOptions) - Static method in class org.pgpainless.encryption_signing.ProducerOptions
-
Sign and encrypt some data.
- signature - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- Signature(PGPSignature, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata.Signature
- SignatureChainValidator - Class in org.pgpainless.signature
-
This class implements validity checks on OpenPGP signatures.
- SignatureChainValidator() - Constructor for class org.pgpainless.signature.SignatureChainValidator
- SignatureCreationDateComparator - Class in org.pgpainless.signature
-
Comparator which can be used to sort signatures with regard to their creation time.
- SignatureCreationDateComparator() - Constructor for class org.pgpainless.signature.SignatureCreationDateComparator
-
Create a new comparator which sorts signatures old to new.
- SignatureCreationDateComparator(SignatureCreationDateComparator.Order) - Constructor for class org.pgpainless.signature.SignatureCreationDateComparator
-
Create a new comparator which sorts signatures according to the passed ordering.
- SignatureCreationDateComparator.Order - Enum in org.pgpainless.signature
- signatureCreationTime - org.pgpainless.algorithm.SignatureSubpacket
-
The time the signature was made.
- signatureDoesNotHaveCriticalUnknownNotations(NotationRegistry) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureDoesNotHaveCriticalUnknownSubpackets() - Static method in class org.pgpainless.signature.SignatureValidator
- signatureDoesNotPredateSigningKey(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureDoesNotPredateSigningKeyBindingDate(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureExpirationTime - org.pgpainless.algorithm.SignatureSubpacket
-
The validity period of the signature.
- signatureHasHashedCreationTime() - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsAlreadyEffective(Date) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsCertification() - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsEffective(Date) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsNotMalformed(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsNotYetExpired(Date) - Static method in class org.pgpainless.signature.SignatureValidator
- signatureIsOfType(SignatureType...) - Static method in class org.pgpainless.signature.SignatureValidator
- SignatureKeySelectionStrategy - Class in org.pgpainless.util.selection.key.impl
-
Key Selection Strategy that only accepts
PGPSecretKeys which are capable of signing. - SignatureKeySelectionStrategy() - Constructor for class org.pgpainless.util.selection.key.impl.SignatureKeySelectionStrategy
- SignaturePicker - Class in org.pgpainless.signature
-
Pick signatures from keys.
- SignaturePicker() - Constructor for class org.pgpainless.signature.SignaturePicker
- Signatures(PGPKeyRing, Date, Policy) - Constructor for class org.pgpainless.key.info.KeyRingInfo.Signatures
- signatureStructureIsAcceptable(PGPPublicKey, Policy) - Static method in class org.pgpainless.signature.SignatureValidator
- SignatureSubpacket - Enum in org.pgpainless.algorithm
-
Enumeration of possible subpackets that might be found in the hashed and unhashed area of an OpenPGP signature.
- SignatureSubpacketGeneratorUtil - Class in org.pgpainless.signature.subpackets
-
Utility class that helps dealing with BCs SignatureSubpacketGenerator class.
- SignatureSubpacketGeneratorUtil() - Constructor for class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
- SignatureSubpacketsUtil - Class in org.pgpainless.signature.subpackets
-
Utility class to access signature subpackets from signatures.
- SignatureSubpacketsUtil() - Constructor for class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- signatureTarget - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket identifies a specific target signature to which a signature refers.
- SignatureType - Enum in org.pgpainless.algorithm
-
Enum that enlists all the Signature Types defined in rfc4880 section 5.2.1 See
PGPSignaturefor comparison. - SignatureUtils - Class in org.pgpainless.signature
-
Utility methods related to signatures.
- SignatureUtils() - Constructor for class org.pgpainless.signature.SignatureUtils
- SignatureValidationException - Exception in org.pgpainless.exception
- SignatureValidationException(String) - Constructor for exception org.pgpainless.exception.SignatureValidationException
- SignatureValidationException(String, Exception) - Constructor for exception org.pgpainless.exception.SignatureValidationException
- SignatureValidationException(String, Map<PGPSignature, Exception>) - Constructor for exception org.pgpainless.exception.SignatureValidationException
- SignatureValidator - Class in org.pgpainless.signature
- SignatureValidator() - Constructor for class org.pgpainless.signature.SignatureValidator
- SignatureValidityComparator - Class in org.pgpainless.signature
-
Comparator which sorts signatures based on an ordering and on revocation hardness.
- SignatureValidityComparator() - Constructor for class org.pgpainless.signature.SignatureValidityComparator
-
Create a new
SignatureValidityComparatorwhich orders signatures oldest first. - SignatureValidityComparator(SignatureCreationDateComparator.Order) - Constructor for class org.pgpainless.signature.SignatureValidityComparator
-
Create a new
SignatureValidityComparatorwhich orders signatures following the passed ordering. - SignatureVerifyingInputStream - Class in org.pgpainless.decryption_verification
- SignatureVerifyingInputStream(InputStream, PGPObjectFactory, Map<OpenPgpV4Fingerprint, OnePassSignature>, OpenPgpMetadata.Builder) - Constructor for class org.pgpainless.decryption_verification.SignatureVerifyingInputStream
- signDetachedWith(SecretKeyRingProtector, PGPSecretKeyRing) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create a detached signature using the provided secret key.
- signDetachedWith(SecretKeyRingProtector, PGPSecretKeyRing, String) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create a detached signature using the provided secret key with the algorithm preferences of the provided user-id.
- signDetachedWith(SecretKeyRingProtector, PGPSecretKeyRing, String, DocumentSignatureType) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create a detached signature using the provided secret key with the algorithm preferences of the provided user-id.
- signerUserId - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket allows a keyholder to state which User ID is responsible for the signing.
- SigningOptions - Class in org.pgpainless.encryption_signing
- SigningOptions() - Constructor for class org.pgpainless.encryption_signing.SigningOptions
- SigningOptions.SigningMethod - Class in org.pgpainless.encryption_signing
-
A method of signing.
- signInlineWith(SecretKeyRingProtector, PGPSecretKeyRing) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create an inline signature using the provided secret key.
- signInlineWith(SecretKeyRingProtector, PGPSecretKeyRing, String) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create an inline signature using the provided secret key.
- signInlineWith(SecretKeyRingProtector, PGPSecretKeyRing, String, DocumentSignatureType) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Create an inline signature using the provided secret key with the algorithm preferences of the provided user-id.
- signWith(SecretKeyRingProtector, PGPSecretKeyRing...) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Deprecated.
- signWith(SecretKeyRingProtector, PGPSecretKeyRingCollection) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.SignWith
-
Deprecated.
- simpleEcKeyRing(String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
- simpleEcKeyRing(String, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a X25519 XDH subkey.
- simpleEcKeyRing(UserId) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
- simpleEcKeyRing(UserId, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
- simpleRsaKeyRing(String, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple, unencrypted RSA KeyPair of length
lengthwith user-iduserId. - simpleRsaKeyRing(String, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple RSA KeyPair of length
lengthwith user-iduserId. - simpleRsaKeyRing(UserId, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple, unencrypted RSA KeyPair of length
lengthwith user-iduserId. - simpleRsaKeyRing(UserId, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple RSA KeyPair of length
lengthwith user-iduserId. - size() - Method in class org.pgpainless.key.collection.PGPKeyRingCollection
-
Return the number of rings in this collection.
- 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
SecretKeyPassphraseProviderthat holds a singlePassphrase. - SolitaryPassphraseProvider(Passphrase) - Constructor for class org.pgpainless.key.protection.passphrase_provider.SolitaryPassphraseProvider
- SPLIT - org.pgpainless.algorithm.KeyFlag
-
The private component of this key may have been split by a secret-sharing mechanism.
- STANDALONE - org.pgpainless.algorithm.SignatureType
-
Standalone signature.
- startsWith(String) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- STORAGE - org.pgpainless.algorithm.EncryptionPurpose
-
The stream will encrypt data that is stored on disk.
- STORAGE_AND_COMMUNICATIONS - org.pgpainless.algorithm.EncryptionPurpose
-
The stream will use keys with either flags to encrypt the data.
- streamEncoding - Variable in class org.pgpainless.decryption_verification.OpenPgpMetadata.FileInfo
- StreamEncoding - Enum in org.pgpainless.algorithm
-
Enumeration of possible encoding formats of the content of the literal data packet.
- 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.
- SubkeyIdentifier - Class in org.pgpainless.key
-
Tuple class used to identify a subkey by fingerprints of the primary key of the subkeys key ring, as well as the subkeys fingerprint.
- SubkeyIdentifier(PGPKeyRing, long) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifierfrom aPGPKeyRingand the subkeys key id. - SubkeyIdentifier(OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifierthat identifies the primary key with the given fingerprint. - SubkeyIdentifier(OpenPgpV4Fingerprint, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifierwhich points to the subkey with the given subkeyFingerprint, which has a primary key with the given primaryKeyFingerprint. - subSequence(int, int) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- subSequence(int, int) - Method in class org.pgpainless.key.util.UserId
- SymmetricKeyAlgorithm - Enum in org.pgpainless.algorithm
-
Enumeration of possible symmetric encryption algorithms.
- SymmetricKeyAlgorithmNegotiator - Interface in org.pgpainless.algorithm.negotiation
-
Interface for symmetric key algorithm negotiation.
- SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm, List<SymmetricKeyAlgorithm>) - Constructor for class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
T
- TestUtil - Class in org.pgpainless.util
-
Utility class used to provide all available implementations of
ImplementationFactoryfor parametrized tests. - TestUtil() - Constructor for class org.pgpainless.util.TestUtil
- TEXT - org.pgpainless.algorithm.StreamEncoding
-
The Literal packet contains text data, and thus may need line ends converted to local form, or other text-mode changes.
- THIRD_PARTY_CONFIRMATION - org.pgpainless.algorithm.SignatureType
-
Third-Party Confirmation signature.
- TIMESTAMP - org.pgpainless.algorithm.SignatureType
-
Timestamp signature.
- toAsciiArmoredString(byte[]) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(byte[], MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(InputStream) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(InputStream, MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPPublicKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPPublicKeyRingCollection) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPSecretKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredString(PGPSecretKeyRingCollection) - Static method in class org.pgpainless.util.ArmorUtils
- toBitmask(KeyFlag...) - Static method in enum org.pgpainless.algorithm.KeyFlag
-
Encode a list of
KeyFlagsinto a bitmask. - toBuilder() - Method in class org.pgpainless.key.util.UserId
- 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.
- toRecipient(PGPPublicKeyRing) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Encrypt for the given valid public key.
- toRecipient(PGPPublicKeyRingCollection, String) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Encrypt for the first valid key in the provided keys collection which has a valid user-id that matches the provided userId.
- toRecipient(PGPPublicKeyRing, String) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Encrypt for the given valid key using the provided user-id signature to determine preferences.
- toRecipients(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
-
Encrypt for all valid public keys in the provided collection.
- toString() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- toString() - Method in class org.pgpainless.key.SubkeyIdentifier
- 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
-
TripleDES (DES-EDE - 168 bit key derived from 192).
- trustSignature - org.pgpainless.algorithm.SignatureSubpacket
-
Signer asserts that the key is not only valid but also trustworthy at the specified level.
- TWOFISH - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Twofish with 256-bit key.
U
- UnacceptableAlgorithmException - Exception in org.pgpainless.exception
-
Exception that gets thrown if unacceptable algorithms are encountered.
- UnacceptableAlgorithmException(String) - Constructor for exception org.pgpainless.exception.UnacceptableAlgorithmException
- UNCOMPRESSED - org.pgpainless.algorithm.CompressionAlgorithm
- unlockAllKeysWith(Passphrase, PGPSecretKeyRing) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Use the provided passphrase to lock/unlock all subkeys in the provided key ring.
- unlockSecretKey(PGPSecretKey, PBESecretKeyDecryptor) - Static method in class org.pgpainless.key.protection.UnlockSecretKey
- unlockSecretKey(PGPSecretKey, SecretKeyRingProtector) - Static method in class org.pgpainless.key.protection.UnlockSecretKey
- unlockSecretKey(PGPSecretKey, SecretKeyRingProtector) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Unlock a
PGPSecretKeyand return the resultingPGPPrivateKey. - unlockSecretKey(PGPSecretKey, Passphrase) - Static method in class org.pgpainless.key.protection.UnlockSecretKey
- UnlockSecretKey - Class in org.pgpainless.key.protection
- UnlockSecretKey() - Constructor for class org.pgpainless.key.protection.UnlockSecretKey
- unlockSingleKeyWith(Passphrase, PGPSecretKey) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Use the provided passphrase to lock/unlock only the provided (sub-)key.
- unprotectedKeys() - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Protector for unprotected keys.
- UnprotectedKeysProtector - Class in org.pgpainless.key.protection
-
Implementation of the
SecretKeyRingProtectorwhich 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.Builder - Class in org.pgpainless.key.util
- UTF8 - org.pgpainless.algorithm.StreamEncoding
-
Indication that the implementation believes that the literal data contains UTF-8 text.
- UTF8 - Static variable in class org.pgpainless.key.parsing.KeyRingReader
V
- validate(R, Policy) - Static method in class org.pgpainless.key.KeyRingValidator
- validate(R, Policy, Date) - Static method in class org.pgpainless.key.KeyRingValidator
- validateSignature(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.SignatureChainValidator
-
Validate the signing key and the given initialized signature.
- validateSignatureChain(PGPSignature, InputStream, PGPPublicKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.SignatureChainValidator
-
Validate the given signing key and then verify the given signature while parsing out the signed data.
- validateSigningKey(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.SignatureChainValidator
-
Check if the signing key was eligible to create the provided signature.
- validUserId(PGPKeyRing) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- valueOf(int) - Static method in enum org.pgpainless.algorithm.SignatureType
-
Convert a numerical id into a
SignatureType. - 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.DocumentSignatureType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.EncryptionPurpose
-
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.SignatureSubpacket
-
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.StreamEncoding
-
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.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.XDHSpec
-
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.
- valueOf(String) - Static method in enum org.pgpainless.signature.SignatureCreationDateComparator.Order
-
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.DocumentSignatureType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.EncryptionPurpose
-
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.SignatureSubpacket
-
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.StreamEncoding
-
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.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.XDHSpec
-
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() - Static method in enum org.pgpainless.signature.SignatureCreationDateComparator.Order
-
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.signature.OnePassSignature
-
Verify the one-pass signature.
- verify(PGPSignature) - Method in class org.pgpainless.signature.SignatureValidator
- VerifyCleartextSignatures - Interface in org.pgpainless.signature.cleartext_signatures
- VerifyCleartextSignatures.VerifyWith - Interface in org.pgpainless.signature.cleartext_signatures
- VerifyCleartextSignatures.WithStrategy - Interface in org.pgpainless.signature.cleartext_signatures
- VerifyCleartextSignaturesImpl - Class in org.pgpainless.signature.cleartext_signatures
- VerifyCleartextSignaturesImpl() - Constructor for class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl
- VerifyCleartextSignaturesImpl.VerifyWithImpl - Class in org.pgpainless.signature.cleartext_signatures
- VerifyCleartextSignaturesImpl.WithStrategyImpl - Class in org.pgpainless.signature.cleartext_signatures
- verifyCleartextSignedMessage() - Static method in class org.pgpainless.PGPainless
-
Verify a cleartext-signed message.
- 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.
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyInitializedSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyKeyRevocationSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifySubkeyBindingRevocation(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifySubkeyBindingSignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUninitializedSignature(PGPSignature, InputStream, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserAttributesCertification(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserAttributesCertification(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserAttributesRevocation(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserAttributesRevocation(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- 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(PGPPublicKeyRing) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.VerifyWith
-
Pass in the verification key ring.
- verifyWith(PGPPublicKeyRing) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- 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(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.VerifyWith
-
Pass in the verification key ring collection.
- verifyWith(PGPPublicKeyRingCollection) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- 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.
- VerifyWithImpl() - Constructor for class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- VERSION - Static variable in class org.pgpainless.util.ArmoredOutputStreamFactory
- ViaKeyId(KeyRingInfo, SubkeyIdentifier) - Constructor for class org.pgpainless.key.info.KeyAccessor.ViaKeyId
-
Address the key via key-id.
- ViaUserId(KeyRingInfo, SubkeyIdentifier, String) - Constructor for class org.pgpainless.key.info.KeyAccessor.ViaUserId
-
Access a key via user-id.
W
- Whitelist - Class in org.pgpainless.util.selection.keyring.impl
- Whitelist() - Constructor for class org.pgpainless.util.selection.keyring.impl.Whitelist
- Whitelist.PubRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
- Whitelist.SecRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
- Wildcard - Class in org.pgpainless.util.selection.keyring.impl
- Wildcard() - Constructor for class org.pgpainless.util.selection.keyring.impl.Wildcard
- Wildcard.PubRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
- Wildcard.SecRingSelectionStrategy<O> - Class in org.pgpainless.util.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.Builder
- 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.Builder
- 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
- withName(String) - Method in class org.pgpainless.key.util.UserId.Builder
- withOptions(ProducerOptions) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipientsOrNoEncryption
-
Create an
EncryptionStreamwith the given options (recipients, signers, algorithms...). - 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
- withPrimaryKey(KeySpec) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- withPrimaryKey(KeySpec) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- 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.
- withStrategy(MultiPassStrategy) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.WithStrategy
-
Provide a
MultiPassStrategywhich is used to store the message content. - withStrategy(MultiPassStrategy) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.WithStrategyImpl
- WithStrategyImpl() - Constructor for class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.WithStrategyImpl
- 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
- writeMessageToFile(File) - Static method in interface org.pgpainless.signature.cleartext_signatures.MultiPassStrategy
-
Write the message content out to a file and re-read it to verify signatures.
- WriteToFileMultiPassStrategy - Class in org.pgpainless.signature.cleartext_signatures
-
File-based multi-pass strategy.
- WriteToFileMultiPassStrategy(File) - Constructor for class org.pgpainless.signature.cleartext_signatures.WriteToFileMultiPassStrategy
-
Create a
MultiPassStrategywhich writes data to a file. - WrongPassphraseException - Exception in org.pgpainless.exception
- WrongPassphraseException(long, PGPException) - Constructor for exception org.pgpainless.exception.WrongPassphraseException
- WrongPassphraseException(String, PGPException) - Constructor for exception org.pgpainless.exception.WrongPassphraseException
X
- XDH - Class in org.pgpainless.key.generation.type.xdh
- XDH(XDHSpec) - Static method in interface org.pgpainless.key.generation.type.KeyType
- XDHSpec - Enum in org.pgpainless.key.generation.type.xdh
- XMPP - Class in org.pgpainless.util.selection.keyring.impl
- XMPP() - Constructor for class org.pgpainless.util.selection.keyring.impl.XMPP
- XMPP.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
- XMPP.SecRingSelectionStrategy - Class in org.pgpainless.util.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
- _BRAINPOOLP256R1 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _BRAINPOOLP384R1 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _BRAINPOOLP512R1 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _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
- _SECP256K1 - org.pgpainless.key.generation.type.ecc.EllipticCurve
- _X25519 - org.pgpainless.key.generation.type.xdh.XDHSpec
All Classes All Packages