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(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
- addDecryptionKey(PGPSecretKeyRing) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a key for message decryption.
- addDecryptionKey(PGPSecretKeyRing, SecretKeyRingProtector) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a key for message decryption.
- addDecryptionKeys(PGPSecretKeyRingCollection, SecretKeyRingProtector) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add the keys in the provided key collection for message decryption.
- addDecryptionPassphrase(Passphrase) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a passphrase for message decryption.
- 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
- 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
PGPKeyEncryptionMethodGenerator
which 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.
- addInvalidDetachedSignature(SignatureVerification, SignatureValidationException) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addInvalidInbandSignature(SignatureVerification, SignatureValidationException) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- 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
- 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(OpenPgpV4Fingerprint, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- 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.
- addRecipients(PGPPublicKeyRingCollection, EncryptionOptions.EncryptionKeySelector) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add all key rings in the provided key ring collection as recipients.
- addSubKey(PGPSecretKey, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, SecretKeyRingProtector, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addSubKey(PGPSecretKey, PGPSignatureSubpacketVector, PGPSignatureSubpacketVector, 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.
- addVerificationCert(PGPPublicKeyRing) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a certificate (public key ring) for signature verification.
- addVerificationCerts(PGPPublicKeyRingCollection) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a set of certificates (public key rings) for signature verification.
- addVerificationOfDetachedSignature(PGPSignature) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a detached signature for the signature verification process.
- addVerificationOfDetachedSignatures(InputStream) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- addVerificationOfDetachedSignatures(List<PGPSignature>) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- addVerifiedDetachedSignature(SignatureVerification) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addVerifiedInbandSignature(SignatureVerification) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- 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
-
The
AlgorithmSuite
class is consulted when new OpenPGP keys are being generated to set preferred algorithms on the key. - AlgorithmSuite(List<SymmetricKeyAlgorithm>, List<HashAlgorithm>, List<CompressionAlgorithm>) - Constructor for class org.pgpainless.algorithm.AlgorithmSuite
- and(SelectUserId...) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
- ArmoredInputStreamFactory - Class in org.pgpainless.util
- ArmoredOutputStreamFactory - Class in org.pgpainless.util
-
Factory to create configured
ArmoredOutputStreams
. - ArmorUtils - Class in org.pgpainless.util
- asciiArmor(PGPKeyRing) - Static method in class org.pgpainless.PGPainless
-
Wrap a key or certificate in 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.
- available() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
B
- BcImplementationFactory - Class in org.pgpainless.implementation
- BcImplementationFactory() - Constructor for class org.pgpainless.implementation.BcImplementationFactory
- BCUtil - Class in org.pgpainless.util
- 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.
- 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 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
-
Create a builder for the encryption result class.
- 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
SecretKeyRingProtector
which 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
- CertificateValidator - Class in org.pgpainless.signature
-
A collection of static methods that validate signing certificates (public keys) and verify signature correctness.
- 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
Passphrase
as invalidated. - ClearsignedMessageUtil - Class in org.pgpainless.signature.cleartext_signatures
-
Utility class to deal with cleartext-signed messages.
- CleartextSignatureProcessor - Class in org.pgpainless.signature.cleartext_signatures
-
Processor for cleartext-signed messages.
- CleartextSignatureProcessor(InputStream, ConsumerOptions, MultiPassStrategy) - Constructor for class org.pgpainless.signature.cleartext_signatures.CleartextSignatureProcessor
- CleartextSignatures(InputStream, List<PGPSignature>) - Constructor for class org.pgpainless.decryption_verification.SignatureInputStream.CleartextSignatures
- 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.CRCingArmoredInputStreamWrapper
- close() - Method in class org.pgpainless.util.IntegrityProtectedInputStream
- code() - Method in enum org.pgpainless.key.util.RevocationAttributes.Reason
- CollectionUtils - Class in org.pgpainless.util
- 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
- ConsumerOptions - Class in org.pgpainless.decryption_verification
-
Options for decryption and signature verification.
- ConsumerOptions() - Constructor for class org.pgpainless.decryption_verification.ConsumerOptions
- 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
-
Return true, if the message contains at least one verified signature made by a key in the given certificate.
- containsVerifiedSignatureFrom(OpenPgpV4Fingerprint) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return true, if the message contains at least one valid signature made by the key with the given fingerprint, false otherwise.
- correctPrimaryKeyBindingSignature(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a primary key binding signature is correct.
- correctSignatureOverKey(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a direct-key signature is correct.
- correctSignatureOverUserAttributes(PGPUserAttributeSubpacketVector, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature over a user-attribute packet is correct.
- correctSignatureOverUserId(String, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature over a user-id is correct.
- correctSubkeyBindingSignature(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a subkey binding signature is correct.
- CRCingArmoredInputStreamWrapper - Class in org.pgpainless.util
-
Utility class that causes read(bytes, offset, length) to properly throw exceptions caused by faulty CRC checksums.
- CRCingArmoredInputStreamWrapper(ArmoredInputStream) - Constructor for class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- create(InputStream, ConsumerOptions) - Static method in class org.pgpainless.decryption_verification.DecryptionStreamFactory
- createArmoredOutputStreamFor(PGPKeyRing, OutputStream) - Static method in class org.pgpainless.util.ArmorUtils
- createCertificateRevocation() - Static method in class org.pgpainless.key.util.RevocationAttributes
- 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.
- DateUtil - Class in org.pgpainless.util
- 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.DecryptWith - 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
- DecryptionStreamFactory(ConsumerOptions) - Constructor for class org.pgpainless.decryption_verification.DecryptionStreamFactory
- 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.
- defaultPublicKeyAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
-
Return PGPainless' default public key algorithm policy.
- 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
SelectUserId
strategy. - 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
DetachedSignature
object. - detachSignaturesFromInbandClearsignedMessage(InputStream, OutputStream) - Static method in class org.pgpainless.signature.cleartext_signatures.ClearsignedMessageUtil
-
Dearmor a clearsigned message, detach the inband signatures and write the plaintext message to the provided messageOutputStream.
- determineIssuerKeyId(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Determine the issuer key-id of a
PGPSignature
. - 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
. - DSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Digital Signature Algorithm.
E
- EC - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.use
PublicKeyAlgorithm.ECDH
instead. - ECDH - Class in org.pgpainless.key.generation.type.ecc.ecdh
- ECDH - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Elliptic Curve Diffie-Hellman.
- ECDH(EllipticCurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- ECDSA - Class in org.pgpainless.key.generation.type.ecc.ecdsa
- ECDSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Elliptic Curve Digital Signature Algorithm.
- ECDSA(EllipticCurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- EdDSA - Class in org.pgpainless.key.generation.type.eddsa
-
Edwards-curve Digital Signature Algorithm (EdDSA).
- EDDSA - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Digital Signature Algorithm based on twisted Edwards Curves.
- EDDSA(EdDSACurve) - Static method in interface org.pgpainless.key.generation.type.KeyType
- EdDSACurve - Enum in org.pgpainless.key.generation.type.eddsa
- ElGamal - Class in org.pgpainless.key.generation.type.elgamal
-
ElGamal encryption only key type.
- ELGAMAL_ENCRYPT - org.pgpainless.algorithm.PublicKeyAlgorithm
-
ElGamal with usage encryption.
- ELGAMAL_GENERAL - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.see https://tools.ietf.org/html/rfc4880#section-13.8
- ElGamalLength - Enum in org.pgpainless.key.generation.type.elgamal
-
The following primes are taken from RFC-3526.
- EllipticCurve - Enum in org.pgpainless.key.generation.type.ecc
- 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
Passphrase
instance 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. - encryptCommunications() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Factory method to create an
EncryptionOptions
object 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
EncryptionOptions
object 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
- EncryptionBuilderInterface - Interface in org.pgpainless.encryption_signing
- EncryptionBuilderInterface.WithOptions - Interface in org.pgpainless.encryption_signing
- 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_COMMS
orKeyFlag.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.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.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.
- extractCertificate(PGPSecretKeyRing) - Static method in class org.pgpainless.PGPainless
-
Extract a public key certificate from a secret key.
F
- Failure(SignatureVerification, SignatureValidationException) - Constructor for class org.pgpainless.signature.cleartext_signatures.SignatureVerification.Failure
- Feature - Enum in org.pgpainless.algorithm
-
An enumeration of features that may be set in the
Features
subpacket. - features - org.pgpainless.algorithm.SignatureSubpacket
-
The Features subpacket denotes which advanced OpenPGP features a user's implementation supports.
- 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
- 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
- formatUTCDate(Date) - Static method in class org.pgpainless.util.DateUtil
-
Format a date as UTC timestamp.
- 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
SignatureSubpacket
that corresponds to the provided id. - fromCode(int) - Static method in enum org.pgpainless.algorithm.StreamEncoding
-
Return the
StreamEncoding
corresponding 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
CompressionAlgorithm
value that corresponds to the provided numerical id. - fromId(int) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the
HashAlgorithm
value that corresponds to the provided algorithm id. - fromId(int) - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return the
PublicKeyAlgorithm
that corresponds to the provided algorithm id. - fromId(int) - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Return the
SymmetricKeyAlgorithm
enum that corresponds to the provided numeric id. - fromLongKeyId(String) - Static method in class org.pgpainless.key.util.KeyIdUtil
-
Convert a long key-id into a key-id.
- fromName(String) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the
HashAlgorithm
value 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
Passphrase
from 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() - Static method in class org.pgpainless.encryption_signing.SigningOptions
- get(InputStream) - Static method in class org.pgpainless.util.ArmoredInputStreamFactory
- get(OutputStream) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Wrap an
OutputStream
inside a preconfiguredArmoredOutputStream
. - 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
AlgorithmParameterSpec
that can be used to generate the key. - getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- getAlgorithmSpec() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- getArmorHeaderLine() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- getArmorHeaders() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- getArmorHeaderValues(ArmoredInputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
- getBitStrength(PGPPublicKey) - Static method in class org.pgpainless.util.BCUtil
-
Utility method to get the bit strength of OpenPGP keys.
- 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
- getCertificates() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- 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
-
Return the
CompressionAlgorithm
that was used to compress the message. - getCompressionAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the compression algorithm that was used to compress the message before encryption/signing.
- 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
- getDecoderStream(InputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Hacky workaround for #96.
- getDecryptionKey() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the
SubkeyIdentifier
of the key that was used to decrypt the message. - getDecryptionKeys() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- getDecryptionPassphrases() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- 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.ConsumerOptions
- getDetachedSignatures() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return a
MultiMap
of key identifiers and detached signatures that were generated for the message. - 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.
- getEncoding() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getEncryptionAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the symmetric encryption algorithm used to encrypt the message.
- 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.
- getFactory() - Static method in class org.pgpainless.provider.ProviderFactory
- 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.
- getFileEncoding() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the encoding format of the encrypted / signed file.
- getFileEncoding() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the encoding format of the encrypted/signed data.
- getFileName() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the name of the encrypted / signed file.
- getFileName() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the file name of the encrypted/signed data.
- getFileName() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return the encrypted files name.
- getFingerprint() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the
OpenPgpV4Fingerprint
of this key ring. - getFingerprint() - Method in class org.pgpainless.key.SubkeyIdentifier
- getFingerprint() - Method in class org.pgpainless.signature.DetachedSignature
-
Deprecated.use
DetachedSignature.getSigningKeyIdentifier()
instead. - 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.
- getHashedNotationData(PGPSignature, String) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return a list of all
NotationData
objects from the hashed area of the signature that have a notation name equal to the given notationName argument. - 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.
- getInvalidDetachedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getInvalidInbandSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- 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
IssuerFingerprint
subpacket 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.
- getIssuerKeyIdAsLong(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Inspect the given signature's
IssuerKeyID
packet to determine the issuer key-id. - getKeyExpirationDate(Date, PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Extract and return the key expiration date value from the given signature.
- 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
KeyFlags
that apply to the subkey with the provided key id. - getKeyFlagsOf(String) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of
KeyFlags
that 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
OpenPgpV4Fingerprint
belongs 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
InputStream
which 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
OutputStream
into which the signed data can be read into. - getMessageOutputStream() - Method in class org.pgpainless.signature.cleartext_signatures.WriteToFileMultiPassStrategy
- getMissingCertificateCallback() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- getModificationDate() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the modification date of the encrypted / signed file.
- getModificationDate() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the modification date of the encrypted/signed file.
- getModificationDate() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return the modification date of the encrypted file.
- 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
NotationRegistry
of PGPainless. - getOnePassSignature() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
Return the
PGPOnePassSignature
object. - getP() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
- getParser() - Static method in class org.pgpainless.util.DateUtil
- 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
- 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
- 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
OpenPgpV4Fingerprint
of 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
PGPPublicKey
from the provided key ring or null if it has none. - getPrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKey
from the providedPGPSecretKeyRing
or null if it has none. - 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
PGPPublicKey
of 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.
- getPublicKeyAlgorithmPolicy() - Method in class org.pgpainless.policy.Policy
-
Return the current public key algorithm policy.
- 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
PGPPublicKeys
of this key ring. - getReason() - Method in class org.pgpainless.key.util.RevocationAttributes
- getRecipientKeyIds() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return a set of key-ids the messages was encrypted for.
- getRecipients() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the set of recipient encryption keys.
- 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
PGPSecretKey
of 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.
- getSecretKeyProtector(PGPSecretKeyRing) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
- getSecretKeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return all secret keys of the key ring.
- getSessionKey() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the session key.
- getSignature() - Method in class org.pgpainless.signature.cleartext_signatures.SignatureVerification
- getSignature() - Method in class org.pgpainless.signature.DetachedSignature
-
Return the OpenPGP signature.
- getSignature() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
Return the signature.
- getSignatureCreationTime(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signature creation time subpacket.
- getSignatureDigestPrefix(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return the digest prefix of the signature as hex-encoded String.
- getSignatureExpirationDate(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return the expiration date of the signature.
- 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
-
Return a set of all signatures on the message.
- 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
- getSignatureVerification() - Method in class org.pgpainless.signature.cleartext_signatures.SignatureVerification.Failure
- 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
PGPSignature
which 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.
- getSigningKey() - Method in class org.pgpainless.signature.cleartext_signatures.SignatureVerification
- getSigningKey() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
Return the
OpenPgpV4Fingerprint
of the signing key. - 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.
- 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
OpenPgpV4Fingerprint
of 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.
- getSubpackets() - Method in class org.pgpainless.key.generation.KeySpec
- getSubpacketsOfType(SignatureSubpacket, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Return a list of
SignatureSubpackets
from the subpacket generator, which correspond to the givenSignatureSubpacket
type. - getSymmetricKeyAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the algorithm that was used to symmetrically encrypt the message.
- getSymmetricKeyAlgorithm() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Deprecated.use
EncryptionResult.getEncryptionAlgorithm()
instead. - 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.
- getUnhashedNotationData(PGPSignature, String) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return a list of all
NotationData
objects from the unhashed area of the signature that have a notation name equal to the given notationName argument. - 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.
- getValidationException() - Method in class org.pgpainless.signature.cleartext_signatures.SignatureVerification.Failure
- getValidUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of valid user-ids.
- getVerificationKeys() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
Return the key ring used to verify the signature.
- getVerifiedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedInbandSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return a map of all verified signatures on the message.
- getVerifyNotAfter() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the latest possible creation date on which signatures made on the message are considered valid.
- getVerifyNotBefore() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the earliest creation date on which signatures on the message are considered valid.
- getVersion() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the version number of the public keys format.
- 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
- 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
KeyFlags
subpacket which carries the given key flag. - hasValidPrimaryKeyBindingSignatureIfRequired(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a subkey binding signature - if the subkey is signing-capable - contains a valid primary key binding signature.
- 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.
- 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.SignatureVerifier
-
Initialize a signature and then update it with the signed data from the given
InputStream
. - inlineSignature(PGPSignatureGenerator) - Static method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
-
Inline-signature method.
- InMemoryMultiPassStrategy - Class in org.pgpainless.signature.cleartext_signatures
-
Implementation of the
MultiPassStrategy
. - 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(int, int) - Method in class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
- 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(PublicKeyAlgorithm, int) - Method in class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
- 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.
- isClearText() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- isClosed() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- 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
-
Return true, if the message was encrypted.
- 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.
- isEndOfStream() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- isForYourEyesOnly() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return true, if the encrypted data is intended for your eyes only.
- isForYourEyesOnly() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return true, if the message is marked as for-your-eyes-only.
- 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
-
Return true, if the expiration date of the
PGPSignature
lays in the past. - isSignatureExpired(PGPSignature, Date) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return true, if the expiration date of the given
PGPSignature
is past the given comparisonDate
. - isSigned() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return true if the message contained at least one signature.
- 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
-
Return true, if the message is signed and at least one signature on the message was verified successfully.
- isVerified() - Method in class org.pgpainless.signature.DetachedSignature
-
Return true iff the signature is verified.
- isVerified() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
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.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 <[email protected]>).
- KeyCannotSignException - Exception in org.pgpainless.exception
- KeyCannotSignException(String) - Constructor for exception org.pgpainless.exception.KeyCannotSignException
- 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.
- KeyIdUtil - Class in org.pgpainless.key.util
- 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
- KeyRingValidator - Class in org.pgpainless.key
- 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
- KeyValidationError - Error in org.pgpainless.exception
- KeyValidationError(String, PGPSignature, PGPSignature) - Constructor for error org.pgpainless.exception.KeyValidationError
L
- length() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- length() - Method in class org.pgpainless.key.util.UserId
- LOCAL - org.pgpainless.algorithm.StreamEncoding
-
Deprecated.
M
- MapBasedPassphraseProvider - Class in org.pgpainless.key.protection.passphrase_provider
-
Implementation of the
SecretKeyPassphraseProvider
that holds a map of differentpassphrases
. - MapBasedPassphraseProvider(Map<Long, Passphrase>) - Constructor for class org.pgpainless.key.protection.passphrase_provider.MapBasedPassphraseProvider
-
Create a new map based passphrase provider.
- mark(int) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- markSupported() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- 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
- MissingLiteralDataException - Exception in org.pgpainless.exception
-
Exception that gets thrown if a
LiteralDataPacket
is expected, but not found. - MissingLiteralDataException(String) - Constructor for exception org.pgpainless.exception.MissingLiteralDataException
- 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.
- 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
-
Since the
CleartextSignatureProcessor
needs to read the whole data twice in order to verify signatures, a strategy for how to cache the read data is required.
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
SymmetricKeyAlgorithm
used 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
- 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
- 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
- NotYetImplementedException - Exception in org.pgpainless.exception
-
Method that gets thrown if the user requests some functionality which is not yet implemented.
- NotYetImplementedException() - Constructor for exception org.pgpainless.exception.NotYetImplementedException
- now() - Static method in class org.pgpainless.util.DateUtil
-
Return the current date "rounded" to UTC precision.
- NULL - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Plaintext or unencrypted data.
O
- OLD_TO_NEW - org.pgpainless.signature.SignatureCreationDateComparator.Order
-
Oldest signatures first.
- OnePassSignatureCheck - Class in org.pgpainless.signature
-
Tuple-class that bundles together a
PGPOnePassSignature
object, aPGPPublicKeyRing
destined to verify the signature, thePGPSignature
itself and a record of whether the signature was verified. - OnePassSignatureCheck(PGPOnePassSignature, PGPPublicKeyRing) - Constructor for class org.pgpainless.signature.OnePassSignatureCheck
-
Create a new
OnePassSignatureCheck
. - onInputStream(InputStream) - Method in class org.pgpainless.decryption_verification.DecryptionBuilder
- onInputStream(InputStream) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface
-
Create a
DecryptionStream
on anInputStream
which contains the encrypted and/or signed data. - onInputStream(InputStream) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures
-
Provide the
InputStream
which 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 class org.pgpainless.encryption_signing.EncryptionBuilder
- onOutputStream(OutputStream) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
-
Create a
EncryptionStream
on anOutputStream
that contains the plain data that shall be encrypted and or signed. - OpenPgpKeyAttributeUtil - Class in org.pgpainless.key.util
- OpenPgpMetadata - Class in org.pgpainless.decryption_verification
- OpenPgpMetadata(Set<Long>, SubkeyIdentifier, SymmetricKeyAlgorithm, CompressionAlgorithm, List<SignatureVerification>, List<SignatureVerification.Failure>, List<SignatureVerification>, List<SignatureVerification.Failure>, String, Date, StreamEncoding) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata
- OpenPgpMetadata.Builder - 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
- 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.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
-
Return the preferred
CompressionAlgorithms
as present in the signature. - parsePreferredHashAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the preferred
HashAlgorithms
as present in the signature. - parsePreferredSymmetricKeyAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the preferred
SymmetricKeyAlgorithms
as present in the signature. - parseUTCDate(String) - Static method in class org.pgpainless.util.DateUtil
-
Parse a UTC timestamp into a date.
- 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
PBESecretKeyDecryptor
andPBESecretKeyEncryptor
objects while getting the passphrases from aSecretKeyPassphraseProvider
and using settings from anKeyRingProtectionSettings
. - PasswordBasedSecretKeyRingProtector(KeyRingProtectionSettings, SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
-
Constructor.
- PGPainless - Class in org.pgpainless
- PGPAINLESS - Static variable in class org.pgpainless.util.ArmoredOutputStreamFactory
- PGPKeyRingCollection - Class in org.pgpainless.key.collection
-
This class describes a logic of handling a collection of different
PGPKeyRing
. - PGPKeyRingCollection(byte[], boolean) - Constructor for class org.pgpainless.key.collection.PGPKeyRingCollection
- PGPKeyRingCollection(InputStream, boolean) - Constructor for class org.pgpainless.key.collection.PGPKeyRingCollection
-
Build a
PGPKeyRingCollection
from 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.PublicKeyAlgorithmPolicy - 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.
- possiblyWrap(InputStream) - Static method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- 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
- ProviderFactory - Class in org.pgpainless.provider
- ProviderFactory() - Constructor for class org.pgpainless.provider.ProviderFactory
- PublicKeyAlgorithm - Enum in org.pgpainless.algorithm
-
Enumeration of public key algorithms as defined in RFC4880.
- PublicKeyAlgorithmPolicy(Map<PublicKeyAlgorithm, Integer>) - Constructor for class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
- publicKeyRing(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRing(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRing(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingCollection(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- publicKeyRingFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Extract a
PGPPublicKeyRing
containing all public keys from the providedPGPSecretKeyRing
. - PublicKeyRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring
- PublicKeyRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy
- 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(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.SignatureInputStream.VerifySignatures
- read() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- read() - Method in class org.pgpainless.util.IntegrityProtectedInputStream
- read(byte[]) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.DecryptionStream
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.SignatureInputStream.VerifySignatures
- read(byte[], int, int) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
-
Reads up to
len
bytes of data from the input stream into an array of bytes. - read(byte[], int, int) - Method in class org.pgpainless.util.IntegrityProtectedInputStream
- readInputLine(ByteArrayOutputStream, int, InputStream) - Static method in class org.pgpainless.signature.cleartext_signatures.ClearsignedMessageUtil
- readInputLine(ByteArrayOutputStream, InputStream) - Static method in class org.pgpainless.signature.cleartext_signatures.ClearsignedMessageUtil
- 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(byte[]) - Static method in class org.pgpainless.signature.SignatureUtils
-
Read a single, or a list of
PGPSignatures
and return them as aList
. - readSignatures(InputStream) - Static method in class org.pgpainless.signature.SignatureUtils
-
Read and return
PGPSignatures
. - readSignatures(String) - Static method in class org.pgpainless.signature.SignatureUtils
-
Parse an ASCII encoded list of OpenPGP signatures into a
PGPSignatureList
and return it as aList
. - 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
PGPSignatureSubpacketGenerators
internal set. - removeAllPacketsOfType(SignatureSubpacket, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketGeneratorUtil
-
Remove all packets of the given type from the
PGPSignatureSubpacketGenerators
internal set. - requirePrimaryPublicKeyFrom(PGPKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPPublicKey
from the provided key ring. - requirePrimarySecretKeyFrom(PGPSecretKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Return the primary
PGPSecretKey
from the providedPGPSecretKeyRing
. - 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.util.CRCingArmoredInputStreamWrapper
- resetComment() - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Reset to the default of no comment headers.
- resetVersionInfo() - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Reset the version header to its default value of
ArmoredOutputStreamFactory.PGPAINLESS
. - 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
- SecretKeyPassphraseProvider - Interface in org.pgpainless.key.protection.passphrase_provider
-
Interface to allow the user to provide a
Passphrase
for an encrypted OpenPGP secret key. - secretKeyRing(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRing(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRing(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
- secretKeyRingCollection(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
- SecretKeyRingEditor - Class in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditor(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- SecretKeyRingEditorInterface - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditorInterface.WithKeyRingEncryptionSettings - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingEditorInterface.WithPassphrase - Interface in org.pgpainless.key.modification.secretkeyring
- SecretKeyRingProtector - Interface in org.pgpainless.key.protection
-
Task of the
SecretKeyRingProtector
is to map encryptor/decryptor objects to key-ids. - SecretKeyRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring
- SecretKeyRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
- 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(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
- selectBest(List<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Select the best acceptable algorithm from the options list.
- 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
- 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.
- setComment(String) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Set a comment header value in the ASCII armor header.
- 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
- setDecryptionKey(SubkeyIdentifier) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setEncoding(StreamEncoding) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Set the format of the literal data packet.
- 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
- setFileEncoding(StreamEncoding) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setFileEncoding(StreamEncoding) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setFileName(String) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setFileName(String) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setFileName(String) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Set the name of the encrypted file.
- setForYourEyesOnly() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Mark the encrypted message as for-your-eyes-only by setting a special file name.
- setHashAlgorithms(List<HashAlgorithm>) - Method in class org.pgpainless.algorithm.AlgorithmSuite
- setMissingCertificateCallback(MissingPublicKeyCallback) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Set a callback that's used when a certificate (public key) is missing for signature verification.
- setModificationDate(Date) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setModificationDate(Date) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setModificationDate(Date) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Set the modification date of the encrypted file.
- setPublicKeyAlgorithmPolicy(Policy.PublicKeyAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom public key algorithm policy.
- setRevocationSignatureHashAlgorithmPolicy(Policy.HashAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom hash algorithm policy for revocations.
- setSessionKey(byte[]) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Attempt decryption using a session key.
- setSignature(PGPSignature) - Method in class org.pgpainless.signature.OnePassSignatureCheck
- 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
DetachedSignature
as verified. - setVersionInfo(String) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Overwrite the version header of ASCII armors with a custom value.
- 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.
- 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
-
Verify that a signature does not carry critical unknown notations.
- signatureDoesNotHaveCriticalUnknownSubpackets() - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature does not contain critical unknown subpackets.
- signatureDoesNotPredateSigningKey(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature does not predate the creation time of the signing key.
- signatureDoesNotPredateSigningKeyBindingDate(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature does not predate the binding date of the signing key.
- signatureExpirationTime - org.pgpainless.algorithm.SignatureSubpacket
-
The validity period of the signature.
- signatureHasHashedCreationTime() - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature has a hashed creation time subpacket.
- SignatureInputStream - Class in org.pgpainless.decryption_verification
- SignatureInputStream(InputStream) - Constructor for class org.pgpainless.decryption_verification.SignatureInputStream
- SignatureInputStream.CleartextSignatures - Class in org.pgpainless.decryption_verification
- SignatureInputStream.VerifySignatures - Class in org.pgpainless.decryption_verification
- signatureIsAlreadyEffective(Date) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature was created prior to the given reference date.
- signatureIsCertification() - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature is a certification signature.
- signatureIsEffective() - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature is effective right now.
- signatureIsEffective(Date) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature is effective at the given reference date.
- signatureIsNotMalformed(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature is not malformed.
- signatureIsNotYetExpired(Date) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature is not yet expired.
- signatureIsOfType(SignatureType...) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature type equals one of the given
SignatureTypes
. - SignaturePicker - Class in org.pgpainless.signature
-
Pick signatures from keys.
- Signatures(PGPKeyRing, Date, Policy) - Constructor for class org.pgpainless.key.info.KeyRingInfo.Signatures
- signatureStructureIsAcceptable(PGPPublicKey, Policy) - Static method in class org.pgpainless.signature.SignatureValidator
-
Verify that a signature has an acceptable structure.
- 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.
- SignatureSubpacketsUtil - Class in org.pgpainless.signature.subpackets
-
Utility class to access signature subpackets from signatures.
- 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
PGPSignature
for comparison. - SignatureUtils - Class in org.pgpainless.signature
-
Utility methods related to signatures.
- 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
-
A collection of validators that perform validation steps over signatures.
- 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
SignatureValidityComparator
which orders signatures oldest first. - SignatureValidityComparator(SignatureCreationDateComparator.Order) - Constructor for class org.pgpainless.signature.SignatureValidityComparator
-
Create a new
SignatureValidityComparator
which orders signatures following the passed ordering. - SignatureVerification - Class in org.pgpainless.signature.cleartext_signatures
- SignatureVerification(PGPSignature, SubkeyIdentifier) - Constructor for class org.pgpainless.signature.cleartext_signatures.SignatureVerification
- SignatureVerification.Failure - Class in org.pgpainless.signature.cleartext_signatures
- SignatureVerifier - Class in org.pgpainless.signature
-
Collection of static methods for signature verification.
- signatureWasCreatedInBounds(Date, Date) - Static method in class org.pgpainless.signature.SignatureValidator
- 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.
- 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
length
with user-iduserId
. - simpleRsaKeyRing(String, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(UserId, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple, unencrypted RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(UserId, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
-
Creates a simple RSA KeyPair of length
length
with 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.util.CRCingArmoredInputStreamWrapper
- SolitaryPassphraseProvider - Class in org.pgpainless.key.protection.passphrase_provider
-
Implementation of the
SecretKeyPassphraseProvider
that holds a singlePassphrase
. - SolitaryPassphraseProvider(Passphrase) - Constructor for class org.pgpainless.key.protection.passphrase_provider.SolitaryPassphraseProvider
- SPLIT - org.pgpainless.algorithm.KeyFlag
-
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 - 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) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifier
from aPGPKeyRing
. - SubkeyIdentifier(PGPKeyRing, long) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifier
from aPGPKeyRing
and the subkeys key id. - SubkeyIdentifier(PGPKeyRing, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
- SubkeyIdentifier(OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifier
that identifies the primary key with the given fingerprint. - SubkeyIdentifier(OpenPgpV4Fingerprint, OpenPgpV4Fingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifier
which 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
- 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.
- toAsciiArmoredStream(OutputStream, MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
- toAsciiArmoredStream(PGPKeyRing, OutputStream) - Static method in class org.pgpainless.util.ArmorUtils
- 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
KeyFlags
into a bitmask. - toBuilder() - Method in class org.pgpainless.key.util.UserId
- toList(PGPSignatureList) - Static method in class org.pgpainless.signature.SignatureUtils
- 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.
- toString() - Method in class org.pgpainless.implementation.ImplementationFactory
- 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
PGPSecretKey
and return the resultingPGPPrivateKey
. - unlockSecretKey(PGPSecretKey, Passphrase) - Static method in class org.pgpainless.key.protection.UnlockSecretKey
- UnlockSecretKey - Class in org.pgpainless.key.protection
- 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
SecretKeyRingProtector
which assumes that all handled keys are not password protected. - UnprotectedKeysProtector() - Constructor for class org.pgpainless.key.protection.UnprotectedKeysProtector
- USER_ID_NO_LONGER_VALID - org.pgpainless.key.util.RevocationAttributes.Reason
- UserId - Class in org.pgpainless.key.util
- UserId.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
- validateCertificate(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.CertificateValidator
-
Check if the signing key was eligible to create the provided signature.
- validateCertificateAndVerifyInitializedSignature(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.CertificateValidator
-
Validate the signing key and the given initialized signature.
- validateCertificateAndVerifyOnePassSignature(OnePassSignatureCheck, Policy) - Static method in class org.pgpainless.signature.CertificateValidator
-
Validate the signing key certificate and the given
OnePassSignatureCheck
. - validateCertificateAndVerifyUninitializedSignature(PGPSignature, InputStream, PGPPublicKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.CertificateValidator
-
Validate the given signing key and then verify the given signature while parsing out the signed data.
- 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() - Method in class org.pgpainless.signature.OnePassSignatureCheck
-
Verify the one-pass signature.
- verify(PGPSignature) - Method in class org.pgpainless.signature.SignatureValidator
- VerifyCleartextSignatures - Interface in org.pgpainless.signature.cleartext_signatures
-
Interface defining the API for verification of cleartext signed documents.
- 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.
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a direct-key signature.
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a direct-key self-signature.
- verifyInitializedSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify an initialized signature.
- verifyKeyRevocationSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a key revocation signature.
- verifyNotAfter(Date) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Consider signatures on the message made after the given timestamp invalid.
- verifyNotBefore(Date) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Consider signatures on the message made before the given timestamp invalid.
- verifyOnePassSignature(PGPSignature, PGPPublicKey, OnePassSignatureCheck, Policy) - Static method in class org.pgpainless.signature.SignatureVerifier
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a signature (certification or revocation) over a user-id.
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a signature (certification or revocation) over a user-id.
- VerifySignatures(InputStream, List<OnePassSignatureCheck>, List<DetachedSignature>, ConsumerOptions, OpenPgpMetadata.Builder) - Constructor for class org.pgpainless.decryption_verification.SignatureInputStream.VerifySignatures
- verifySubkeyBindingRevocation(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a subkey revocation signature.
- verifySubkeyBindingSignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a subkey binding signature.
- verifyUninitializedSignature(PGPSignature, InputStream, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Initialize a signature and verify it afterwards by updating it with the signed data.
- verifyUserAttributesCertification(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a certification signature over a user-attributes packet.
- verifyUserAttributesCertification(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a certification self-signature over a user-attributes packet.
- verifyUserAttributesRevocation(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a user-attributes revocation signature.
- verifyUserAttributesRevocation(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a user-attributes revocation self-signature.
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a user-id certification.
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a certification self-signature over a user-id.
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a user-id revocation signature.
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.SignatureVerifier
-
Verify a user-id revocation self-signature.
- verifyWith(PGPPublicKeyRing) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.VerifyWith
-
Deprecated.
- verifyWith(PGPPublicKeyRing) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- verifyWith(PGPPublicKeyRingCollection) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.VerifyWith
-
Deprecated.
- verifyWith(PGPPublicKeyRingCollection) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- VerifyWithImpl() - Constructor for class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- 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
- wasPossiblyMadeByKey(PGPPublicKey) - Static method in class org.pgpainless.signature.SignatureValidator
-
Check, whether there is the possibility that the given signature was created by the given key.
- Whitelist - Class in org.pgpainless.util.selection.keyring.impl
- 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.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(ConsumerOptions) - Method in interface org.pgpainless.decryption_verification.DecryptionBuilderInterface.DecryptWith
-
Add options for decryption / signature verification, such as keys, passphrases etc.
- withOptions(ConsumerOptions) - Method in interface org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignatures.VerifyWith
-
Pass in consumer options like verification certificates, acceptable date ranges etc.
- withOptions(ConsumerOptions) - Method in class org.pgpainless.signature.cleartext_signatures.VerifyCleartextSignaturesImpl.VerifyWithImpl
- withOptions(ProducerOptions) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithOptions
-
Create an
EncryptionStream
with 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
MultiPassStrategy
which 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
-
Implementation of the
MultiPassStrategy
. - WriteToFileMultiPassStrategy(File) - Constructor for class org.pgpainless.signature.cleartext_signatures.WriteToFileMultiPassStrategy
-
Create a
MultiPassStrategy
which writes data to a file. - WrongConsumingMethodException - Exception in org.pgpainless.exception
- WrongConsumingMethodException(String) - Constructor for exception org.pgpainless.exception.WrongConsumingMethodException
- 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.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