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
- AbstractSignatureBuilder<B extends AbstractSignatureBuilder<B>> - Class in org.pgpainless.signature.builder
- AbstractSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.AbstractSignatureBuilder
- AbstractSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.AbstractSignatureBuilder
- AbstractSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector, HashAlgorithm, SignatureSubpackets, SignatureSubpackets) - Constructor for class org.pgpainless.signature.builder.AbstractSignatureBuilder
- accept(String) - Method in class org.pgpainless.util.selection.userid.SelectUserId
-
Return true, if the given user-id is accepted by this particular filter, false otherwise.
- 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
-
Return true, if the filter accepts the given
- addAll(Iterator<T>, Collection<T>) - Static method in class org.pgpainless.util.CollectionUtils
-
Add all items from the iterator to the collection.
- addCertificate(PGPPublicKeyRing) - Method in class org.pgpainless.decryption_verification.ConsumerOptions.CertificateSource
-
Add a certificate as verification cert explicitly.
- addCommentHeader(ArmoredOutputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
-
Add an ASCII armor comment header entry into the
ArmoredOutputStream
. - addCustomDecryptorFactory(CustomPublicKeyDataDecryptorFactory) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add a custom
PublicKeyDataDecryptorFactory
which enable decryption of messages, e.g. using hardware-backed secret keys. - 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) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached signature.
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, long) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached binary signature using the signing key with the given keyId.
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, long, DocumentSignatureType, BaseSignatureSubpackets.Callback) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached signature using the signing key with the given keyId.
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, CharSequence, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a detached signature.
- addDetachedSignature(SecretKeyRingProtector, PGPSecretKeyRing, CharSequence, DocumentSignatureType, BaseSignatureSubpackets.Callback) - 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, Iterable<PGPSecretKeyRing>, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add detached signatures with all key rings from the provided secret key ring collection.
- addEmbeddedSignature(boolean, PGPSignature) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addEmbeddedSignature(boolean, PGPSignature) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addEmbeddedSignature(EmbeddedSignature) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addEmbeddedSignature(EmbeddedSignature) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addEmbeddedSignature(PGPSignature) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addEmbeddedSignature(PGPSignature) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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
-
Add an ASCII armor header entry about the used hash algorithm into the
ArmoredOutputStream
. - addHiddenRecipient(PGPPublicKeyRing) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a certificate as hidden recipient.
- addHiddenRecipient(PGPPublicKeyRing, EncryptionOptions.EncryptionKeySelector) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a certificate as hidden recipient, using the provided
EncryptionOptions.EncryptionKeySelector
to select recipient subkeys. - addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, long) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create a binary inline signature using the signing key with the given keyId.
- addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, long, DocumentSignatureType, BaseSignatureSubpackets.Callback) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Create an inline signature using the signing key with the given keyId.
- addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, CharSequence, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add an inline-signature.
- addInlineSignature(SecretKeyRingProtector, PGPSecretKeyRing, CharSequence, DocumentSignatureType, BaseSignatureSubpackets.Callback) - 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, Iterable<PGPSecretKeyRing>, DocumentSignatureType) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Add inline signatures with all secret key rings in the provided secret key ring collection.
- addIntendedRecipientFingerprint(boolean, PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addIntendedRecipientFingerprint(boolean, PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addIntendedRecipientFingerprint(IntendedRecipientFingerprint) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addIntendedRecipientFingerprint(IntendedRecipientFingerprint) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addIntendedRecipientFingerprint(PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addIntendedRecipientFingerprint(PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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
-
Add an ASCII armor message-id header entry into the
ArmoredOutputStream
. - addNotationData(boolean, boolean, String, String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addNotationData(boolean, boolean, String, String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addNotationData(boolean, String, String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addNotationData(boolean, String, String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addNotationData(NotationData) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- addNotationData(NotationData) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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(OpenPgpFingerprint, 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.
- addPrimaryUserId(CharSequence, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addPrimaryUserId(CharSequence, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a user-id to the key ring and mark it as primary.
- addRecipient(PGPPublicKeyRing) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key.
- addRecipient(PGPPublicKeyRing, CharSequence) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add a recipient by providing a key and recipient user-id.
- addRecipient(PGPPublicKeyRing, CharSequence, 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(Iterable<PGPPublicKeyRing>) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add all key rings in the provided
Iterable
(e.g. - addRecipients(Iterable<PGPPublicKeyRing>, EncryptionOptions.EncryptionKeySelector) - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Add all key rings in the provided
Iterable
(e.g. - addResidualSubpacket(SignatureSubpacket) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addRevocationKey(boolean, boolean, PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- addRevocationKey(boolean, boolean, PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addRevocationKey(boolean, PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- addRevocationKey(boolean, PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addRevocationKey(RevocationKey) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- addRevocationKey(RevocationKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addRevocationKey(PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- addRevocationKey(PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- addSignature(SecretKeyRingProtector, PGPSecretKeyRing) - Method in class org.pgpainless.encryption_signing.SigningOptions
-
Sign the message using an inline signature made by the provided signing key.
- addSubkey(KeySpec) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- addSubkey(KeySpec) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- addSubkey(KeySpecBuilder) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- addSubKey(PGPKeyPair, SelfSignatureSubpackets.Callback, SecretKeyRingProtector, SecretKeyRingProtector, KeyFlag, KeyFlag...) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addSubKey(PGPKeyPair, SelfSignatureSubpackets.Callback, SecretKeyRingProtector, SecretKeyRingProtector, KeyFlag, KeyFlag...) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a subkey to the key ring.
- 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.
- addSubKey(KeySpec, Passphrase, SelfSignatureSubpackets.Callback, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addSubKey(KeySpec, Passphrase, SelfSignatureSubpackets.Callback, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a subkey to the key ring.
- addUserId(byte[]) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- addUserId(byte[]) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- addUserId(CharSequence, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addUserId(CharSequence, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a user-id to the key ring.
- addUserId(CharSequence, SelfSignatureSubpackets.Callback, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- addUserId(CharSequence, SelfSignatureSubpackets.Callback, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Add a user-id to the key ring.
- addUserId(String) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- addUserId(String) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- addUserId(String, SelfSignatureSubpackets.Callback) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- addUserId(UserId) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- 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
-
Add some detached signatures from the given
InputStream
for verification. - addVerificationOfDetachedSignatures(List<PGPSignature>) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Add some detached signatures for verification.
- addVerifiedDetachedSignature(SignatureVerification) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- addVerifiedInbandSignature(SignatureVerification) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- AEADAlgorithm - Enum in org.pgpainless.algorithm
-
List of AEAD algorithms defined in crypto-refresh-06.
- 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.
- algorithm - Variable in class org.pgpainless.decryption_verification.MessageMetadata.CompressedData
- algorithm - Variable in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- 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
-
Filter that filters for user-ids which pass all the given
- any() - Static method in interface org.gnupg.GnuPGDummyKeyUtil.KeyFilter
-
Select any key.
- ANY - org.pgpainless.algorithm.EncryptionPurpose
-
The stream will use keys with either flags to encrypt the data.
- anyCompressionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
-
Policy that accepts any known compression algorithm and offers
CompressionAlgorithm.ZIP
as default algorithm. - apply(A) - Method in interface org.pgpainless.decryption_verification.MessageMetadata.Function
- applyCallback(CertificationSubpackets.Callback) - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
- applyCallback(CertificationSubpackets.Callback) - Method in class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- applyCallback(RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- applyCallback(SelfSignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- applyCallback(SelfSignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- applyCallback(SelfSignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- applyCallback(SelfSignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- applyCallback(SignatureSubpackets.Callback) - Method in class org.pgpainless.signature.builder.UniversalSignatureBuilder
- applyCRLFEncoding() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Apply special encoding of line endings to the input data.
- applyFrom(PGPSignatureSubpacketVector, SignatureSubpackets) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsHelper
- applyTo(SignatureSubpackets, PGPSignatureSubpacketGenerator) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsHelper
- ArmoredInputStreamFactory - Class in org.pgpainless.util
-
Factory class for instantiating preconfigured
ArmoredInputStreams
. - ArmoredOutputStreamFactory - Class in org.pgpainless.util
-
Factory to create configured
ArmoredOutputStreams
. - ArmorUtils - Class in org.pgpainless.util
-
Utility class for dealing with ASCII armored OpenPGP data.
- asciiArmor(PGPKeyRing) - Static method in class org.pgpainless.PGPainless
-
Wrap a key or certificate in ASCII armor.
- asciiArmor(PGPKeyRing, OutputStream) - Static method in class org.pgpainless.PGPainless
-
Wrap a key of certificate in ASCII armor and write the result into the given
OutputStream
. - asciiArmor(PGPSignature) - Static method in class org.pgpainless.PGPainless
-
Wrap the detached signature in ASCII armor.
- assertValid() - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
-
Throw a
MalformedOpenPgpMessageException
if the pda is not in a valid state right now. - asSignatureType() - Method in enum org.pgpainless.algorithm.CertificationType
- asString() - Method in class org.pgpainless.key.util.UserId
-
Deprecated.use
UserId.toString()
instead. - assureKeyCanCarryFlags(PublicKeyAlgorithm, KeyFlag...) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Make sure that a key of the given
PublicKeyAlgorithm
is able to carry the given key flags. - assureKeyCanCarryFlags(KeyType, KeyFlag...) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Make sure that the given key type can carry the given key flags.
- 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
- BaseSecretKeyRingProtector - Class in org.pgpainless.key.protection
-
Basic
SecretKeyRingProtector
implementation that respects the usersKeyRingProtectionSettings
when encrypting keys. - BaseSecretKeyRingProtector(SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.BaseSecretKeyRingProtector
-
Constructor that uses the given
SecretKeyPassphraseProvider
to retrieve passphrases and PGPainless' defaultKeyRingProtectionSettings
. - BaseSecretKeyRingProtector(SecretKeyPassphraseProvider, KeyRingProtectionSettings) - Constructor for class org.pgpainless.key.protection.BaseSecretKeyRingProtector
-
Constructor that uses the given
SecretKeyPassphraseProvider
andKeyRingProtectionSettings
. - BaseSignatureSubpackets - Interface in org.pgpainless.signature.subpackets
- BaseSignatureSubpackets.Callback - Interface in org.pgpainless.signature.subpackets
- BcHashContextSigner - Class in org.pgpainless.encryption_signing
- BcHashContextSigner() - Constructor for class org.pgpainless.encryption_signing.BcHashContextSigner
- BcImplementationFactory - Class in org.pgpainless.implementation
- BcImplementationFactory() - Constructor for class org.pgpainless.implementation.BcImplementationFactory
- 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
-
Implementation of
ProviderFactory
using aBouncyCastleProvider
. - BouncyCastleProviderFactory() - Constructor for class org.pgpainless.provider.BouncyCastleProviderFactory
- bsi2021PublicKeyAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
-
This policy is based upon recommendations made by the German Federal Office for Information Security (BSI).
- build() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- build() - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- build() - Method in class org.pgpainless.key.certification.CertifyCertificate.CertificationOnUserIdWithSubpackets
-
Build the certification signature.
- build() - Method in class org.pgpainless.key.certification.CertifyCertificate.DelegationOnCertificateWithSubpackets
-
Build the delegation signature.
- build() - Method in class org.pgpainless.key.generation.KeyRingBuilder
- build() - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- build() - Method in class org.pgpainless.key.generation.KeySpecBuilder
- build() - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- build() - Method in class org.pgpainless.key.util.UserId.Builder
- build(String) - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- build(PGPPublicKey) - Method in class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- build(PGPPublicKey) - Method in class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- build(PGPPublicKey) - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- build(PGPPublicKey) - Method in class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- build(PGPPublicKey) - Method in class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- build(PGPPublicKeyRing, String) - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
-
Create a certification signature for the given user-id and the primary key of the given key ring.
- build(PGPPublicKeyRing, PGPUserAttributeSubpacketVector) - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
-
Create a certification signature for the given user attribute and the primary key of the given key ring.
- build(PGPPublicKey, String) - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- build(PGPPublicKey, PGPUserAttributeSubpacketVector) - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- buildAndInitSignatureGenerator() - Method in class org.pgpainless.signature.builder.AbstractSignatureBuilder
-
Build an instance of
PGPSignatureGenerator
initialized with the signing key and with hashed and unhashed subpackets. - 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
- buildKeyRing() - Static method in class org.pgpainless.PGPainless
-
Build a custom OpenPGP key ring.
- buildWithSubpackets(CertificationSubpackets.Callback) - Method in class org.pgpainless.key.certification.CertifyCertificate.CertificationOnUserIdWithSubpackets
-
Apply the given signature subpackets and build the certification.
- buildWithSubpackets(CertificationSubpackets.Callback) - Method in class org.pgpainless.key.certification.CertifyCertificate.DelegationOnCertificateWithSubpackets
-
Apply the given signature subpackets and build the delegation signature.
- byEmail(CharSequence) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that selects user-ids by the given
- byPopularity() - Static method in interface org.pgpainless.algorithm.negotiation.SymmetricKeyAlgorithmNegotiator
-
Return an instance that negotiates a
SymmetricKeyAlgorithm
by selecting the most popular acceptable algorithm from the list of preferences. - BZIP2 - org.pgpainless.algorithm.CompressionAlgorithm
C
- CachingBcPublicKeyDataDecryptorFactory - Class in org.bouncycastle
-
Implementation of the
PublicKeyDataDecryptorFactory
which caches decrypted session keys. - CachingBcPublicKeyDataDecryptorFactory(PGPPrivateKey, SubkeyIdentifier) - Constructor for class org.bouncycastle.CachingBcPublicKeyDataDecryptorFactory
- CachingSecretKeyRingProtector - Class in org.pgpainless.key.protection
-
Implementation of the
SecretKeyRingProtector
which holds a map of key ids and their passwords. - CachingSecretKeyRingProtector() - Constructor for class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- CachingSecretKeyRingProtector(Map<Long, Passphrase>, KeyRingProtectionSettings, SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- CachingSecretKeyRingProtector(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.
- canIntroduce(int) - Method in class org.pgpainless.algorithm.Trustworthiness
-
Return true, if the certified cert can introduce certificates with trust depth of
- canIntroduce(Trustworthiness) - Method in class org.pgpainless.algorithm.Trustworthiness
-
Return true, if the certified cert can introduce certificates with the given
- 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 - org.pgpainless.algorithm.CertificationType
-
The issuer of this certification has done some casual verification of the claim of identity.
- CASUAL_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Casual certification of a User ID and Public-Key packet.
- CERT_REVOCATION - org.pgpainless.key.util.RevocationAttributes.RevocationType
- certificate(PGPPublicKeyRing) - Method in class org.pgpainless.key.certification.CertifyCertificate
-
Create a delegation (direct key signature) over a certificate.
- certificate(PGPPublicKeyRing, Trustworthiness) - Method in class org.pgpainless.key.certification.CertifyCertificate
-
Create a delegation (direct key signature) containing a
TrustSignature
packet over a certificate. - CertificateSource() - Constructor for class org.pgpainless.decryption_verification.ConsumerOptions.CertificateSource
- CertificateValidator - Class in org.pgpainless.signature.consumer
-
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
. - CertificationSubpackets - Interface in org.pgpainless.signature.subpackets
- CertificationSubpackets.Callback - Interface in org.pgpainless.signature.subpackets
- CertificationType - Enum in org.pgpainless.algorithm
-
Subset of
SignatureType
, reduced to certification types. - certify() - Static method in class org.pgpainless.PGPainless
-
Create different kinds of signatures on other keys.
- CERTIFY_OTHER - org.pgpainless.algorithm.KeyFlag
-
This key may be used to certify other keys.
- CertifyCertificate - Class in org.pgpainless.key.certification
-
API for creating certifications and delegations (Signatures) on keys.
- CertifyCertificate() - Constructor for class org.pgpainless.key.certification.CertifyCertificate
- CertifyCertificate.CertificationOnUserId - Class in org.pgpainless.key.certification
- CertifyCertificate.CertificationOnUserIdWithSubpackets - Class in org.pgpainless.key.certification
- CertifyCertificate.CertificationResult - Class in org.pgpainless.key.certification
- CertifyCertificate.DelegationOnCertificate - Class in org.pgpainless.key.certification
- CertifyCertificate.DelegationOnCertificateWithSubpackets - Class in org.pgpainless.key.certification
- 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.OpenPgpFingerprint
- charAt(int) - Method in class org.pgpainless.key.util.UserId
- child - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- clear() - Method in class org.bouncycastle.CachingBcPublicKeyDataDecryptorFactory
- 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. - clearEmbeddedSignatures() - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- clearEmbeddedSignatures() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- clearIntendedRecipientFingerprints() - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- clearIntendedRecipientFingerprints() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- clearNotationData() - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- clearNotationData() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- clearRevocationKeys() - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- clearRevocationKeys() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- ClearsignedMessageUtil - Class in org.pgpainless.decryption_verification.cleartext_signatures
-
Utility class to deal with cleartext-signed messages.
- cleartextSigned - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Message
- close() - Method in class org.pgpainless.decryption_verification.IntegrityProtectedInputStream
- close() - Method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- close() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- close() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
- close() - Method in class org.pgpainless.encryption_signing.CRLFGeneratorStream
- close() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- close() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- 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.
- COMP - org.pgpainless.algorithm.OpenPgpPacket
- compare(PGPSignature, PGPSignature) - Method in class org.pgpainless.signature.consumer.SignatureCreationDateComparator
- compare(PGPSignature, PGPSignature) - Method in class org.pgpainless.signature.consumer.SignatureValidityComparator
- compare(UserId, UserId) - Method in class org.pgpainless.key.util.UserId.DefaultComparator
- compare(UserId, UserId) - Method in class org.pgpainless.key.util.UserId.DefaultIgnoreCaseComparator
- compare(UserId, UserId, Comparator<UserId>) - Static method in class org.pgpainless.key.util.UserId
- compareTo(RevocationState) - Method in class org.pgpainless.algorithm.RevocationState
- compareTo(OpenPgpFingerprint) - Method in class org.pgpainless.key._64DigitFingerprint
- compareTo(OpenPgpFingerprint) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- CompressedData - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
A
PGPCompressedData
packet. - CompressedData(CompressionAlgorithm, int) - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.CompressedData
- CompressedMessage - org.pgpainless.decryption_verification.syntax_check.State
- CompressionAlgorithm - Enum in org.pgpainless.algorithm
-
Enumeration of possible compression algorithms.
- CompressionAlgorithmPolicy(CompressionAlgorithm, List<CompressionAlgorithm>) - Constructor for class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- concat(T, T[]) - Static method in class org.pgpainless.util.CollectionUtils
-
Return a new array which contains
- ConsumerOptions - Class in org.pgpainless.decryption_verification
-
Options for decryption and signature verification.
- ConsumerOptions() - Constructor for class org.pgpainless.decryption_verification.ConsumerOptions
- ConsumerOptions.CertificateSource - Class in org.pgpainless.decryption_verification
-
Source for OpenPGP certificates.
- contains(T[], T) - Static method in class org.pgpainless.util.CollectionUtils
-
Return true, if the given array
- containsAny(int, KeyFlag...) - Static method in enum org.pgpainless.algorithm.KeyFlag
- containsEmailAddress(CharSequence) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that filters for user-ids which contain the given
- containsKey(K) - Method in class org.pgpainless.util.MultiMap
- containsSubstring(CharSequence) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that filters for user-ids which contain the given
- 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(OpenPgpFingerprint) - 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.consumer.SignatureValidator
-
Verify that a primary key binding signature is correct.
- correctSignatureOverKey(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a direct-key signature is correct.
- correctSignatureOverUserAttributes(PGPUserAttributeSubpacketVector, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature over a user-attribute packet is correct.
- correctSignatureOverUserId(String, PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature over a user-id is correct.
- correctSubkeyBindingSignature(PGPPublicKey, PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a subkey binding signature is correct.
- costlyRecoverSessionData(int, byte[][]) - Method in class org.bouncycastle.CachingBcPublicKeyDataDecryptorFactory
- 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.OpenPgpMessageInputStream
-
Create an
OpenPgpMessageInputStream
suitable for decryption and verification of OpenPGP messages and signatures. - create(InputStream, ConsumerOptions, MessageMetadata.Layer, Policy) - Static method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- create(InputStream, ConsumerOptions, Policy) - Static method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
-
Create an
OpenPgpMessageInputStream
suitable for decryption and verification of OpenPGP messages and signatures. - createCertificateRevocation() - Static method in class org.pgpainless.key.util.RevocationAttributes
-
Build a
RevocationAttributes
object suitable for certification (e.g. user-id) revocations. - createDataDecryptor(boolean, int, byte[]) - Method in class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
- createDataDecryptor(AEADEncDataPacket, PGPSessionKey) - Method in class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
- createDataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey) - Method in class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
- createEmptySubpackets() - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- createHashedSubpackets(PGPPublicKey) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- createHashedSubpacketsFrom(PGPPublicKey, PGPSignatureSubpacketVector) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- createKeyRevocation() - Static method in class org.pgpainless.key.util.RevocationAttributes
-
Build a
RevocationAttributes
object suitable for key revocations. - createMinimalRevocationCertificate(SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createMinimalRevocationCertificate(SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a minimal, self-authorizing revocation certificate, containing only the primary key and a revocation signature.
- createRevocation(long, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocation(long, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the specified subkey.
- createRevocation(long, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocation(long, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the specified subkey.
- createRevocation(OpenPgpFingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the specified subkey.
- createRevocation(SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- createRevocation(SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Create a detached revocation certificate, which can be used to revoke the whole key.
- createSubpacketsFrom(PGPSignatureSubpacketVector) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- CRLFGeneratorStream - Class in org.pgpainless.encryption_signing
-
OutputStream
which applies CR-LF encoding of its input data, based on the desiredStreamEncoding
. - CRLFGeneratorStream(OutputStream, StreamEncoding) - Constructor for class org.pgpainless.encryption_signing.CRLFGeneratorStream
- crlfOut - Variable in class org.pgpainless.encryption_signing.CRLFGeneratorStream
- CustomPublicKeyDataDecryptorFactory - Interface in org.pgpainless.decryption_verification
-
Custom
PublicKeyDataDecryptorFactory
which can enable customized implementations of message decryption using public keys.
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
-
Builder class that takes an
InputStream
of ciphertext (or plaintext signed data) and combines it with a configuredConsumerOptions
object to form aDecryptionStream
which can be used to decrypt an OpenPGP message or verify signatures. - DecryptionBuilder() - Constructor for class org.pgpainless.decryption_verification.DecryptionBuilder
- DecryptionBuilderInterface - Interface in org.pgpainless.decryption_verification
- DecryptionBuilderInterface.DecryptWith - Interface in org.pgpainless.decryption_verification
- decryptionKey - Variable in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- DecryptionStream - Class in org.pgpainless.decryption_verification
-
Abstract definition of an
InputStream
which can be used to decrypt / verify OpenPGP messages. - DecryptionStream() - Constructor for class org.pgpainless.decryption_verification.DecryptionStream
- decryptSessionKey(long, int, byte[]) - Method in interface org.pgpainless.decryption_verification.HardwareSecurity.DecryptionCallback
-
Delegate decryption of a Public-Key-Encrypted-Session-Key (PKESK) to an external API for dealing with hardware security modules such as smartcards or TPMs.
- DEFAULT_ORDER - Static variable in class org.pgpainless.signature.consumer.SignatureCreationDateComparator
- DefaultComparator() - Constructor for class org.pgpainless.key.util.UserId.DefaultComparator
- defaultCompressionAlgorithm() - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- defaultCompressionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
-
Deprecated.not expressive - might be removed in a future release
- defaultHashAlgorithm() - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return the default hash algorithm.
- DefaultIgnoreCaseComparator() - Constructor for class org.pgpainless.key.util.UserId.DefaultIgnoreCaseComparator
- defaultPublicKeyAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.PublicKeyAlgorithmPolicy
-
Deprecated.not expressive - might be removed in a future release
- defaultRevocationSignatureHashAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Deprecated.not expressive - will be removed in an upcoming release
- 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
-
Deprecated.not expressive - will be removed in an upcoming release
- defaultSymmetricKeyDecryptionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Deprecated.not expressive - will be removed in a future update
- defaultSymmetricKeyEncryptionAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Deprecated.not expressive - will be removed in a future release
- delayedTee - Variable in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- DelayedTeeInputStream(InputStream, OutputStream) - Constructor for class org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
- depth - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- DES - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Reserved in RFC4880.
- detachedSignature(PGPSignatureGenerator, HashAlgorithm) - Static method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
-
Detached signing method.
- detachSignaturesFromInbandClearsignedMessage(InputStream, OutputStream) - Static method in class org.pgpainless.decryption_verification.cleartext_signatures.ClearsignedMessageUtil
-
Dearmor a clearsigned message, detach the inband signatures and write the plaintext message to the provided messageOutputStream.
- determineEncryptionInfoForMessage(InputStream) - Static method in class org.pgpainless.decryption_verification.MessageInspector
-
Parses parts of the provided OpenPGP message in order to determine which keys were used to encrypt it.
- determineEncryptionInfoForMessage(String) - Static method in class org.pgpainless.decryption_verification.MessageInspector
-
Parses parts of the provided OpenPGP message in order to determine which keys were used to encrypt it.
- 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.
- DirectKeySelfSignatureBuilder - Class in org.pgpainless.signature.builder
- DirectKeySelfSignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- DirectKeySelfSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- DISABLED - org.pgpainless.policy.Policy.SignerUserIdValidationLevel
-
PGPainless will ignore
SignerUserID
subpackets on signature. - DIVERT_TO_CARD - org.gnupg.GnuPGDummyExtension
-
A stub to access smartcards.
- divertPrivateKeysToCard(GnuPGDummyKeyUtil.KeyFilter) - Method in class org.gnupg.GnuPGDummyKeyUtil.Builder
-
Remove all private keys that match the given
GnuPGDummyKeyUtil.KeyFilter
from the key ring and replace them with GNU_DUMMY keys with S2K protection modeGnuPGDummyExtension.DIVERT_TO_CARD
. - divertPrivateKeysToCard(GnuPGDummyKeyUtil.KeyFilter, byte[]) - Method in class org.gnupg.GnuPGDummyKeyUtil.Builder
-
Remove all private keys that match the given
GnuPGDummyKeyUtil.KeyFilter
from the key ring and replace them with GNU_DUMMY keys with S2K protection modeGnuPGDummyExtension.DIVERT_TO_CARD
. - DocumentSignatureType - Enum in org.pgpainless.algorithm
-
Subset of
SignatureType
, used for signatures over documents. - 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
- EAX - org.pgpainless.algorithm.AEADAlgorithm
- 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
-
Deprecated.the use of ElGamal is not recommended anymore.
- ELGAMAL_ENCRYPT - org.pgpainless.algorithm.PublicKeyAlgorithm
-
ElGamal with usage encryption.
- ELGAMAL_GENERAL - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.
- ElGamalLength - Enum in org.pgpainless.key.generation.type.elgamal
-
Deprecated.the use of ElGamal keys is no longer recommended.
- 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
. - EncryptedData - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
A
PGPEncryptedDataList
object. - EncryptedData(SymmetricKeyAlgorithm, int) - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- EncryptedMessage - org.pgpainless.decryption_verification.syntax_check.State
- 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
- EncryptionInfo() - Constructor for class org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
- 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
-
OutputStream that produces an OpenPGP message.
- 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.
- EndOfSequence - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
Marks the end of a (sub-) sequence.
- entrySet() - Method in class org.pgpainless.util.MultiMap
- equals(Object) - Method in class org.pgpainless.algorithm.RevocationState
- equals(Object) - Method in class org.pgpainless.key._64DigitFingerprint
- 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(CharSequence) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that filters for user-ids which match the given
- ExactUserId - Class in org.pgpainless.util.selection.keyring.impl
-
Implementations of
KeyRingSelectionStrategy
which select key rings based on the exact user-id. - ExactUserId.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
-
PublicKeyRingSelectionStrategy
which acceptsPGPPublicKeyRings
if those have a user-id which exactly matches the given - ExactUserId.SecRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
-
SecretKeyRingSelectionStrategy
which acceptsPGPSecretKeyRings
if those have a user-id which exactly matches the given - EXP_1 - org.pgpainless.algorithm.OpenPgpPacket
- EXP_2 - org.pgpainless.algorithm.OpenPgpPacket
- EXP_3 - org.pgpainless.algorithm.OpenPgpPacket
- EXP_4 - org.pgpainless.algorithm.OpenPgpPacket
- ExpiredKeyException(OpenPgpFingerprint, Date) - Constructor for exception org.pgpainless.exception.KeyException.ExpiredKeyException
- exportableCertification - org.pgpainless.algorithm.SignatureSubpacket
-
Denotes whether 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.decryption_verification.SignatureVerification.Failure
-
Construct a signature verification failure object.
- 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.
- fileName - Variable in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- filter(long) - Method in interface org.gnupg.GnuPGDummyKeyUtil.KeyFilter
-
Return true, if the given key should be selected, false otherwise.
- fingerprint - Variable in class org.pgpainless.key.OpenPgpFingerprint
- firstMatch(List<String>) - Method in class org.pgpainless.util.selection.userid.SelectUserId
-
Return the first valid, acceptable user-id from the list of user-ids.
- firstMatch(PGPKeyRing) - Method in class org.pgpainless.util.selection.userid.SelectUserId
-
Return the first valid, acceptable user-id from the given public or secret key ring.
- flatten() - Method in class org.pgpainless.util.MultiMap
-
Return all values of the
MultiMap
in a singleLinkedHashSet
. - flush() - Method in class org.pgpainless.encryption_signing.CRLFGeneratorStream
- flush() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- forceNonOpenPgpData() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Force PGPainless to handle the data provided by the
InputStream
as non-OpenPGP data. - 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
- forKeyId(long, Passphrase) - Static method in class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- format - Variable in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- formatKeyId(long) - Static method in class org.pgpainless.key.util.KeyIdUtil
- 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.Feature
-
Convert a bitmask into a list of
KeyFlags
. - 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
-
Decode a machine-readable reason code.
- 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
-
Return the
Feature
encoded by the given id. - fromId(int) - Static method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Return the
AEADAlgorithm
value that corresponds to the provided algorithm id. - 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
- fromTag(int) - Static method in enum org.pgpainless.algorithm.OpenPgpPacket
- fromUri(URI) - Static method in class org.pgpainless.key.OpenPgpV4Fingerprint
-
Convert an openpgp4fpr URI to an
OpenPgpV4Fingerprint
. - fullyTrusted() - Static method in class org.pgpainless.algorithm.Trustworthiness
-
This means that we are fully convinced of the trustworthiness of the key.
G
- GCM - org.pgpainless.algorithm.AEADAlgorithm
- generateKeyPair(KeySpec) - Static method in class org.pgpainless.key.generation.KeyRingBuilder
- generateKeyRing() - Static method in class org.pgpainless.PGPainless
-
Generate a fresh OpenPGP key ring from predefined templates.
- GENERIC - org.pgpainless.algorithm.CertificationType
-
The issuer of this certification does not make any particular assertion as to how well the certifier has checked that the owner of the key is in fact the person described by the User ID.
- GENERIC_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Generic certification of a User ID and Public-Key packet.
- get() - Static method in class org.pgpainless.decryption_verification.ConsumerOptions
- get() - Static method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Factory method to create an
EncryptionOptions
object which will encrypt for keys which carry either theKeyFlag.ENCRYPT_COMMS
orKeyFlag.ENCRYPT_STORAGE
flag. - get() - Static method in class org.pgpainless.encryption_signing.SigningOptions
- get(InputStream) - Static method in class org.pgpainless.util.ArmoredInputStreamFactory
-
Return an instance of
ArmoredInputStream
which will detect CRC errors. - get(OutputStream) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Wrap an
OutputStream
inside a preconfiguredArmoredOutputStream
. - get(OutputStream, ProducerOptions) - Static method in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Return an instance of the
ArmoredOutputStream
which might have pre-populated armor headers. - get(K) - Method in class org.pgpainless.util.MultiMap
- get3rdPartyCertificationsFor(String, PGPPublicKeyRing) - Static method in class org.pgpainless.signature.SignatureUtils
- getA() - Method in class org.pgpainless.util.Tuple
- getAlgorithm() - Method in class org.pgpainless.decryption_verification.MessageMetadata.CompressedData
-
Return the
CompressionAlgorithm
used to compress the packet. - getAlgorithm() - Method in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
-
Return the
SymmetricKeyAlgorithm
used to encrypt the packet. - 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
-
Deprecated.
- 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.
- getAlgorithm() - Method in class org.pgpainless.util.SessionKey
-
Return the symmetric key algorithm.
- getAlgorithmId() - Method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Return the ID of the AEAD algorithm.
- 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
-
Deprecated.
- 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
- getAmount() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Get the trust amount.
- 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
-
Return all ASCII armor header values of the given headerKey from the given
ArmoredInputStream
. - getB() - Method in class org.pgpainless.util.Tuple
- getBitStrength() - Method in class org.pgpainless.key.generation.type.ecc.ecdh.ECDH
- getBitStrength() - Method in class org.pgpainless.key.generation.type.ecc.ecdsa.ECDSA
- getBitStrength() - Method in enum org.pgpainless.key.generation.type.ecc.EllipticCurve
- getBitStrength() - Method in class org.pgpainless.key.generation.type.eddsa.EdDSA
- getBitStrength() - Method in enum org.pgpainless.key.generation.type.eddsa.EdDSACurve
- getBitStrength() - Method in class org.pgpainless.key.generation.type.elgamal.ElGamal
-
Deprecated.
- getBitStrength() - Method in interface org.pgpainless.key.generation.type.KeyType
-
Return the strength of the key in bits.
- getBitStrength() - Method in class org.pgpainless.key.generation.type.rsa.RSA
- getBitStrength() - Method in class org.pgpainless.key.generation.type.xdh.XDH
- getBitStrength() - Method in enum org.pgpainless.key.generation.type.xdh.XDHSpec
- getBuilder() - Static method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getBuilder(KeyType, KeyFlag, KeyFlag...) - Static method in class org.pgpainless.key.generation.KeySpec
- getBytes() - Method in class org.pgpainless.decryption_verification.cleartext_signatures.InMemoryMultiPassStrategy
- getCertificate(long) - Method in class org.pgpainless.decryption_verification.ConsumerOptions.CertificateSource
-
Return a certificate which contains a subkey with the given keyId.
- getCertificates() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Deprecated.use
ConsumerOptions.getCertificateSource()
instead. - getCertificateSource() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return an object holding available certificates for signature verification.
- getCertification() - Method in class org.pgpainless.key.certification.CertifyCertificate.CertificationResult
-
Return the signature.
- getCertifiedCertificate() - Method in class org.pgpainless.key.certification.CertifyCertificate.CertificationResult
-
Return the certificate, which now contains the signature.
- 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
-
Return all ASCII armor header values of type charset from the given
ArmoredInputStream
. - getChild() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return the nested child element of this layer.
- 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.
- getComment() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return comment set for header in ascii armored output.
- getComment() - Method in class org.pgpainless.key.util.UserId
- getCommentHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Extract all ASCII armor header values of type comment from the given
ArmoredInputStream
. - getCompressionAlgorithm() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the
CompressionAlgorithm
of the outermost compressed data packet, or null, if the message does not contain any compressed data packets. - 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.
- 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
- getCompressionAlgorithms() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return an
Iterator
ofCompressionAlgorithms
encountered in the message. - getCompressionLayers() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- 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
- getDate() - Method in class org.pgpainless.algorithm.RevocationState
- getDecoderStream(InputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Hacky workaround for #96.
- getDecryptionKey() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the
SubkeyIdentifier
of the decryption key that was used to decrypt the outermost encryption layer. - 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
-
Return the set of available decryption keys.
- getDecryptionPassphrases() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the set of available message decryption passphrases.
- getDecryptionSubkeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all subkeys that could potentially be used to decrypt a message.
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.BaseSecretKeyRingProtector
- getDecryptor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- 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.
- getDelegations(PGPPublicKeyRing) - Static method in class org.pgpainless.signature.SignatureUtils
- getDepth() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Get the depth of the trust signature.
- getDescription() - Method in class org.pgpainless.key.util.RevocationAttributes
-
Return the human-readable description for the revocation reason.
- getDetachedSignatures() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the set of detached signatures the user provided.
- 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.
- getEmbeddedSignatureSubpackets() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getEncoding() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getEncryptionAlgorithm() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the
SymmetricKeyAlgorithm
of the outermost encrypted data packet, or null if message is unencrypted. - 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
-
Return the encryption algorithm.
- getEncryptionAlgorithms() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return an
Iterator
ofSymmetricKeyAlgorithms
encountered in the message. - getEncryptionLayers() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- getEncryptionOptions() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- getEncryptionSubkeys(CharSequence, 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.BaseSecretKeyRingProtector
- getEncryptor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- 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.
- getExplicitCertificates() - Method in class org.pgpainless.decryption_verification.ConsumerOptions.CertificateSource
-
Return the set of explicitly set verification certificates.
- getExportableCertification(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signatures exportable certification subpacket from the hashed area.
- getExportableSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getFactory() - Static method in class org.pgpainless.provider.ProviderFactory
- getFeatureId() - Method in enum org.pgpainless.algorithm.Feature
-
Return the id of the feature.
- getFeatures(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the features subpacket from the signatures hashed area.
- getFeaturesSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.MessageMetadata
-
Return the value of the literal data packet's filename field.
- getFileName() - Method in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
-
Return the value of the filename field.
- 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 exception org.pgpainless.exception.KeyException
- getFingerprint() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the
OpenPgpFingerprint
of this key ring. - getFingerprint() - Method in class org.pgpainless.key.SubkeyIdentifier
- getFingerprint() - Method in class org.pgpainless.signature.consumer.SignatureCheck
-
Deprecated.use
SignatureCheck.getSigningKeyIdentifier()
instead. TODO: Remove in 1.2.X - getFlag() - Method in enum org.pgpainless.algorithm.KeyFlag
-
Return the numeric id of the
KeyFlag
. - getFormat() - Method in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
-
Return the value of the format field.
- getG() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Deprecated.
- getHashAlgorithm() - Method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
- getHashAlgorithm() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
-
Return the hash algorithm.
- 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
-
Return a list of
HashAlgorithm
enums extracted from the hash header entries of the givenArmoredInputStream
. - 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. - getHashedSubpackets() - Method in class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- getHashedSubpackets() - Method in class org.pgpainless.signature.builder.UniversalSignatureBuilder
- getHashHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Return all ASCII armor header values of type hash-algorithm from the given
ArmoredInputStream
. - getId() - Method in enum org.gnupg.GnuPGDummyExtension
- getIdsOfKeysWithGnuPGS2KDivertedToCard(PGPSecretKeyRing) - Static method in class org.gnupg.GnuPGDummyKeyUtil
-
Return the key-ids of all keys which appear to be stored on a hardware token / smartcard by GnuPG.
- 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.
- getIntendedRecipientFingerprintSubpackets() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.
- getIssuerFingerprintAsOpenPgpFingerprint(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the
IssuerFingerprint
subpacket of the signature into aOpenPgpFingerprint
. - getIssuerFingerprintSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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. - getIssuerKeyIdSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getIvLength() - Method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Return the length (in octets) of the IV.
- getKey() - Method in class org.pgpainless.util.SessionKey
-
Return the bytes of the key.
- getKeyCreationDate() - Method in class org.pgpainless.key.generation.KeySpec
- 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.
- getKeyExpirationTimeSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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 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. - getKeyFlagsSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getKeyGenerationAlgorithmSuite() - Method in class org.pgpainless.policy.Policy
-
Return the current
AlgorithmSuite
which defines preferred algorithms used during key generation. - getKeyId() - Method in class org.pgpainless.key._64DigitFingerprint
- 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.OpenPgpFingerprint
-
Return the key id of the OpenPGP public key this
OpenPgpFingerprint
belongs to. - getKeyId() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- getKeyId() - Method in class org.pgpainless.key.SubkeyIdentifier
- getKeyIds() - Method in class org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
-
Return a list of recipient key ids for whom the message is encrypted.
- getKeyIds() - Method in exception org.pgpainless.exception.MissingPassphraseException
- getKeyLifetimeInSeconds(Date, Date) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Calculate the duration in seconds until the key expires after creation.
- getKeys() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the underlying
PGPKeyRing
. - 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.
- getKeyType() - Method in class org.pgpainless.key.generation.KeySpec
- 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(CharSequence) - 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
-
Deprecated.
- getLength() - Method in interface org.pgpainless.key.generation.type.KeyLength
- getLength() - Method in enum org.pgpainless.key.generation.type.rsa.RsaLength
- getLiteralDataEncoding() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the value of the format field of the literal data packet.
- getMessageIdHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Extract all ASCII armor header values of type message id from the given
ArmoredInputStream
. - getMessageInputStream() - Method in class org.pgpainless.decryption_verification.cleartext_signatures.InMemoryMultiPassStrategy
- getMessageInputStream() - Method in interface org.pgpainless.decryption_verification.cleartext_signatures.MultiPassStrategy
-
Provide an
InputStream
which contains the data that was previously written away inMultiPassStrategy.getMessageOutputStream()
. - getMessageInputStream() - Method in class org.pgpainless.decryption_verification.cleartext_signatures.WriteToFileMultiPassStrategy
- getMessageOutputStream() - Method in class org.pgpainless.decryption_verification.cleartext_signatures.InMemoryMultiPassStrategy
- getMessageOutputStream() - Method in interface org.pgpainless.decryption_verification.cleartext_signatures.MultiPassStrategy
-
Provide an
OutputStream
into which the signed data can be read into. - getMessageOutputStream() - Method in class org.pgpainless.decryption_verification.cleartext_signatures.WriteToFileMultiPassStrategy
- getMetadata() - Method in class org.pgpainless.decryption_verification.DecryptionStream
-
Return
metadata
about the decrypted / verified message. - getMetadata() - Method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- getMissingCertificateCallback() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the callback that gets called when a certificate for signature verification is missing.
- getMissingSecretKeyId() - Method in exception org.pgpainless.exception.KeyException.MissingSecretKeyException
- getModificationDate() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the value of the literal data packets modification date field.
- getModificationDate() - Method in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
-
Return the value of the modification date field.
- 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.
- getMultiPassStrategy() - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Return the currently configured
MultiPassStrategy
. - 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
-
Deprecated.
- 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
- getName(boolean) - Method in class org.pgpainless.key.util.UserId
- getNewState() - Method in class org.pgpainless.decryption_verification.syntax_check.Transition
-
Return the new
State
that is reached by applying the transition. - getNotationDataSubpackets() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getNotationRegistry() - Method in class org.pgpainless.policy.Policy
-
Return the
NotationRegistry
of PGPainless. - getOnePassSignature() - Method in class org.pgpainless.signature.consumer.OnePassSignatureCheck
-
Return the
PGPOnePassSignature
object. - getOrGuessPreferredHashAlgorithms(PGPPublicKey) - Static method in class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
-
Try to extract hash algorithm preferences from self signatures.
- getP() - Method in enum org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Deprecated.
- 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(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
- 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
- getPGPObjectFactory(byte[]) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPObjectFactory(byte[]) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPObjectFactory(byte[]) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getPGPObjectFactory(InputStream) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getPGPObjectFactory(InputStream) - Method in class org.pgpainless.implementation.ImplementationFactory
- getPGPObjectFactory(InputStream) - 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.
- getPolicyURI() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getPossiblyExpiredPrimaryUserId() - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredCompressionAlgorithms() - Method in class org.pgpainless.key.info.KeyAccessor
-
Return preferred compression algorithms.
- getPreferredCompressionAlgorithms() - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredCompressionAlgorithms(long) - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredCompressionAlgorithms(CharSequence) - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredCompressionAlgorithms(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the compression algorithm preferences from the signatures hashed area.
- getPreferredCompressionAlgorithmsSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getPreferredHashAlgorithms() - Method in class org.pgpainless.key.info.KeyAccessor
-
Return preferred hash algorithms.
- getPreferredHashAlgorithms() - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredHashAlgorithms(long) - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredHashAlgorithms(CharSequence) - Method in class org.pgpainless.key.info.KeyRingInfo
- 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.
- getPreferredHashAlgorithmsSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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() - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredSymmetricKeyAlgorithms(long) - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredSymmetricKeyAlgorithms(CharSequence) - Method in class org.pgpainless.key.info.KeyRingInfo
- getPreferredSymmetricKeyAlgorithmsSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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
OpenPgpFingerprint
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
- getPrimaryUserId(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the primary user-id subpacket from the signatures hashed area.
- getPrimaryUserIdSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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(OpenPgpFingerprint) - 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
-
Return the public key with the given subKeyId from the keyRing.
- 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. - getPushedItems() - Method in class org.pgpainless.decryption_verification.syntax_check.Transition
-
Return a list of
StackSymbols
that are pushed onto the stack by applying the transition. - getReason() - Method in class org.pgpainless.key.util.RevocationAttributes
-
Return the machine-readable reason for revocation.
- getRecipientKeyIds() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return a list containing all recipient keyIDs.
- 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.decryption_verification.MessageMetadata.EncryptedData
-
Return a list of all recipient key ids to which the packet was encrypted for.
- getRecipients() - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Return the set of recipient encryption keys.
- getReferenceTime() - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- getReferenceTime() - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Return the editors reference time.
- getRegularExpression() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getRegularExpressions(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return all regular expression subpackets from the hashed area of the given signature.
- getRejectedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return a list of all rejected detached signatures.
- getRejectedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all rejected detached signatures of this layer.
- getRejectedInlineSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return a list of all rejected inline-signatures of the message.
- getRejectedInlineSignaturesByLayer() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Similar to
MessageMetadata.getVerifiedInlineSignaturesByLayer()
, this method returns all rejected inline-signatures of the message, but organized by layer. - getRejectedOnePassSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all rejected one-pass-signatures of this layer.
- getRejectedPrependedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all rejected prepended signatures of this layer.
- getResidualSubpackets() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getResult() - Method in class org.pgpainless.decryption_verification.DecryptionStream
-
Deprecated.use
DecryptionStream.getMetadata()
instead. - 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.
- getRevocableSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.
- getRevocationKeySubpackets() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getRevocationReason(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the revocation reason subpacket of the signature.
- getRevocationReasonSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.
- getRevocationState() - Method in class org.pgpainless.key.info.KeyRingInfo
- getS2kCount() - Method in class org.pgpainless.key.protection.KeyRingProtectionSettings
-
Return the (encoded!)
- 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(OpenPgpFingerprint) - 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
-
Return the
SecretKeyRingProtector
for the givenPGPSecretKeyRing
. - 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.
- getSessionKey() - Method in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
-
Return the
SessionKey
used to decrypt the packet. - getSessionKey() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return the
SessionKey
of the outermost encrypted data packet. - getSessionKey() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getSessionKeyDataDecryptorFactory(PGPSessionKey) - Method in class org.pgpainless.implementation.BcImplementationFactory
- getSessionKeyDataDecryptorFactory(PGPSessionKey) - Method in class org.pgpainless.implementation.ImplementationFactory
- getSessionKeyDataDecryptorFactory(PGPSessionKey) - Method in class org.pgpainless.implementation.JceImplementationFactory
- getSessionKeyDataDecryptorFactory(SessionKey) - Method in class org.pgpainless.implementation.ImplementationFactory
- getSessionKeys() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return an
Iterator
ofSessionKeys
for all encrypted data packets in the message. - getSignature() - Method in class org.pgpainless.decryption_verification.SignatureVerification
-
Return the
PGPSignature
. - getSignature() - Method in class org.pgpainless.signature.consumer.OnePassSignatureCheck
-
Return the signature.
- getSignature() - Method in class org.pgpainless.signature.consumer.SignatureCheck
-
Return the OpenPGP signature.
- getSignatureCreationTime(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the signature creation time subpacket.
- getSignatureCreationTimeSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.
- getSignatureExpirationTimeSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getSignatureGenerator() - Method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
- getSignatureGenerator() - Method in class org.pgpainless.signature.builder.UniversalSignatureBuilder
- 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.
- getSignaturesOverUserIdBy(PGPPublicKey, String, long) - Static method in class org.pgpainless.signature.SignatureUtils
-
Extract all signatures from the given
- getSignatureSubpacket(PGPSignatureSubpacketVector, SignatureSubpacket) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the last occurrence 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.
- getSignatureTargetSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getSignatureType() - Method in enum org.pgpainless.algorithm.DocumentSignatureType
- getSignatureVerification() - Method in class org.pgpainless.decryption_verification.SignatureVerification.Failure
-
Return the verification (tuple of
PGPSignature
and correspondingSubkeyIdentifier
) of the signing/verification key. - 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.SubKey
- 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.
- getSignerUserIdSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getSignerUserIdValidationLevel() - Method in class org.pgpainless.policy.Policy
-
Return the level of validation PGPainless shall do on
SignerUserID
subpackets. - getSigningKey() - Method in class org.pgpainless.decryption_verification.SignatureVerification
-
Return a
SubkeyIdentifier
of the (sub-) key that is used for signature verification. - getSigningKey() - Method in class org.pgpainless.signature.consumer.OnePassSignatureCheck
-
Return an identifier for the signing key.
- getSigningKeyIdentifier() - Method in class org.pgpainless.signature.consumer.SignatureCheck
-
Return an identifier pointing to the exact signing key which was used to create this signature.
- getSigningKeyRing() - Method in class org.pgpainless.signature.consumer.SignatureCheck
-
Return the key ring that contains the signing key that created this signature.
- 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.
- getState() - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
-
Return the current state of the PDA.
- getStrippedDownPublicKey(PGPPublicKey) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Strip all user-ids, user-attributes and signatures from the given public key.
- getSubkeyExpirationDate(OpenPgpFingerprint) - 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
OpenPgpFingerprint
of the identified subkey. - getSubkeyId() - Method in class org.pgpainless.key.SubkeyIdentifier
-
Return the key id of the identified subkey.
- getSubkeyIdentifier() - Method in class org.bouncycastle.CachingBcPublicKeyDataDecryptorFactory
- getSubkeyIdentifier() - Method in interface org.pgpainless.decryption_verification.CustomPublicKeyDataDecryptorFactory
-
Return the
SubkeyIdentifier
for which this particularCustomPublicKeyDataDecryptorFactory
is intended. - getSubkeyIdentifier() - Method in class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
- 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.
- getSubpacketGenerator() - Method in class org.pgpainless.key.generation.KeySpec
- getSubpackets() - Method in class org.pgpainless.key.generation.KeySpec
- getSymmetricKeyAlgorithm() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return the algorithm that was used to symmetrically encrypt the message.
- getSymmetricKeyAlgorithms() - Method in class org.pgpainless.algorithm.AlgorithmSuite
- getSymmetricKeyDecryptionAlgorithmPolicy() - 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.
- getTagLength() - Method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Return the length (in octets) of the authentication tag.
- getTrustAmountOr(PGPSignature, int) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- getTrustDepthOr(PGPSignature, int) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- getTrustSignature(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Return the trust signature packet from the signatures hashed area.
- getTrustSubpacket() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- getType() - Method in class org.pgpainless.algorithm.RevocationState
- 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. - getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- getUnhashedSubpackets() - Method in class org.pgpainless.signature.builder.UniversalSignatureBuilder
- getUserIdRevocation(CharSequence) - 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.
- getUserIdsIgnoringInvalidUTF8(PGPPublicKey) - Static method in class org.pgpainless.key.util.KeyRingUtils
- getV4FingerprintCalculator() - Method in class org.pgpainless.implementation.ImplementationFactory
- getValidAndExpiredUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of all user-ids that were valid at some point, but might be expired by now.
- getValidationException() - Method in class org.pgpainless.decryption_verification.SignatureVerification.Failure
-
Return the
SignatureValidationException
that caused the verification to fail. - getValidSubkeys() - Method in class org.pgpainless.key.info.KeyRingInfo
- getValidUserIds() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return a list of valid user-ids.
- getVerificationKeys() - Method in class org.pgpainless.signature.consumer.OnePassSignatureCheck
-
Return the key ring used to verify the signature.
- getVerifiedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return a list of all verified detached signatures.
- getVerifiedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all verified detached signatures of this layer.
- getVerifiedDetachedSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedInbandSignatures() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
- getVerifiedInlineSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return a list of all verified inline-signatures.
- getVerifiedInlineSignaturesByLayer() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Return an
Iterator
ofLists
of verified inline-signatures of the message. - getVerifiedOnePassSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all verified one-pass-signatures of this layer.
- getVerifiedPrependedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Layer
-
Return a list of all verified prepended signatures of this layer.
- getVerifiedSignatures() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- 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.encryption_signing.ProducerOptions
-
Return the version info header in ascii armored output.
- getVersion() - Method in class org.pgpainless.key._64DigitFingerprint
- getVersion() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return the version number of the public keys format.
- getVersion() - Method in class org.pgpainless.key.OpenPgpFingerprint
-
Return the version of the fingerprint.
- getVersion() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- getVersion() - Method in class org.pgpainless.key.OpenPgpV5Fingerprint
- getVersion() - Method in class org.pgpainless.key.OpenPgpV6Fingerprint
- getVersionHeaderValues(ArmoredInputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Return all ASCII armor header values of type version from the given
ArmoredInputStream
. - getViolatingSubkeyId() - Method in exception org.pgpainless.exception.KeyException.PublicKeyAlgorithmPolicyException
- GNUPG_AEAD_ENCRYPTED_DATA - org.pgpainless.algorithm.Feature
-
Support for Authenticated Encryption with Additional Data (AEAD).
- GNUPG_VERSION_5_PUBLIC_KEY - org.pgpainless.algorithm.Feature
-
If a key announces this feature, it is a version 5 public key.
- GnuPGDummyExtension - Enum in org.gnupg
- GnuPGDummyKeyUtil - Class in org.gnupg
-
This class can be used to remove private keys from secret software-keys by replacing them with stub secret keys in the style of GnuPGs proprietary extensions.
- GnuPGDummyKeyUtil.Builder - Class in org.gnupg
- GnuPGDummyKeyUtil.KeyFilter - Interface in org.gnupg
-
Filter for selecting keys.
- guessPreferredHashAlgorithms(PGPPublicKey) - Static method in class org.pgpainless.key.util.OpenPgpKeyAttributeUtil
-
Return the hash algorithm that was used in the latest self signature.
H
- hardRevoked - org.pgpainless.algorithm.RevocationStateType
-
Certificate is revoked with a hard revocation.
- hardRevoked() - Static method in class org.pgpainless.algorithm.RevocationState
- HardwareDataDecryptorFactory(SubkeyIdentifier, HardwareSecurity.DecryptionCallback) - Constructor for class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
-
Create a new
HardwareSecurity.HardwareDataDecryptorFactory
. - HardwareSecurity - Class in org.pgpainless.decryption_verification
-
Enable integration of hardware-backed OpenPGP keys.
- HardwareSecurity() - Constructor for class org.pgpainless.decryption_verification.HardwareSecurity
- HardwareSecurity.DecryptionCallback - Interface in org.pgpainless.decryption_verification
- HardwareSecurity.HardwareDataDecryptorFactory - Class in org.pgpainless.decryption_verification
-
Implementation of
PublicKeyDataDecryptorFactory
which delegates decryption of encrypted session keys to aHardwareSecurity.DecryptionCallback
. - HardwareSecurity.HardwareSecurityException - Exception in org.pgpainless.decryption_verification
- HardwareSecurityException() - Constructor for exception org.pgpainless.decryption_verification.HardwareSecurity.HardwareSecurityException
- hasComment() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return whether a comment was set (!
- 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.
- hasEncryptionMethod() - Method in class org.pgpainless.encryption_signing.EncryptionOptions
-
Return
- hashAlgorithm - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- HashAlgorithm - Enum in org.pgpainless.algorithm
-
An enumeration of different hashing algorithms.
- HashAlgorithmNegotiator - Interface in org.pgpainless.algorithm.negotiation
-
Interface for a class that negotiates
HashAlgorithms
. - HashAlgorithmPolicy(HashAlgorithm, List<HashAlgorithm>) - Constructor for class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Create a
Policy.HashAlgorithmPolicy
which accepts allHashAlgorithms
listed in the given list, regardless of usage date. - HashAlgorithmPolicy(HashAlgorithm, Map<HashAlgorithm, Date>) - Constructor for class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Create a
Policy.HashAlgorithmPolicy
which accepts allHashAlgorithms
from the given map, if the queried usage date is BEFORE the respective termination date. - hashCode() - Method in class org.pgpainless.algorithm.RevocationState
- hashCode() - Method in class org.pgpainless.key._64DigitFingerprint
- 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
- hashedSubpackets - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- 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.
- hasNestedChild() - Method in class org.pgpainless.decryption_verification.MessageMetadata.CompressedData
- hasNestedChild() - Method in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- hasNestedChild() - Method in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- hasNestedChild() - Method in interface org.pgpainless.decryption_verification.MessageMetadata.Nested
- hasPassphrase(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- hasPassphrase(Long) - Method in class org.pgpainless.key.protection.passphrase_provider.MapBasedPassphraseProvider
- hasPassphrase(Long) - Method in interface org.pgpainless.key.protection.passphrase_provider.SecretKeyPassphraseProvider
- hasPassphrase(Long) - Method in class org.pgpainless.key.protection.passphrase_provider.SolitaryPassphraseProvider
- hasPassphraseFor(Long) - Method in class org.pgpainless.key.protection.BaseSecretKeyRingProtector
- hasPassphraseFor(Long) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
- hasPassphraseFor(Long) - Method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Returns true, if the protector has a passphrase for the key with the given key-id.
- hasPassphraseFor(Long) - Method in class org.pgpainless.key.protection.UnprotectedKeysProtector
- hasValidPrimaryKeyBindingSignatureIfRequired(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a subkey binding signature - if the subkey is signing-capable - contains a valid primary key binding signature.
- hasVersion() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return whether a version header was set (!
- HEADER_CHARSET - Static variable in class org.pgpainless.util.ArmorUtils
-
Constant armor key for message character sets.
- HEADER_COMMENT - Static variable in class org.pgpainless.util.ArmorUtils
-
Constant armor key for comments.
- HEADER_HASH - Static variable in class org.pgpainless.util.ArmorUtils
-
Constant armor key for used hash algorithms in clearsigned messages.
- HEADER_MESSAGEID - Static variable in class org.pgpainless.util.ArmorUtils
-
Constant armor key for message IDs.
- HEADER_VERSION - Static variable in class org.pgpainless.util.ArmorUtils
-
Constant armor key for program versions.
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.consumer.SignatureVerifier
-
Initialize a signature and then update it with the signed data from the given
InputStream
. - injectCertification(T, String, PGPSignature) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a user-id certification into the given key ring.
- injectCertification(T, PGPPublicKey, PGPSignature) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a key certification for the given key into the given key ring.
- injectCertification(T, PGPSignature) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a key certification for the primary key into the given key ring.
- injectCertification(T, PGPUserAttributeSubpacketVector, PGPSignature) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a user-attribute vector certification into the given key ring.
- inlineSignature(PGPSignatureGenerator, HashAlgorithm) - Static method in class org.pgpainless.encryption_signing.SigningOptions.SigningMethod
-
Inline-signature method.
- InMemoryMultiPassStrategy - Class in org.pgpainless.decryption_verification.cleartext_signatures
-
Implementation of the
MultiPassStrategy
. - InMemoryMultiPassStrategy() - Constructor for class org.pgpainless.decryption_verification.cleartext_signatures.InMemoryMultiPassStrategy
- InputSymbol - Enum in org.pgpainless.decryption_verification.syntax_check
- inspectKeyRing(PGPKeyRing) - Static method in class org.pgpainless.PGPainless
-
Quickly access information about a
PGPPublicKeyRing
/PGPSecretKeyRing
. - inspectKeyRing(PGPKeyRing, Date) - Static method in class org.pgpainless.PGPainless
-
Quickly access information about a
PGPPublicKeyRing
/PGPSecretKeyRing
. - IntegrityProtectedInputStream - Class in org.pgpainless.decryption_verification
- IntegrityProtectedInputStream(InputStream, PGPEncryptedData, ConsumerOptions) - Constructor for class org.pgpainless.decryption_verification.IntegrityProtectedInputStream
- intendedRecipientFingerprint - org.pgpainless.algorithm.SignatureSubpacket
-
The OpenPGP Key fingerprint of the intended recipient primary key.
- INTERACTIVE - org.pgpainless.decryption_verification.MissingKeyPassphraseStrategy
-
Try to interactively obtain key passphrases one-by-one via callbacks, eg
SecretKeyPassphraseProvider
. - introducer() - Method in class org.pgpainless.algorithm.Trustworthiness.Builder
-
The key is a trusted introducer (depth 1).
- isAcceptable(int) - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- isAcceptable(int) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return true if the given hash algorithm is currently 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(int, Date) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
- isAcceptable(CompressionAlgorithm) - Method in class org.pgpainless.policy.Policy.CompressionAlgorithmPolicy
- isAcceptable(HashAlgorithm) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return true if the given hash algorithm is currently acceptable by this policy.
- isAcceptable(HashAlgorithm, Date) - Method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Return true, if the given algorithm is acceptable for the given usage date.
- 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.
- isApplyCRLFEncoding() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return the input encoding that will be applied before signing / encryption.
- isAsciiArmor() - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Return true if the output of the encryption/signing operation shall be ascii armored.
- isAsciiArmored() - Method in class org.pgpainless.decryption_verification.OpenPgpInputStream
- isBinaryOpenPgp() - Method in class org.pgpainless.decryption_verification.OpenPgpInputStream
-
Return true, if the data is possibly binary OpenPGP.
- isClearText() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- isCleartextSigned() - Method in class org.pgpainless.decryption_verification.MessageMetadata.Message
-
Returns true, is the message is a signed message using the cleartext signature framework.
- isCleartextSigned() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata
-
Return true if the message was signed using the cleartext signature framework.
- isCleartextSigned() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- 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.
- isEnableKeyParameterValidation() - Method in class org.pgpainless.policy.Policy
-
Return true, if countermeasures against the KOpenPGP attacks are enabled, false otherwise.
- isEncrypted() - Method in class org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
-
Return true, if the message is encrypted.
- isEncrypted() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- 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.
- isEncryptedFor(PGPKeyRing) - Method in class org.pgpainless.decryption_verification.MessageMetadata
- isEncryptedFor(PGPPublicKeyRing) - Method in class org.pgpainless.encryption_signing.EncryptionResult
-
Returns true, if the message was encrypted for at least one subkey of the given certificate.
- 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
- isExportable(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
- isForYourEyesOnly() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Returns true, if the filename of the literal data packet indicates that the data is intended for your eyes only.
- 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.
- isFullyTrusted() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Return true if the certificate is fully trusted.
- isHardRevocation() - Method in class org.pgpainless.algorithm.RevocationState
- isHardRevocation(byte) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Return true if the
RevocationAttributes.Reason
the provided code encodes is a hard revocation reason, false otherwise. - isHardRevocation(PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
-
Return true if the provided signature is a hard revocation.
- isHardRevocation(RevocationAttributes.Reason) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Return true if the given
RevocationAttributes.Reason
is a hard revocation, false otherwise. - isHardRevoked(CharSequence) - Method in class org.pgpainless.key.info.KeyRingInfo
- isHideArmorHeaders() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- isIntroducer() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Return true, if the cert is an introducer.
- isKeyRevocation(byte) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Return true if the given reason code denotes a key revocation.
- isKeyRevocation(RevocationAttributes.Reason) - Static method in enum org.pgpainless.key.util.RevocationAttributes.Reason
-
Return true if the given
RevocationAttributes.Reason
denotes a key 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.
- isLikelyOpenPgpMessage() - Method in class org.pgpainless.decryption_verification.OpenPgpInputStream
-
Returns true, if the underlying data is very likely (more than 99,9%) an OpenPGP message.
- isMarginallyTrusted() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Return true if the certificate is at least marginally trusted.
- isNonOpenPgp() - Method in class org.pgpainless.decryption_verification.OpenPgpInputStream
- isNotRevoked() - Method in class org.pgpainless.algorithm.RevocationState
- isNotTrusted() - Method in class org.pgpainless.algorithm.Trustworthiness
-
Returns true, if the trust amount is equal to 0.
- isPassphraseEncrypted() - Method in class org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
- 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
. - isSecretKeyAvailable(long) - Method in class org.pgpainless.key.info.KeyRingInfo
- 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.
- isSignedOnly() - Method in class org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
-
Return true, if the message is not encrypted, but signed using
OnePassSignatures
. - isSigningCapable() - Method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return true if this public key algorithm is able to create signatures.
- isSigningCapable() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true, if the key ring is capable of signing.
- isSoftRevocation() - Method in class org.pgpainless.algorithm.RevocationState
- 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.
- isUsableForEncryption() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true, if the certificate has at least one usable encryption subkey.
- isUsableForEncryption(EncryptionPurpose) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true, if the certificate has at least one usable encryption subkey for the given purpose.
- isUsableForSigning() - Method in class org.pgpainless.key.info.KeyRingInfo
-
Returns true, if this
KeyRingInfo
is based on aPGPSecretKeyRing
, which has a valid signing key which is ready to be used (i.e. secret key is present and is not on a smart-card). - isUserIdValid(CharSequence) - Method in class org.pgpainless.key.info.KeyRingInfo
-
Return true if the provided user-id is valid.
- isUsingCleartextSignatureFramework() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- isValid() - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
-
Return true, if the PDA is in a valid state (the OpenPGP message is valid).
- isValid() - Method in class org.pgpainless.util.Passphrase
-
Return true if the passphrase has not yet been cleared.
- isValid(String) - Method in class org.pgpainless.key._64DigitFingerprint
- isValid(String) - Method in class org.pgpainless.key.OpenPgpFingerprint
-
Check, whether the fingerprint consists of 40 valid hexadecimal characters.
- isValid(String) - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.AbstractSignatureBuilder
-
Return true if the given
SignatureType
is a valid choice for the concrete implementation ofAbstractSignatureBuilder
. - isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.DirectKeySelfSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.RevocationSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.SelfSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- isValidSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.UniversalSignatureBuilder
- 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.
- isVerifiedDetachedSignedBy(PGPKeyRing) - Method in class org.pgpainless.decryption_verification.MessageMetadata
- isVerifiedInlineSignedBy(PGPKeyRing) - Method in class org.pgpainless.decryption_verification.MessageMetadata
- isVerifiedSigned() - Method in class org.pgpainless.decryption_verification.MessageMetadata
- isVerifiedSignedBy(PGPKeyRing) - Method in class org.pgpainless.decryption_verification.MessageMetadata
- iteratorToList(Iterator<I>) - Static method in class org.pgpainless.util.CollectionUtils
-
Return all items returned by the
Iterator
as aList
.
J
- JceImplementationFactory - Class in org.pgpainless.implementation
- JceImplementationFactory() - Constructor for class org.pgpainless.implementation.JceImplementationFactory
K
- keepMessageInMemory() - Static method in interface org.pgpainless.decryption_verification.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
-
The key has potentially been compromised.
- KEY_RETIRED - org.pgpainless.key.util.RevocationAttributes.Reason
-
The key was retired and shall no longer be used.
- 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
-
The key was superseded by another key.
- KeyAccessor - Class in org.pgpainless.key.info
- KeyAccessor.SubKey - 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 (e.g.
- KeyException - Exception in org.pgpainless.exception
- KeyException(String, OpenPgpFingerprint) - Constructor for exception org.pgpainless.exception.KeyException
- KeyException(String, OpenPgpFingerprint, Throwable) - Constructor for exception org.pgpainless.exception.KeyException
- KeyException.ExpiredKeyException - Exception in org.pgpainless.exception
- KeyException.MissingSecretKeyException - Exception in org.pgpainless.exception
- KeyException.PublicKeyAlgorithmPolicyException - Exception in org.pgpainless.exception
- KeyException.RevokedKeyException - Exception in org.pgpainless.exception
- KeyException.UnacceptableEncryptionKeyException - Exception in org.pgpainless.exception
- KeyException.UnacceptableSelfSignatureException - Exception in org.pgpainless.exception
- KeyException.UnacceptableSigningKeyException - Exception in org.pgpainless.exception
- KeyException.UnboundUserIdException - Exception in org.pgpainless.exception
- 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
- KeyIntegrityException - Error in org.pgpainless.exception
-
This exception gets thrown, when the integrity of an OpenPGP key is broken.
- KeyIntegrityException() - Constructor for error org.pgpainless.exception.KeyIntegrityException
- KeyLength - Interface in org.pgpainless.key.generation.type
- keyRing(byte[]) - Method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a
PGPKeyRing
(eitherPGPSecretKeyRing
orPGPPublicKeyRing
) from the given byte array. - keyRing(InputStream) - Method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a
PGPKeyRing
(eitherPGPSecretKeyRing
orPGPPublicKeyRing
) from the givenInputStream
. - keyRing(String) - Method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a
PGPKeyRing
(eitherPGPSecretKeyRing
orPGPPublicKeyRing
) from the given ASCII armored string. - KeyRingBuilder - Class in org.pgpainless.key.generation
- KeyRingBuilder() - Constructor for class org.pgpainless.key.generation.KeyRingBuilder
- KeyRingBuilderInterface<B extends KeyRingBuilderInterface<B>> - 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
-
Return true, if the given
PGPPublicKeyRing
contains aPGPPublicKey
for the given key id. - 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(PGPKeyRing, Policy, 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
-
Secret key protection settings for iterated and salted S2K.
- KeyRingProtectionSettings(SymmetricKeyAlgorithm) - Constructor for class org.pgpainless.key.protection.KeyRingProtectionSettings
-
Create a
KeyRingProtectionSettings
object using the given encryption algorithm, SHA1 and 65536 iterations. - KeyRingProtectionSettings(SymmetricKeyAlgorithm, HashAlgorithm, int) - Constructor for class org.pgpainless.key.protection.KeyRingProtectionSettings
-
Constructor for custom salted and iterated S2K protection settings.
- 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
-
Filter for selecting public / secret key rings based on identifiers (e.g. user-ids).
- keyRingsToKeyRingCollection(PGPPublicKeyRing...) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Create a new
PGPPublicKeyRingCollection
from an array ofPGPPublicKeyRings
. - keyRingsToKeyRingCollection(PGPSecretKeyRing...) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Create a new
PGPSecretKeyRingCollection
from an array ofPGPSecretKeyRings
. - KeyRingTemplates - Class in org.pgpainless.key.generation
- KeyRingTemplates() - Constructor for class org.pgpainless.key.generation.KeyRingTemplates
- KeyRingUtils - Class in org.pgpainless.key.util
- keyServerPreferences - org.pgpainless.algorithm.SignatureSubpacket
-
This is a list of one-bit flags that indicate preferences that the keyholder 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
- keysPlusPublicKey(T, PGPPublicKey) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a
PGPPublicKey
into the given key ring. - keysPlusSecretKey(PGPSecretKeyRing, PGPSecretKey) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject a
PGPSecretKey
into aPGPSecretKeyRing
. - KeyType - Interface in org.pgpainless.key.generation.type
L
- Layer(int) - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.Layer
- length() - Method in class org.pgpainless.key.OpenPgpFingerprint
- length() - Method in class org.pgpainless.key.util.UserId
- LIT - org.pgpainless.algorithm.OpenPgpPacket
- LiteralData - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
A
PGPLiteralData
packet. - LiteralData() - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- LiteralData(String, Date, StreamEncoding) - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- LiteralMessage - org.pgpainless.decryption_verification.syntax_check.State
- LOCAL - org.pgpainless.algorithm.StreamEncoding
-
Deprecated.
- lock - Variable in class org.pgpainless.util.Passphrase
M
- MalformedOpenPgpMessageException - Exception in org.pgpainless.exception
-
Exception that gets thrown if the OpenPGP message is malformed.
- MalformedOpenPgpMessageException(String) - Constructor for exception org.pgpainless.exception.MalformedOpenPgpMessageException
- MalformedOpenPgpMessageException(String, MalformedOpenPgpMessageException) - Constructor for exception org.pgpainless.exception.MalformedOpenPgpMessageException
- MalformedOpenPgpMessageException(State, InputSymbol, StackSymbol) - Constructor for exception org.pgpainless.exception.MalformedOpenPgpMessageException
- 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.
- MARGINALLY_CONVINCED - Static variable in class org.pgpainless.algorithm.Trustworthiness
- marginallyTrusted() - Static method in class org.pgpainless.algorithm.Trustworthiness
-
This means that we are marginally (partially) convinced of the trustworthiness of the key.
- mark(int) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- MARKER - org.pgpainless.algorithm.OpenPgpPacket
- markSupported() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- MAX_BUFFER_SIZE - Static variable in class org.pgpainless.decryption_verification.OpenPgpInputStream
- MAX_ITERATIONS - Static variable in class org.pgpainless.key.parsing.KeyRingReader
- MAX_ITERATIONS - Static variable in class org.pgpainless.signature.SignatureUtils
- MAX_LAYER_DEPTH - Static variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- MD5 - org.pgpainless.algorithm.HashAlgorithm
-
Deprecated.
- MDC - org.pgpainless.algorithm.OpenPgpPacket
- mergeCertificate(PGPPublicKeyRing, PGPPublicKeyRing) - Static method in class org.pgpainless.PGPainless
-
Merge two copies of the same certificate (e.g. an old copy, and one retrieved from a key server) together.
- message - Variable in class org.pgpainless.decryption_verification.MessageMetadata
- Message() - Constructor for class org.pgpainless.decryption_verification.MessageMetadata.Message
- MessageInspector - Class in org.pgpainless.decryption_verification
-
Inspect an OpenPGP message to determine IDs of its encryption keys or whether it is passphrase protected.
- MessageInspector.EncryptionInfo - Class in org.pgpainless.decryption_verification
- MessageMetadata - Class in org.pgpainless.decryption_verification
-
View for extracting metadata about a
MessageMetadata.Message
. - MessageMetadata(MessageMetadata.Message) - Constructor for class org.pgpainless.decryption_verification.MessageMetadata
- MessageMetadata.CompressedData - Class in org.pgpainless.decryption_verification
- MessageMetadata.EncryptedData - Class in org.pgpainless.decryption_verification
- MessageMetadata.Function<A,B> - Interface in org.pgpainless.decryption_verification
- MessageMetadata.Layer - Class in org.pgpainless.decryption_verification
- MessageMetadata.LiteralData - Class in org.pgpainless.decryption_verification
- MessageMetadata.Message - Class in org.pgpainless.decryption_verification
- MessageMetadata.Nested - Interface in org.pgpainless.decryption_verification
- MessageMetadata.Packet - Interface in org.pgpainless.decryption_verification
- MessageNotIntegrityProtectedException - Exception in org.pgpainless.exception
- MessageNotIntegrityProtectedException() - Constructor for exception org.pgpainless.exception.MessageNotIntegrityProtectedException
- metaIntroducer() - Method in class org.pgpainless.algorithm.Trustworthiness.Builder
-
The key is a meta introducer (depth 2).
- metaIntroducerOfDepth(int) - Method in class org.pgpainless.algorithm.Trustworthiness.Builder
-
The key is a meta introducer of depth
- 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
- MissingKeyPassphraseStrategy - Enum in org.pgpainless.decryption_verification
-
Strategy defining how missing secret key passphrases are handled.
- MissingPassphraseException - Exception in org.pgpainless.exception
- MissingPassphraseException(Set<SubkeyIdentifier>) - Constructor for exception org.pgpainless.exception.MissingPassphraseException
- MissingPublicKeyCallback - Interface in org.pgpainless.decryption_verification
- MissingSecretKeyException(OpenPgpFingerprint, long) - Constructor for exception org.pgpainless.exception.KeyException.MissingSecretKeyException
- modernKeyRing(CharSequence) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
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.
- modernKeyRing(CharSequence, String) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
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.
- modernKeyRing(CharSequence, Passphrase) - Method in class org.pgpainless.key.generation.KeyRingTemplates
- MODIFICATION_DETECTION - org.pgpainless.algorithm.Feature
-
Support for Symmetrically Encrypted Integrity Protected Data Packets (version 1) using Modification Detection Code Packets.
- MODIFICATION_DETECTION_2 - org.pgpainless.algorithm.Feature
-
Support for Symmetrically Encrypted Integrity Protected Data packet version 2.
- modificationDate - Variable in class org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- 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
- modify(PGPSecretKeyRing) - Static method in class org.gnupg.GnuPGDummyKeyUtil
-
Modify the given
PGPSecretKeyRing
. - modifyHashedSubpackets(S) - Method in interface org.pgpainless.signature.subpackets.SignatureSubpacketCallback
-
Callback method that can be used to modify the hashed subpackets of a signature.
- modifyKeyRing(PGPSecretKeyRing) - Static method in class org.pgpainless.PGPainless
-
Make changes to a secret key.
- modifyKeyRing(PGPSecretKeyRing, Date) - Static method in class org.pgpainless.PGPainless
-
Make changes to a secret key at the given reference time.
- modifyUnhashedSubpackets(S) - Method in interface org.pgpainless.signature.subpackets.SignatureSubpacketCallback
-
Callback method that can be used to modify the unhashed subpackets of a signature.
- msg - org.pgpainless.decryption_verification.syntax_check.StackSymbol
-
OpenPGP Message.
- 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.decryption_verification.cleartext_signatures
-
Since for verification of cleartext signed messages, we need 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.
- negotiateByPolicy(Policy.HashAlgorithmPolicy) - Static method in interface org.pgpainless.algorithm.negotiation.HashAlgorithmNegotiator
-
Return an instance that negotiates
HashAlgorithms
based on the givenPolicy.HashAlgorithmPolicy
. - negotiateCompressionAlgorithm(ProducerOptions) - Static method in class org.pgpainless.encryption_signing.EncryptionBuilder
- negotiateHashAlgorithm(Set<HashAlgorithm>) - Method in interface org.pgpainless.algorithm.negotiation.HashAlgorithmNegotiator
-
Pick one
HashAlgorithm
from the ordered set of acceptable algorithms. - negotiateHashAlgorithm(PGPPublicKey) - Static method in class org.pgpainless.signature.builder.AbstractSignatureBuilder
-
Negotiate a
HashAlgorithm
to be used when creating the signature. - negotiateRevocationSignatureAlgorithm(Policy) - Static method in interface org.pgpainless.algorithm.negotiation.HashAlgorithmNegotiator
-
Return an instance that negotiates
HashAlgorithms
used for revocation signatures based on the givenPolicy
. - negotiateSignatureHashAlgorithm(Policy) - Static method in interface org.pgpainless.algorithm.negotiation.HashAlgorithmNegotiator
-
Return an instance that negotiates
HashAlgorithms
used for non-revocation signatures based on the givenPolicy
. - negotiateSymmetricEncryptionAlgorithm(EncryptionOptions) - Static method in class org.pgpainless.encryption_signing.EncryptionBuilder
-
Negotiate the
SymmetricKeyAlgorithm
used for message encryption. - nestedInputStream - Variable in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- NEW_TO_OLD - org.pgpainless.signature.consumer.SignatureCreationDateComparator.Order
-
Newest signatures first.
- newBuilder() - Static method in class org.pgpainless.key.util.UserId
- next(InputSymbol) - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
-
Process the next
InputSymbol
. - nextPacketTag() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- NO_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Persona certification of a User ID and Public-Key packet.
- NO_PRIVATE_KEY - org.gnupg.GnuPGDummyExtension
-
Do not store the secret part at all.
- NO_REASON - org.pgpainless.key.util.RevocationAttributes.Reason
-
The key or certification is being revoked without a 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
-
Only wrap the data in an OpenPGP packet.
- noName() - Method in class org.pgpainless.key.util.UserId.Builder
- NONE - org.pgpainless.algorithm.CertificationType
-
The issuer of this certification has not done any verification of the claim that the owner of this key is the User ID specified.
- not(SelectUserId) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that inverts the result of the given
- NOT_TRUSTED - Static variable in class org.pgpainless.algorithm.Trustworthiness
- 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
- notRevoked - org.pgpainless.algorithm.RevocationStateType
-
Certificate is not revoked.
- notRevoked() - Static method in class org.pgpainless.algorithm.RevocationState
- now() - Static method in class org.pgpainless.util.DateUtil
-
Return the current date "floored" to UTC precision.
- NULL - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Plaintext or unencrypted data.
O
- OCB - org.pgpainless.algorithm.AEADAlgorithm
- of(PGPKeyRing) - Static method in class org.pgpainless.key.OpenPgpFingerprint
-
Return the fingerprint of the primary key of the given key ring.
- of(PGPPublicKey) - Static method in class org.pgpainless.key.OpenPgpFingerprint
-
Return the fingerprint of the given key.
- OLD_TO_NEW - org.pgpainless.signature.consumer.SignatureCreationDateComparator.Order
-
Oldest signatures first.
- OnePassSignature - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
A
PGPOnePassSignatureList
object. - OnePassSignatureCheck - Class in org.pgpainless.signature.consumer
-
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.consumer.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. - only(long) - Static method in interface org.gnupg.GnuPGDummyKeyUtil.KeyFilter
-
Select only the given keyId.
- 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. - OpenPgpFingerprint - Class in org.pgpainless.key
-
Abstract super class of different version OpenPGP fingerprints.
- OpenPgpFingerprint(byte[]) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpFingerprint(String) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpFingerprint(PGPKeyRing) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpFingerprint(PGPPublicKey) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpFingerprint(PGPPublicKeyRing) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpFingerprint(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.OpenPgpFingerprint
- OpenPgpInputStream - Class in org.pgpainless.decryption_verification
- OpenPgpInputStream(InputStream) - Constructor for class org.pgpainless.decryption_verification.OpenPgpInputStream
- OpenPgpInputStream(InputStream, boolean) - Constructor for class org.pgpainless.decryption_verification.OpenPgpInputStream
- OpenPgpKeyAttributeUtil - Class in org.pgpainless.key.util
- OpenPgpMessage - org.pgpainless.decryption_verification.syntax_check.State
- OpenPgpMessageInputStream - Class in org.pgpainless.decryption_verification
- OpenPgpMessageInputStream(InputStream, ConsumerOptions, MessageMetadata.Layer, Policy) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- OpenPgpMessageInputStream(OpenPgpMessageInputStream.Type, InputStream, ConsumerOptions, MessageMetadata.Layer, Policy) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- OpenPgpMessageSyntax - Class in org.pgpainless.decryption_verification.syntax_check
-
This class describes the syntax for OpenPGP messages as specified by rfc4880.
- OpenPgpMessageSyntax() - Constructor for class org.pgpainless.decryption_verification.syntax_check.OpenPgpMessageSyntax
- OpenPgpMetadata - Class in org.pgpainless.decryption_verification
-
Legacy class containing metadata about an OpenPGP message.
- OpenPgpMetadata(Set<Long>, SubkeyIdentifier, SessionKey, CompressionAlgorithm, List<SignatureVerification>, List<SignatureVerification.Failure>, List<SignatureVerification>, List<SignatureVerification.Failure>, String, Date, StreamEncoding, boolean) - Constructor for class org.pgpainless.decryption_verification.OpenPgpMetadata
- OpenPgpMetadata.Builder - Class in org.pgpainless.decryption_verification
- OpenPgpPacket - Enum in org.pgpainless.algorithm
- OpenPgpV4Fingerprint - Class in org.pgpainless.key
-
This class represents a 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
- OpenPgpV5Fingerprint - Class in org.pgpainless.key
-
This class represents a hex encoded, upper case OpenPGP v5 fingerprint.
- OpenPgpV5Fingerprint(byte[]) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV5Fingerprint(String) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
-
Create an
OpenPgpV5Fingerprint
. - OpenPgpV5Fingerprint(PGPKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV5Fingerprint(PGPPublicKey) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV5Fingerprint(PGPPublicKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV5Fingerprint(PGPSecretKey) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV5Fingerprint(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV5Fingerprint
- OpenPgpV6Fingerprint - Class in org.pgpainless.key
-
This class represents a hex encoded, upper case OpenPGP v6 fingerprint.
- OpenPgpV6Fingerprint(byte[]) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- OpenPgpV6Fingerprint(String) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
-
Create an
OpenPgpV6Fingerprint
. - OpenPgpV6Fingerprint(PGPKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- OpenPgpV6Fingerprint(PGPPublicKey) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- OpenPgpV6Fingerprint(PGPPublicKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- OpenPgpV6Fingerprint(PGPSecretKey) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- OpenPgpV6Fingerprint(PGPSecretKeyRing) - Constructor for class org.pgpainless.key.OpenPgpV6Fingerprint
- ops - org.pgpainless.decryption_verification.syntax_check.StackSymbol
-
OnePassSignature (in case of BC this represents a OnePassSignatureList).
- OPS - org.pgpainless.algorithm.OpenPgpPacket
- options - Variable in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- or(SelectUserId...) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that filters for user-ids which pass at least one of the given
- org.bouncycastle - package org.bouncycastle
-
Classes which could be upstreamed to BC at some point.
- org.gnupg - package org.gnupg
-
Utility classes related to creating keys with GNU DUMMY S2K values.
- 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.decryption_verification.cleartext_signatures - package org.pgpainless.decryption_verification.cleartext_signatures
-
Classes related to cleartext signature verification.
- org.pgpainless.decryption_verification.syntax_check - package org.pgpainless.decryption_verification.syntax_check
-
Pushdown Automaton to verify validity of packet sequences according to the OpenPGP Message format.
- 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.certification - package org.pgpainless.key.certification
-
API for key certifications.
- 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.fixes - package org.pgpainless.key.protection.fixes
-
Secret Key Protection Fixes.
- 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.builder - package org.pgpainless.signature.builder
-
Classes related to OpenPGP signatures.
- org.pgpainless.signature.consumer - package org.pgpainless.signature.consumer
-
Classes related to OpenPGP 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.
- overrideHashAlgorithm(HashAlgorithm) - Method in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- overridePreferredCompressionAlgorithms(CompressionAlgorithm...) - Method in class org.pgpainless.key.generation.KeySpecBuilder
- overridePreferredCompressionAlgorithms(CompressionAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- overridePreferredHashAlgorithms(HashAlgorithm...) - Method in class org.pgpainless.key.generation.KeySpecBuilder
- overridePreferredHashAlgorithms(HashAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- overridePreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm...) - Method in class org.pgpainless.key.generation.KeySpecBuilder
- overridePreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm...) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
P
- packetInputStream - Variable in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- packetInputStream - Variable in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- parse(String) - Static method in class org.pgpainless.key.OpenPgpFingerprint
-
Deprecated.Use the constructor methods of the versioned fingerprint subclasses instead.
- parse(String) - Static method in class org.pgpainless.key.util.UserId
-
Parse a
UserId
from free-form text, - parseFeatures(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsUtil
-
Parse out the features subpacket of a signature.
- parseFromBinary(byte[]) - Static method in class org.pgpainless.key.OpenPgpFingerprint
-
Deprecated.use the parse() methods of the versioned fingerprint subclasses instead.
- 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.
- 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.
- PasswordBasedSecretKeyRingProtector(SecretKeyPassphraseProvider) - Constructor for class org.pgpainless.key.protection.PasswordBasedSecretKeyRingProtector
- PDA - Class in org.pgpainless.decryption_verification.syntax_check
-
Pushdown Automaton for validating context-free languages.
- PDA() - Constructor for class org.pgpainless.decryption_verification.syntax_check.PDA
-
Default constructor which initializes the PDA to work with the
OpenPgpMessageSyntax
. - PDA(Syntax, State, StackSymbol...) - Constructor for class org.pgpainless.decryption_verification.syntax_check.PDA
- peekStack() - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
-
Peek at the stack, returning the topmost stack item without changing the stack.
- PGPainless - Class in org.pgpainless
- PGPAINLESS - Static variable in class org.pgpainless.util.ArmoredOutputStreamFactory
-
Name of the program.
- 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.consumer.SignaturePicker
-
Pick the at validationDate most recent, valid direct key signature.
- pickCurrentDirectKeySignature(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.SignaturePicker
-
Pick the at validation date most recent valid key revocation signature.
- pickCurrentSubkeyBindingRevocationSignature(PGPKeyRing, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignaturePicker
-
Pick the at validationDate most recent, valid subkey revocation signature.
- pickCurrentSubkeyBindingSignature(PGPKeyRing, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.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.consumer.SignaturePicker
-
Pick the at validationDate most recent, valid user-id revocation signature.
- pickLatestDirectKeySignature(PGPKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignaturePicker
-
Pick the at validationDate latest direct key signature.
- pickLatestDirectKeySignature(PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.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.consumer.SignaturePicker
-
Pick the at validationDate latest certification self-signature for the given user-id.
- PK - org.pgpainless.algorithm.OpenPgpPacket
- PKESK - org.pgpainless.algorithm.OpenPgpPacket
- 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.SignerUserIdValidationLevel - Enum 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 - org.pgpainless.algorithm.CertificationType
-
The issuer of this certification has done some casual verification of the claim of identity.
- POSITIVE_CERTIFICATION - org.pgpainless.algorithm.SignatureType
-
Positive certification of a User ID and Public-Key packet.
- preferredAEADAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
AEAD algorithm numbers that indicate which AEAD algorithms the keyholder prefers to use.
- preferredCompressionAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Compression algorithm numbers that indicate which algorithms the keyholder prefers to use.
- preferredHashAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Message digest algorithm numbers that indicate which algorithms the keyholder prefers to receive.
- preferredKeyServers - org.pgpainless.algorithm.SignatureSubpacket
-
This is a URI of a key server that the keyholder prefers be used for updates.
- preferredSymmetricAlgorithms - org.pgpainless.algorithm.SignatureSubpacket
-
Symmetric algorithm numbers that indicate which algorithms the keyholder prefers to use.
- prepareInputEncoding() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- prepareSigningStream() - Method in class org.pgpainless.encryption_signing.EncryptionStream
- prettyPrint() - Method in class org.pgpainless.key._64DigitFingerprint
- prettyPrint() - Method in class org.pgpainless.key.OpenPgpFingerprint
-
Return a pretty printed representation of the fingerprint.
- 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.
- PrimaryKeyBindingSignatureBuilder - Class in org.pgpainless.signature.builder
- PrimaryKeyBindingSignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- PrimaryKeyBindingSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, HashAlgorithm) - Constructor for class org.pgpainless.signature.builder.PrimaryKeyBindingSignatureBuilder
- 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.
- privateSigningKey - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- ProducerOptions - Class in org.pgpainless.encryption_signing
- ProviderFactory - Class in org.pgpainless.provider
-
Allow the use of different
Provider
implementations to provide cryptographic primitives by setting aProviderFactory
singleton. - ProviderFactory() - Constructor for class org.pgpainless.provider.ProviderFactory
- PSK - org.pgpainless.algorithm.OpenPgpPacket
- 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
- PublicKeyAlgorithmPolicyException(OpenPgpFingerprint, long, PublicKeyAlgorithm, int) - Constructor for exception org.pgpainless.exception.KeyException.PublicKeyAlgorithmPolicyException
- PublicKeyParameterValidationUtil - Class in org.pgpainless.key.util
-
Utility class to verify keys against Key Overwriting (KO) attacks.
- PublicKeyParameterValidationUtil() - Constructor for class org.pgpainless.key.util.PublicKeyParameterValidationUtil
- 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
- publicKeyRingCollectionFrom(PGPSecretKeyRingCollection) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Extract
PGPPublicKeyRings
from allPGPSecretKeyRings
in the givenPGPSecretKeyRingCollection
and return them as aPGPPublicKeyRingCollection
. - 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
-
Abstract
KeyRingSelectionStrategy
forPGPPublicKeyRings
. - PublicKeyRingSelectionStrategy() - Constructor for class org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy
- publicKeys(PGPKeyRing) - Static method in class org.pgpainless.key.util.KeyRingUtils
- publicSigningKey - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- 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.IntegrityProtectedInputStream
- read() - Method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- read() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
- read() - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- read(byte[]) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.IntegrityProtectedInputStream
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
- read(byte[], int, int) - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
- 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. - readCompressedData() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readEncryptedDataList() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readInputLine(ByteArrayOutputStream, int, InputStream) - Static method in class org.pgpainless.decryption_verification.cleartext_signatures.ClearsignedMessageUtil
- readInputLine(ByteArrayOutputStream, InputStream) - Static method in class org.pgpainless.decryption_verification.cleartext_signatures.ClearsignedMessageUtil
- readKeyRing() - Static method in class org.pgpainless.PGPainless
-
Read an existing OpenPGP key ring.
- readKeyRing(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a
PGPKeyRing
(eitherPGPSecretKeyRing
orPGPPublicKeyRing
) from the givenInputStream
. - readKeyRing(InputStream, int) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a
PGPKeyRing
(eitherPGPSecretKeyRing
orPGPPublicKeyRing
) from the givenInputStream
. - readKeyRingCollection(InputStream, boolean) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readLiteralData() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readMarker() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readOnePassSignature() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readPacket() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- readPublicKeyRing(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readPublicKeyRing(InputStream, int) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a public key ring from the provided
InputStream
. - readPublicKeyRingCollection(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readPublicKeyRingCollection(InputStream, int) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a public key ring collection from the provided
InputStream
. - readSecretKeyRing(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readSecretKeyRing(InputStream, int) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a secret key ring from the provided
InputStream
. - readSecretKeyRingCollection(InputStream) - Static method in class org.pgpainless.key.parsing.KeyRingReader
- readSecretKeyRingCollection(InputStream, int) - Static method in class org.pgpainless.key.parsing.KeyRingReader
-
Read a secret key ring collection from the provided
InputStream
. - readSignature() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream
- 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(InputStream, int) - 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
. - recipients - Variable in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- recoverSessionData(int, byte[][]) - Method in class org.bouncycastle.CachingBcPublicKeyDataDecryptorFactory
- recoverSessionData(int, byte[][]) - Method in class org.pgpainless.decryption_verification.HardwareSecurity.HardwareDataDecryptorFactory
- refreshHashedSubpackets(PGPPublicKey, PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- refreshUnhashedSubpackets(PGPSignature) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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.
- rejectedDetachedSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- rejectedOnePassSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- rejectedPrependedSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- remove(K, V) - Method in class org.pgpainless.util.MultiMap
- removeAll(K) - Method in class org.pgpainless.util.MultiMap
- removePrivateKeys(GnuPGDummyKeyUtil.KeyFilter) - Method in class org.gnupg.GnuPGDummyKeyUtil.Builder
-
Remove all private keys that match the given
GnuPGDummyKeyUtil.KeyFilter
from the key ring and replace them with GNU_DUMMY keys with S2K protection modeGnuPGDummyExtension.NO_PRIVATE_KEY
. - removeUserId(CharSequence, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- removeUserId(CharSequence, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Convenience method to revoke a single user-id using a soft revocation signature.
- removeUserId(SelectUserId, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- removeUserId(SelectUserId, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Convenience method to revoke selected user-ids using soft revocation signatures.
- replacePassphrase(Long, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Replace the passphrase for the given key-id in the cache.
- replacePassphrase(PGPKeyRing, Passphrase) - Method in class org.pgpainless.key.protection.CachingSecretKeyRingProtector
-
Replace the cached passphrases for all keys in the key ring with the provided passphrase.
- replaceUsageChecksumWithUsageSha1(PGPSecretKeyRing, SecretKeyRingProtector) - Static method in class org.pgpainless.key.protection.fixes.S2KUsageFix
-
Repair method for keys which use S2K usage
- replaceUsageChecksumWithUsageSha1(PGPSecretKeyRing, SecretKeyRingProtector, boolean) - Static method in class org.pgpainless.key.protection.fixes.S2KUsageFix
-
Repair method for keys which use S2K usage
- replaceUserId(CharSequence, CharSequence, SecretKeyRingProtector) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- replaceUserId(CharSequence, CharSequence, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Replace a user-id on the key with a new one.
- requireFromCode(int) - Static method in enum org.pgpainless.algorithm.SignatureSubpacket
-
Return the
SignatureSubpacket
that corresponds to the provided code. - requireFromCode(int) - Static method in enum org.pgpainless.algorithm.StreamEncoding
-
Return the
StreamEncoding
corresponding to the provided code identifier. - requireFromId(byte) - Static method in enum org.pgpainless.algorithm.Feature
-
Return the
Feature
encoded by the given id. - requireFromId(int) - Static method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Return the
AEADAlgorithm
value that corresponds to the provided algorithm id. - requireFromId(int) - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
-
Return the
CompressionAlgorithm
value that corresponds to the provided numerical id. - requireFromId(int) - Static method in enum org.pgpainless.algorithm.HashAlgorithm
-
Return the
HashAlgorithm
value that corresponds to the provided algorithm id. - requireFromId(int) - Static method in enum org.pgpainless.algorithm.PublicKeyAlgorithm
-
Return the
PublicKeyAlgorithm
that corresponds to the provided algorithm id. - requireFromId(int) - Static method in enum org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Return the
SymmetricKeyAlgorithm
enum that corresponds to the provided numeric id. - requireFromTag(int) - Static method in enum org.pgpainless.algorithm.OpenPgpPacket
- 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
-
Require the public key with the given subKeyId from the keyRing.
- requireSecretKeyFrom(PGPSecretKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Require the secret key with the given secret subKeyId from the secret keyRing.
- 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
-
Reason for revocation.
- 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.
- RevocationSignatureBuilder - Class in org.pgpainless.signature.builder
- RevocationSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.RevocationSignatureBuilder
- RevocationSignatureSubpackets - Interface in org.pgpainless.signature.subpackets
- RevocationSignatureSubpackets.Callback - Interface in org.pgpainless.signature.subpackets
- RevocationState - Class in org.pgpainless.algorithm
- RevocationStateType - Enum in org.pgpainless.algorithm
- 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.
- revoke(SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revoke(SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the key ring.
- RevokedKeyException(OpenPgpFingerprint) - Constructor for exception org.pgpainless.exception.KeyException.RevokedKeyException
- 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(long, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeSubKey(long, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeSubKey(OpenPgpFingerprint, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeSubKey(OpenPgpFingerprint, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the subkey binding signature of a subkey.
- revokeUserId(CharSequence, SecretKeyRingProtector) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the given userID.
- revokeUserId(CharSequence, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeUserId(CharSequence, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the given userID using the provided revocation attributes.
- revokeUserId(CharSequence, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeUserId(CharSequence, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke the provided user-id.
- revokeUserIds(SelectUserId, SecretKeyRingProtector, RevocationAttributes) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeUserIds(SelectUserId, SecretKeyRingProtector, RevocationAttributes) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke all user-ids that match the provided
SelectUserId
filter. - revokeUserIds(SelectUserId, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in class org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditor
- revokeUserIds(SelectUserId, SecretKeyRingProtector, RevocationSignatureSubpackets.Callback) - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface
-
Revoke all user-ids that match the provided
SelectUserId
filter. - 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.
- RSA_GENERAL - org.pgpainless.algorithm.PublicKeyAlgorithm
-
RSA capable of encryption and signatures.
- RSA_SIGN - org.pgpainless.algorithm.PublicKeyAlgorithm
-
Deprecated.
- rsaKeyRing(CharSequence, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Generate an RSA OpenPGP key consisting of an RSA primary key used for certification, a dedicated RSA subkey used for signing and a third RSA subkey used for encryption.
- rsaKeyRing(CharSequence, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Generate an RSA OpenPGP key consisting of an RSA primary key used for certification, a dedicated RSA subkey used for signing and a third RSA subkey used for encryption.
- rsaKeyRing(CharSequence, RsaLength, Passphrase) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Generate an RSA OpenPGP key consisting of an RSA primary key used for certification, a dedicated RSA subkey used for signing and a third RSA subkey used for encryption.
- RsaLength - Enum in org.pgpainless.key.generation.type.rsa
S
- S2KUsageFix - Class in org.pgpainless.key.protection.fixes
-
Repair class to fix keys which use S2K usage of value
SecretKeyPacket.USAGE_CHECKSUM
. - 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. - secretKeyPlusSignature(PGPSecretKey, PGPSignature) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Inject the given signature into the public part of the given 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
- SecretKeyRingEditor(PGPSecretKeyRing, Date) - 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
-
Abstract
KeyRingSelectionStrategy
forPGPSecretKeyRings
. - 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
-
Secure default settings using
SymmetricKeyAlgorithm.AES_256
,HashAlgorithm.SHA256
and an iteration count of 65536. - SED - org.pgpainless.algorithm.OpenPgpPacket
- SEIPD - org.pgpainless.algorithm.OpenPgpPacket
- selectBest(List<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Select the best acceptable algorithm from the options list.
- selected(Collection<Long>) - Static method in interface org.gnupg.GnuPGDummyKeyUtil.KeyFilter
-
Select all keyIds which are contained in the given set of ids.
- selectEncryptionSubkeys(List<PGPPublicKey>) - Method in interface org.pgpainless.encryption_signing.EncryptionOptions.EncryptionKeySelector
- selectKeyRingsFromCollection(O, C) - Method in interface org.pgpainless.util.selection.keyring.KeyRingSelectionStrategy
-
Iterate of the given
- 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
-
Filter for selecting user-ids from keys and from lists.
- SelectUserId() - Constructor for class org.pgpainless.util.selection.userid.SelectUserId
- selectUserIds(List<String>) - Method in class org.pgpainless.util.selection.userid.SelectUserId
-
Select all acceptable (see
SelectUserId.accept(String)
) from the given list of user-ids. - selectUserIds(PGPKeyRing) - Method in class org.pgpainless.util.selection.userid.SelectUserId
-
Select all currently valid user-ids of the given key ring.
- SelfSignatureBuilder - Class in org.pgpainless.signature.builder
- SelfSignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.SelfSignatureBuilder
- SelfSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.SelfSignatureBuilder
- SelfSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.SelfSignatureBuilder
- SelfSignatureSubpackets - Interface in org.pgpainless.signature.subpackets
- SelfSignatureSubpackets.Callback - Interface in org.pgpainless.signature.subpackets
- sessionKey - Variable in class org.pgpainless.decryption_verification.MessageMetadata.EncryptedData
- SessionKey - Class in org.pgpainless.util
-
A
SessionKey
is the symmetric key that is used to encrypt/decrypt an OpenPGP message. - SessionKey(PGPSessionKey) - Constructor for class org.pgpainless.util.SessionKey
-
Constructor to create a session key from a BC
PGPSessionKey
object. - SessionKey(SymmetricKeyAlgorithm, byte[]) - Constructor for class org.pgpainless.util.SessionKey
-
Create a session key object from an algorithm and a key.
- setAsciiArmor(boolean) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Specify, whether the result of the encryption/signing operation shall be ascii armored.
- setCleartextSigned() - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setCleartextSigned() - Method in class org.pgpainless.encryption_signing.ProducerOptions
- setComment(String) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Set the comment header in ASCII armored output.
- 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
- setDecryptionKey(SubkeyIdentifier) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setEnableKeyParameterValidation(boolean) - Method in class org.pgpainless.policy.Policy
-
Enable or disable validation of public key parameters when unlocking private keys.
- setEncoding(StreamEncoding) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Deprecated.options other than the default value of
StreamEncoding.BINARY
are discouraged. - setEncryptionAlgorithm(SymmetricKeyAlgorithm) - Method in class org.pgpainless.encryption_signing.EncryptionResult.Builder
- setExpirationDate(Date) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- setExpirationDate(Date) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- 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.
- setExportable(boolean) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setExportable(boolean) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setExportable(boolean, boolean) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setExportable(boolean, boolean) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setExportable(Exportable) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setExportable(Exportable) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setFactory(ProviderFactory) - Static method in class org.pgpainless.provider.ProviderFactory
- setFactoryImplementation(ImplementationFactory) - Static method in class org.pgpainless.implementation.ImplementationFactory
- setFeatures(boolean, Feature...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setFeatures(boolean, Feature...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setFeatures(Features) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setFeatures(Features) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setFeatures(Feature...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setFeatures(Feature...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- 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
-
Deprecated.deprecated since at least crypto-refresh-05. It is not recommended using this special filename in newly generated literal data packets
- setHideArmorHeaders(boolean) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
If set to
- setIgnoreMDCErrors(boolean) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Deprecated.
- setIssuerFingerprint(boolean, PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerFingerprint(boolean, PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerFingerprint(IssuerFingerprint) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerFingerprint(IssuerFingerprint) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerFingerprint(PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerFingerprint(PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerFingerprintAndKeyId(PGPPublicKey) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerFingerprintAndKeyId(PGPPublicKey) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerKeyId(boolean, long) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerKeyId(boolean, long) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerKeyId(long) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerKeyId(long) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setIssuerKeyId(IssuerKeyID) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setIssuerKeyId(IssuerKeyID) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyCreationDate(Date) - Method in class org.pgpainless.key.generation.KeySpecBuilder
- setKeyCreationDate(Date) - Method in interface org.pgpainless.key.generation.KeySpecBuilderInterface
- setKeyExpirationTime(boolean, long) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyExpirationTime(boolean, long) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyExpirationTime(boolean, Date, Date) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyExpirationTime(boolean, Date, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyExpirationTime(Date, Date) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyExpirationTime(Date, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyExpirationTime(KeyExpirationTime) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyExpirationTime(KeyExpirationTime) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyExpirationTime(PGPPublicKey, Date) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyExpirationTime(PGPPublicKey, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyFlags(boolean, KeyFlag...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyFlags(boolean, KeyFlag...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyFlags(List<KeyFlag>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyFlags(KeyFlags) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyFlags(KeyFlags) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyFlags(KeyFlag...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setKeyFlags(KeyFlag...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setKeyGenerationAlgorithmSuite(AlgorithmSuite) - Method in class org.pgpainless.policy.Policy
-
Set a custom
AlgorithmSuite
which defines preferred algorithms used during key generation. - 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.
- setMissingKeyPassphraseStrategy(MissingKeyPassphraseStrategy) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Specify the
MissingKeyPassphraseStrategy
. - 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.
- setMultiPassStrategy(MultiPassStrategy) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Set a custom multi-pass strategy for processing cleartext-signed messages.
- setPassphrase(Passphrase) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- setPassphrase(Passphrase) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- setPolicyUrl(boolean, URL) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setPolicyUrl(boolean, URL) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPolicyUrl(URL) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setPolicyUrl(URL) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPolicyUrl(PolicyURI) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setPolicyUrl(PolicyURI) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredCompressionAlgorithms(boolean, Set<CompressionAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredCompressionAlgorithms(boolean, Set<CompressionAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredCompressionAlgorithms(Set<CompressionAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredCompressionAlgorithms(Set<CompressionAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredCompressionAlgorithms(PreferredAlgorithms) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredCompressionAlgorithms(PreferredAlgorithms) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredCompressionAlgorithms(CompressionAlgorithm...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredCompressionAlgorithms(CompressionAlgorithm...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredHashAlgorithms(boolean, Set<HashAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredHashAlgorithms(boolean, Set<HashAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredHashAlgorithms(Set<HashAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredHashAlgorithms(Set<HashAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredHashAlgorithms(PreferredAlgorithms) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredHashAlgorithms(PreferredAlgorithms) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredHashAlgorithms(HashAlgorithm...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredHashAlgorithms(HashAlgorithm...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(boolean, Set<SymmetricKeyAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(boolean, Set<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(Set<SymmetricKeyAlgorithm>) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(Set<SymmetricKeyAlgorithm>) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(PreferredAlgorithms) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(PreferredAlgorithms) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm...) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm...) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPrimaryKey(KeySpec) - Method in class org.pgpainless.key.generation.KeyRingBuilder
- setPrimaryKey(KeySpec) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- setPrimaryKey(KeySpecBuilder) - Method in interface org.pgpainless.key.generation.KeyRingBuilderInterface
- setPrimaryUserId() - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPrimaryUserId() - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPrimaryUserId(boolean) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPrimaryUserId(boolean) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPrimaryUserId(PrimaryUserID) - Method in interface org.pgpainless.signature.subpackets.SelfSignatureSubpackets
- setPrimaryUserId(PrimaryUserID) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setPublicKeyAlgorithmPolicy(Policy.PublicKeyAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom public key algorithm policy.
- setRegularExpression(boolean, String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRegularExpression(boolean, String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRegularExpression(String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRegularExpression(String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRegularExpression(RegularExpression) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRegularExpression(RegularExpression) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocable(boolean) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRevocable(boolean) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocable(boolean, boolean) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRevocable(boolean, boolean) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocable(Revocable) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setRevocable(Revocable) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocationReason(boolean, RevocationAttributes) - Method in interface org.pgpainless.signature.subpackets.RevocationSignatureSubpackets
- setRevocationReason(boolean, RevocationAttributes) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocationReason(boolean, RevocationAttributes.Reason, String) - Method in interface org.pgpainless.signature.subpackets.RevocationSignatureSubpackets
- setRevocationReason(boolean, RevocationAttributes.Reason, String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocationReason(RevocationReason) - Method in interface org.pgpainless.signature.subpackets.RevocationSignatureSubpackets
- setRevocationReason(RevocationReason) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocationReason(RevocationAttributes) - Method in interface org.pgpainless.signature.subpackets.RevocationSignatureSubpackets
- setRevocationReason(RevocationAttributes) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setRevocationSignatureHashAlgorithmPolicy(Policy.HashAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom hash algorithm policy for revocations.
- setSessionKey(SessionKey) - Method in class org.pgpainless.decryption_verification.ConsumerOptions
-
Attempt decryption using a session key.
- setSessionKey(SessionKey) - Method in class org.pgpainless.decryption_verification.OpenPgpMetadata.Builder
- setSignature(PGPSignature) - Method in class org.pgpainless.signature.consumer.OnePassSignatureCheck
- setSignatureCreationTime(boolean, Date) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureCreationTime(boolean, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureCreationTime(Date) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureCreationTime(Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureCreationTime(SignatureCreationTime) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureCreationTime(SignatureCreationTime) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureExpirationTime(boolean, long) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureExpirationTime(boolean, long) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureExpirationTime(boolean, Date, Date) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureExpirationTime(boolean, Date, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureExpirationTime(Date, Date) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureExpirationTime(Date, Date) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureExpirationTime(SignatureExpirationTime) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureExpirationTime(SignatureExpirationTime) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureHashAlgorithmPolicy(Policy.HashAlgorithmPolicy) - Method in class org.pgpainless.policy.Policy
-
Set a custom hash algorithm policy for signatures.
- setSignatureTarget(boolean, PublicKeyAlgorithm, HashAlgorithm, byte[]) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureTarget(boolean, PublicKeyAlgorithm, HashAlgorithm, byte[]) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureTarget(SignatureTarget) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureTarget(SignatureTarget) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureTarget(PublicKeyAlgorithm, HashAlgorithm, byte[]) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignatureTarget(PublicKeyAlgorithm, HashAlgorithm, byte[]) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignatureType(SignatureType) - Method in class org.pgpainless.signature.builder.AbstractSignatureBuilder
-
Set the builders
SignatureType
. - setSignerUserId(boolean, String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignerUserId(boolean, String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignerUserId(String) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignerUserId(String) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignerUserId(SignerUserID) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setSignerUserId(SignerUserID) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setSignerUserIdValidationLevel(Policy.SignerUserIdValidationLevel) - Method in class org.pgpainless.policy.Policy
-
Specify, how
SignerUserID
subpackets on signatures shall be validated. - 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.
- setTrust(boolean, int, int) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setTrust(boolean, int, int) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setTrust(int, int) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setTrust(int, int) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setTrust(TrustSignature) - Method in interface org.pgpainless.signature.subpackets.BaseSignatureSubpackets
- setTrust(TrustSignature) - Method in class org.pgpainless.signature.subpackets.SignatureSubpackets
- setVersion(String) - Method in class org.pgpainless.encryption_signing.ProducerOptions
-
Set the version header in ASCII armored output.
- setVersionHeader(ArmoredOutputStream, String) - Static method in class org.pgpainless.util.ArmorUtils
-
Set the version header entry in the ASCII armor.
- 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
- SHA3_256 - org.pgpainless.algorithm.HashAlgorithm
- SHA3_512 - 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.
- SIG - org.pgpainless.algorithm.OpenPgpPacket
- sign(SigningOptions) - Static method in class org.pgpainless.encryption_signing.ProducerOptions
-
Sign some data without encryption.
- SIGN_DATA - org.pgpainless.algorithm.KeyFlag
-
This key may be used to sign data.
- signAndEncrypt(EncryptionOptions, SigningOptions) - Static method in class org.pgpainless.encryption_signing.ProducerOptions
-
Sign and encrypt some data.
- Signature - org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
A
PGPSignatureList
object. - SignatureCheck - Class in org.pgpainless.signature.consumer
-
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 the signature was verified.
- SignatureCheck(PGPSignature, PGPKeyRing, SubkeyIdentifier) - Constructor for class org.pgpainless.signature.consumer.SignatureCheck
-
Create a new
SignatureCheck
object. - SignatureCreationDateComparator - Class in org.pgpainless.signature.consumer
-
Comparator which can be used to sort signatures with regard to their creation time.
- SignatureCreationDateComparator() - Constructor for class org.pgpainless.signature.consumer.SignatureCreationDateComparator
-
Create a new comparator which sorts signatures old to new.
- SignatureCreationDateComparator(SignatureCreationDateComparator.Order) - Constructor for class org.pgpainless.signature.consumer.SignatureCreationDateComparator
-
Create a new comparator which sorts signatures according to the passed ordering.
- SignatureCreationDateComparator.Order - Enum in org.pgpainless.signature.consumer
- signatureCreationTime - org.pgpainless.algorithm.SignatureSubpacket
-
The time the signature was made.
- signatureDoesNotHaveCriticalUnknownNotations(NotationRegistry) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature does not carry critical unknown notations.
- signatureDoesNotHaveCriticalUnknownSubpackets() - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature does not contain critical unknown subpackets.
- signatureDoesNotPredateKeyCreation(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature does not predate the creation time of the given key.
- signatureDoesNotPredateSignee(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
- signatureDoesNotPredateSigningKey(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature does not predate the creation time of the signing key.
- signatureDoesNotPredateSigningKeyBindingDate(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.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.consumer.SignatureValidator
-
Verify that a signature has a hashed creation time subpacket.
- signatureIsAlreadyEffective(Date) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature was created prior to the given reference date.
- signatureIsCertification() - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature is a certification signature.
- signatureIsEffective() - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature is effective right now.
- signatureIsEffective(Date) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature is effective at the given reference date.
- signatureIsNotMalformed(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature is not malformed.
- signatureIsNotYetExpired(Date) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature is not yet expired.
- signatureIsOfType(SignatureType...) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
-
Verify that a signature type equals one of the given
SignatureTypes
. - SignaturePicker - Class in org.pgpainless.signature.consumer
-
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.consumer.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.
- SignatureSubpacketCallback<S extends BaseSignatureSubpackets> - Interface in org.pgpainless.signature.subpackets
- SignatureSubpackets - Class in org.pgpainless.signature.subpackets
- SignatureSubpackets() - Constructor for class org.pgpainless.signature.subpackets.SignatureSubpackets
- SignatureSubpackets.Callback - Interface in org.pgpainless.signature.subpackets
- SignatureSubpacketsHelper - Class in org.pgpainless.signature.subpackets
- SignatureSubpacketsHelper() - Constructor for class org.pgpainless.signature.subpackets.SignatureSubpacketsHelper
- 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 - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- 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.consumer
-
A collection of validators that perform validation steps over signatures.
- SignatureValidator() - Constructor for class org.pgpainless.signature.consumer.SignatureValidator
- SignatureValidityComparator - Class in org.pgpainless.signature.consumer
-
Comparator which sorts signatures based on an ordering and on revocation hardness.
- SignatureValidityComparator() - Constructor for class org.pgpainless.signature.consumer.SignatureValidityComparator
-
Create a new
SignatureValidityComparator
which orders signatures the oldest first. - SignatureValidityComparator(SignatureCreationDateComparator.Order) - Constructor for class org.pgpainless.signature.consumer.SignatureValidityComparator
-
Create a new
SignatureValidityComparator
which orders signatures following the passed ordering. - SignatureVerification - Class in org.pgpainless.decryption_verification
-
Tuple of a signature and an identifier of its corresponding verification key.
- SignatureVerification(PGPSignature, SubkeyIdentifier) - Constructor for class org.pgpainless.decryption_verification.SignatureVerification
-
Construct a verification tuple.
- SignatureVerification.Failure - Class in org.pgpainless.decryption_verification
-
Tuple object of a
SignatureVerification
and the correspondingSignatureValidationException
that caused the verification to fail. - SignatureVerifier - Class in org.pgpainless.signature.consumer
-
Collection of static methods for signature verification.
- signatureWasCreatedInBounds(Date, Date) - Static method in class org.pgpainless.signature.consumer.SignatureValidator
- signerUserId - org.pgpainless.algorithm.SignatureSubpacket
-
This subpacket allows a keyholder to state which User ID is responsible for the signing.
- signHashContext(MessageDigest, SignatureType, PGPSecretKeyRing, SecretKeyRingProtector) - Static method in class org.pgpainless.encryption_signing.BcHashContextSigner
- 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(CharSequence) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a curve25519 XDH subkey.
- simpleEcKeyRing(CharSequence, String) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Creates a key ring consisting of an ed25519 EdDSA primary key and a X25519 XDH subkey.
- simpleEcKeyRing(CharSequence, Passphrase) - Method in class org.pgpainless.key.generation.KeyRingTemplates
- simpleRsaKeyRing(CharSequence, RsaLength) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Creates a simple, unencrypted RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(CharSequence, RsaLength, String) - Method in class org.pgpainless.key.generation.KeyRingTemplates
-
Creates a simple RSA KeyPair of length
length
with user-iduserId
. - simpleRsaKeyRing(CharSequence, RsaLength, Passphrase) - Method in class org.pgpainless.key.generation.KeyRingTemplates
- 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
- SK - org.pgpainless.algorithm.OpenPgpPacket
- SKESK - org.pgpainless.algorithm.OpenPgpPacket
- skip(long) - Method in class org.pgpainless.util.CRCingArmoredInputStreamWrapper
- smartSignatureHashAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Policy.HashAlgorithmPolicy
which takes the date of the algorithm usage into consideration. - softRevoked - org.pgpainless.algorithm.RevocationStateType
-
Certificate is revoked with a soft revocation.
- softRevoked(Date) - Static method in class org.pgpainless.algorithm.RevocationState
- 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.
- squeeze() - Method in class org.pgpainless.decryption_verification.TeeBCPGInputStream.DelayedTeeInputStream
-
Squeeze the last byte out and update the output stream.
- SSK - org.pgpainless.algorithm.OpenPgpPacket
- StackSymbol - Enum in org.pgpainless.decryption_verification.syntax_check
- STANDALONE - org.pgpainless.algorithm.SignatureType
-
Standalone signature.
- startsWith(CharSequence) - Static method in class org.pgpainless.util.selection.userid.SelectUserId
-
Filter that filters for user-ids which start with the given
- State - Enum in org.pgpainless.decryption_verification.syntax_check
-
Set of states of the automaton.
- static2022RevocationSignatureHashAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Hash algorithm policy for revocation signatures, which accepts SHA1 and SHA2 algorithms, as well as RIPEMD160.
- static2022SignatureHashAlgorithmPolicy() - Static method in class org.pgpainless.policy.Policy.HashAlgorithmPolicy
-
Policy.HashAlgorithmPolicy
which only accepts signatures made using algorithms which are acceptable according to 2022 standards. - STORAGE - org.pgpainless.algorithm.EncryptionPurpose
-
The stream will encrypt data at rest.
- StreamEncoding - Enum in org.pgpainless.algorithm
-
Enumeration of possible encoding formats of the content of the literal data packet.
- STRICT - org.pgpainless.policy.Policy.SignerUserIdValidationLevel
-
PGPainless will verify
SignerUserID
subpackets in signatures strictly. - stripSecretKey(PGPSecretKeyRing, long) - Static method in class org.pgpainless.key.util.KeyRingUtils
-
Remove the secret key of the subkey identified by the given secret key id from the key ring.
- SubKey(KeyRingInfo, SubkeyIdentifier) - Constructor for class org.pgpainless.key.info.KeyAccessor.SubKey
- 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.
- SubkeyBindingSignatureBuilder - Class in org.pgpainless.signature.builder
- SubkeyBindingSignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- SubkeyBindingSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- SubkeyBindingSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, HashAlgorithm) - Constructor for class org.pgpainless.signature.builder.SubkeyBindingSignatureBuilder
- 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, OpenPgpFingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
- SubkeyIdentifier(OpenPgpFingerprint) - Constructor for class org.pgpainless.key.SubkeyIdentifier
-
Create a
SubkeyIdentifier
that identifies the primary key with the given fingerprint. - SubkeyIdentifier(OpenPgpFingerprint, OpenPgpFingerprint) - 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.OpenPgpFingerprint
- 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
- symmetricKeyDecryptionPolicy2022() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Policy for symmetric key encryption algorithms in the context of message consumption (decryption).
- symmetricKeyEncryptionPolicy2022() - Static method in class org.pgpainless.policy.Policy.SymmetricKeyAlgorithmPolicy
-
Policy for symmetric encryption algorithms in the context of message production (encryption).
- Syntax - Interface in org.pgpainless.decryption_verification.syntax_check
-
This interface can be used to define a custom syntax for the
PDA
. - syntaxVerifier - Variable in class org.pgpainless.decryption_verification.OpenPgpMessageInputStream
T
- TeeBCPGInputStream - Class in org.pgpainless.decryption_verification
-
Since we need to update signatures with data from the underlying stream, this class is used to tee out the data.
- TeeBCPGInputStream(BCPGInputStream, OutputStream) - Constructor for class org.pgpainless.decryption_verification.TeeBCPGInputStream
- TeeBCPGInputStream.DelayedTeeInputStream - Class in org.pgpainless.decryption_verification
- terminus - org.pgpainless.decryption_verification.syntax_check.StackSymbol
-
Special symbol representing the end of the message.
- 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.
- ThirdPartyCertificationSignatureBuilder - Class in org.pgpainless.signature.builder
-
Certification signature builder used to certify other users keys.
- ThirdPartyCertificationSignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
-
Create a new certification signature builder.
- ThirdPartyCertificationSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
-
Create a new certification signature builder.
- ThirdPartyCertificationSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.ThirdPartyCertificationSignatureBuilder
-
Create a new certification signature builder.
- ThirdPartyDirectKeySignatureBuilder - Class in org.pgpainless.signature.builder
- ThirdPartyDirectKeySignatureBuilder(PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- ThirdPartyDirectKeySignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.ThirdPartyDirectKeySignatureBuilder
- THRESHOLD_FULLY_CONVINCED - Static variable in class org.pgpainless.algorithm.Trustworthiness
- THROW_EXCEPTION - org.pgpainless.decryption_verification.MissingKeyPassphraseStrategy
-
Do not try to obtain passphrases interactively and instead throw a
MissingPassphraseException
listing all keys with missing passphrases. - TIMESTAMP - org.pgpainless.algorithm.SignatureType
-
Timestamp signature.
- toAsciiArmoredStream(OutputStream, MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
-
Create an
ArmoredOutputStream
wrapping the givenOutputStream
. - toAsciiArmoredStream(PGPKeyRing, OutputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Return an
ArmoredOutputStream
prepared with headers for the given key ring, which wraps the givenOutputStream
. - toAsciiArmoredString(byte[]) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given OpenPGP data bytes.
- toAsciiArmoredString(byte[], MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given OpenPGP data bytes.
- toAsciiArmoredString(InputStream) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the
InputStream
containing OpenPGP data. - toAsciiArmoredString(InputStream, MultiMap<String, String>) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the OpenPGP data from the given
InputStream
. - toAsciiArmoredString(PGPPublicKey) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPPublicKey
. - toAsciiArmoredString(PGPPublicKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPPublicKeyRing
. - toAsciiArmoredString(PGPPublicKeyRingCollection) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPPublicKeyRingCollection
. - toAsciiArmoredString(PGPSecretKey) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPSecretKey
. - toAsciiArmoredString(PGPSecretKeyRing) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPSecretKeyRing
. - toAsciiArmoredString(PGPSecretKeyRingCollection) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored encoding of the given
PGPSecretKeyRingCollection
. - toAsciiArmoredString(PGPSignature) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored representation of the given detached signature.
- toAsciiArmoredString(PGPSignature, boolean) - Static method in class org.pgpainless.util.ArmorUtils
-
Return the ASCII armored representation of the given detached signature.
- toBitmask(Feature...) - Static method in enum org.pgpainless.algorithm.Feature
-
Encode a list of
KeyFlags
into a bitmask. - 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
- toLegacyMetadata() - Method in class org.pgpainless.decryption_verification.MessageMetadata
-
Convert this
MessageMetadata
object into a legacyOpenPgpMetadata
object. - 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.
- toSecondsPrecision(Date) - Static method in class org.pgpainless.util.DateUtil
-
Floor a date down to seconds precision.
- toString() - Method in class org.pgpainless.algorithm.RevocationState
- toString() - Method in class org.pgpainless.decryption_verification.SignatureVerification.Failure
- toString() - Method in class org.pgpainless.decryption_verification.SignatureVerification
- toString() - Method in class org.pgpainless.decryption_verification.syntax_check.PDA
- toString() - Method in class org.pgpainless.implementation.ImplementationFactory
- toString() - Method in class org.pgpainless.key.OpenPgpFingerprint
- 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
- toString() - Method in class org.pgpainless.util.SessionKey
- toUri() - Method in class org.pgpainless.key.OpenPgpV4Fingerprint
-
Return the fingerprint as an openpgp4fpr
URI
. - toVector(RevocationSignatureSubpackets) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsHelper
- toVector(SignatureSubpackets) - Static method in class org.pgpainless.signature.subpackets.SignatureSubpacketsHelper
- transition(State, InputSymbol, StackSymbol) - Method in class org.pgpainless.decryption_verification.syntax_check.OpenPgpMessageSyntax
- transition(State, InputSymbol, StackSymbol) - Method in interface org.pgpainless.decryption_verification.syntax_check.Syntax
-
Describe a transition rule from
State
- Transition - Class in org.pgpainless.decryption_verification.syntax_check
-
Result of applying a transition rule.
- Transition(State, StackSymbol...) - Constructor for class org.pgpainless.decryption_verification.syntax_check.Transition
- TRIPLE_DES - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
TripleDES (DES-EDE - 168 bit key derived from 192).
- TRUST - org.pgpainless.algorithm.OpenPgpPacket
- trustSignature - org.pgpainless.algorithm.SignatureSubpacket
-
Signer asserts that the key is not only valid but also trustworthy at the specified level.
- Trustworthiness - Class in org.pgpainless.algorithm
-
Facade class for
TrustSignature
. - Trustworthiness(int, int) - Constructor for class org.pgpainless.algorithm.Trustworthiness
- Trustworthiness.Builder - Class in org.pgpainless.algorithm
- Tuple<A,B> - Class in org.pgpainless.util
- Tuple(A, B) - Constructor for class org.pgpainless.util.Tuple
- TWOFISH - org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Twofish with 256-bit key.
U
- UATTR - org.pgpainless.algorithm.OpenPgpPacket
- UID - org.pgpainless.algorithm.OpenPgpPacket
- UnacceptableAlgorithmException - Exception in org.pgpainless.exception
-
Exception that gets thrown if unacceptable algorithms are encountered.
- UnacceptableAlgorithmException(String) - Constructor for exception org.pgpainless.exception.UnacceptableAlgorithmException
- UnacceptableEncryptionKeyException(KeyException.PublicKeyAlgorithmPolicyException) - Constructor for exception org.pgpainless.exception.KeyException.UnacceptableEncryptionKeyException
- UnacceptableEncryptionKeyException(OpenPgpFingerprint) - Constructor for exception org.pgpainless.exception.KeyException.UnacceptableEncryptionKeyException
- UnacceptableSelfSignatureException(OpenPgpFingerprint) - Constructor for exception org.pgpainless.exception.KeyException.UnacceptableSelfSignatureException
- UnacceptableSigningKeyException(KeyException.PublicKeyAlgorithmPolicyException) - Constructor for exception org.pgpainless.exception.KeyException.UnacceptableSigningKeyException
- UnacceptableSigningKeyException(OpenPgpFingerprint) - Constructor for exception org.pgpainless.exception.KeyException.UnacceptableSigningKeyException
- UnboundUserIdException(OpenPgpFingerprint, String, PGPSignature, PGPSignature) - Constructor for exception org.pgpainless.exception.KeyException.UnboundUserIdException
- UNCOMPRESSED - org.pgpainless.algorithm.CompressionAlgorithm
- unhashedSubpackets - Variable in class org.pgpainless.signature.builder.AbstractSignatureBuilder
- UniversalSignatureBuilder - Class in org.pgpainless.signature.builder
-
Signature builder without restrictions on subpacket contents.
- UniversalSignatureBuilder(PGPSecretKey, SecretKeyRingProtector, PGPSignature) - Constructor for class org.pgpainless.signature.builder.UniversalSignatureBuilder
- UniversalSignatureBuilder(SignatureType, PGPSecretKey, SecretKeyRingProtector) - Constructor for class org.pgpainless.signature.builder.UniversalSignatureBuilder
- unlockAllKeysWith(Passphrase, PGPSecretKeyRing) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Deprecated.use
SecretKeyRingProtector.unlockEachKeyWith(Passphrase, PGPSecretKeyRing)
instead. TODO: Remove in 1.2.X - unlockAnyKeyWith(Passphrase) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Use the provided passphrase to unlock any key.
- unlockEachKeyWith(Passphrase, PGPSecretKeyRing) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
-
Use the provided passphrase to lock/unlock all keys 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, long) - Static method in interface org.pgpainless.key.protection.SecretKeyRingProtector
- 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
- untrusted() - Static method in class org.pgpainless.algorithm.Trustworthiness
-
This means that we do not trust the key.
- USER_ID_NO_LONGER_VALID - org.pgpainless.key.util.RevocationAttributes.Reason
-
The user-id is no longer valid.
- UserId - Class in org.pgpainless.key.util
- UserId.Builder - Class in org.pgpainless.key.util
- UserId.DefaultComparator - Class in org.pgpainless.key.util
- UserId.DefaultIgnoreCaseComparator - Class in org.pgpainless.key.util
- userIdOnCertificate(String, PGPPublicKeyRing) - Method in class org.pgpainless.key.certification.CertifyCertificate
-
Create a certification over a User-Id.
- userIdOnCertificate(String, PGPPublicKeyRing, CertificationType) - Method in class org.pgpainless.key.certification.CertifyCertificate
-
Create a certification of the given
CertificationType
over a User-Id. - utf8 - Static variable in class org.pgpainless.key.OpenPgpFingerprint
- 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
- Valid - org.pgpainless.decryption_verification.syntax_check.State
- validateCertificate(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.consumer.CertificateValidator
-
Check if the signing key was eligible to create the provided signature.
- validateCertificateAndVerifyInitializedSignature(PGPSignature, PGPPublicKeyRing, Policy) - Static method in class org.pgpainless.signature.consumer.CertificateValidator
-
Validate the signing key and the given initialized signature.
- validateCertificateAndVerifyOnePassSignature(OnePassSignatureCheck, Policy) - Static method in class org.pgpainless.signature.consumer.CertificateValidator
-
Validate the signing key certificate and the given
OnePassSignatureCheck
. - validateCertificateAndVerifyUninitializedSignature(PGPSignature, InputStream, PGPPublicKeyRing, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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
-
Filter that filters for valid user-ids on the given
- valueOf(int) - Static method in enum org.pgpainless.algorithm.SignatureType
-
Convert a numerical id into a
SignatureType
. - valueOf(String) - Static method in enum org.gnupg.GnuPGDummyExtension
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.CertificationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.CompressionAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.algorithm.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.OpenPgpPacket
-
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.RevocationStateType
-
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.decryption_verification.MissingKeyPassphraseStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.decryption_verification.syntax_check.StackSymbol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.decryption_verification.syntax_check.State
-
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
-
Deprecated.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.policy.Policy.SignerUserIdValidationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pgpainless.signature.consumer.SignatureCreationDateComparator.Order
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.gnupg.GnuPGDummyExtension
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.AEADAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.algorithm.CertificationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.OpenPgpPacket
-
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.RevocationStateType
-
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.decryption_verification.MissingKeyPassphraseStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.decryption_verification.syntax_check.InputSymbol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.decryption_verification.syntax_check.StackSymbol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.decryption_verification.syntax_check.State
-
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
-
Deprecated.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.policy.Policy.SignerUserIdValidationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pgpainless.signature.consumer.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
- verifiedDetachedSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- verifiedOnePassSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- verifiedPrependedSignatures - Variable in class org.pgpainless.decryption_verification.MessageMetadata.Layer
- verify(PGPSignature) - Method in class org.pgpainless.signature.consumer.SignatureValidator
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a direct-key signature.
- verifyDirectKeySignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a direct-key self-signature.
- verifyInitializedSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify an initialized signature.
- verifyKeyRevocationSignature(PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.SignatureVerifier
- verifyPublicKeyParameterIntegrity(PGPPrivateKey, PGPPublicKey) - Static method in class org.pgpainless.key.util.PublicKeyParameterValidationUtil
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a signature (certification or revocation) over a user-id.
- verifySignatureOverUserId(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a signature (certification or revocation) over a user-id.
- verifySubkeyBindingRevocation(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a subkey revocation signature.
- verifySubkeyBindingSignature(PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a subkey binding signature.
- verifyUninitializedSignature(PGPSignature, InputStream, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.SignatureVerifier
-
Verify a certification signature over a user-attributes packet.
- verifyUserAttributesCertification(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.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.consumer.SignatureVerifier
-
Verify a user-attributes revocation signature.
- verifyUserAttributesRevocation(PGPUserAttributeSubpacketVector, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a user-attributes revocation self-signature.
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a user-id certification.
- verifyUserIdCertification(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a certification self-signature over a user-id.
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a user-id revocation signature.
- verifyUserIdRevocation(String, PGPSignature, PGPPublicKey, Policy, Date) - Static method in class org.pgpainless.signature.consumer.SignatureVerifier
-
Verify a user-id revocation self-signature.
- 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
- wasIssuedBy(byte[], PGPSignature) - Static method in class org.pgpainless.signature.SignatureUtils
- wasPossiblyMadeByKey(PGPPublicKey) - Static method in class org.pgpainless.signature.consumer.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
-
Implementations of
KeyRingSelectionStrategy
which accept PGP KeyRings based on a whitelist of acceptable keyIds. - Whitelist.PubRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
-
KeyRingSelectionStrategy
which acceptsPGPPublicKeyRings
if the - Whitelist.SecRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
-
KeyRingSelectionStrategy
which acceptsPGPSecretKeyRings
if the - Wildcard - Class in org.pgpainless.util.selection.keyring.impl
-
Implementations of
KeyRingSelectionStrategy
which accept all keyRings. - Wildcard.PubRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
- Wildcard.SecRingSelectionStrategy<O> - Class in org.pgpainless.util.selection.keyring.impl
- 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.
- withDescription(String) - Method in class org.pgpainless.key.util.RevocationAttributes.WithDescription
-
Set a human-readable description of the revocation reason.
- withEmail(String) - Method in class org.pgpainless.key.util.UserId.Builder
- withKey(PGPSecretKeyRing, SecretKeyRingProtector) - Method in class org.pgpainless.key.certification.CertifyCertificate.CertificationOnUserId
-
Create the certification using the given key.
- withKey(PGPSecretKeyRing, SecretKeyRingProtector) - Method in class org.pgpainless.key.certification.CertifyCertificate.DelegationOnCertificate
-
Build the delegation using the given certification key.
- withLength(ElGamalLength) - Static method in class org.pgpainless.key.generation.type.elgamal.ElGamal
-
Deprecated.
- 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(ProducerOptions) - Method in interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.WithOptions
-
Create an
EncryptionStream
with the given options (recipients, signers, algorithms...). - withoutDescription() - Method in class org.pgpainless.key.util.RevocationAttributes.WithDescription
-
Set an empty human-readable description.
- withReason(RevocationAttributes.Reason) - Method in class org.pgpainless.key.util.RevocationAttributes.WithReason
-
Set the machine-readable reason.
- withSecureDefaultSettings() - Method in interface org.pgpainless.key.modification.secretkeyring.SecretKeyRingEditorInterface.WithKeyRingEncryptionSettings
-
Set secure default settings for the symmetric passphrase encryption.
- 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.CRLFGeneratorStream
- write(int) - Method in class org.pgpainless.encryption_signing.EncryptionStream
- writeMessageToFile(File) - Static method in interface org.pgpainless.decryption_verification.cleartext_signatures.MultiPassStrategy
-
Write the message content out to a file and re-read it to verify signatures.
- WriteToFileMultiPassStrategy - Class in org.pgpainless.decryption_verification.cleartext_signatures
-
Implementation of the
MultiPassStrategy
. - WriteToFileMultiPassStrategy(File) - Constructor for class org.pgpainless.decryption_verification.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) - 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
-
Implementations of
KeyRingSelectionStrategy
which accept KeyRings containing a given XMPP address of the format "xmpp:[email protected]". - XMPP.PubRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
-
PublicKeyRingSelectionStrategy
which accepts a givenPGPPublicKeyRing
if its primary key has a user-id that matches the given - XMPP.SecRingSelectionStrategy - Class in org.pgpainless.util.selection.keyring.impl
-
SecretKeyRingSelectionStrategy
which accepts a givenPGPSecretKeyRing
if its primary key has a user-id that matches the given
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
-
Deprecated.prime: 2^1536 - 2^1472 - 1 + 2^64 * { [2^1406 pi] + 741804 }.
- _2048 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Deprecated.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
-
Deprecated.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
-
Deprecated.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
-
Deprecated.prime: 2^6144 - 2^6080 - 1 + 2^64 * { [2^6014 pi] + 929484 }.
- _64DigitFingerprint - Class in org.pgpainless.key
-
This class represents a hex encoded, upper case OpenPGP v5 or v6 fingerprint.
- _64DigitFingerprint(byte[]) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _64DigitFingerprint(String) - Constructor for class org.pgpainless.key._64DigitFingerprint
-
Create an
_64DigitFingerprint
. - _64DigitFingerprint(PGPKeyRing) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _64DigitFingerprint(PGPPublicKey) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _64DigitFingerprint(PGPPublicKeyRing) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _64DigitFingerprint(PGPSecretKey) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _64DigitFingerprint(PGPSecretKeyRing) - Constructor for class org.pgpainless.key._64DigitFingerprint
- _8192 - org.pgpainless.key.generation.type.elgamal.ElGamalLength
-
Deprecated.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.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