Uses of Class
org.pgpainless.algorithm.SymmetricKeyAlgorithm
-
Packages that use SymmetricKeyAlgorithm Package Description org.pgpainless.algorithm Enums which map to OpenPGP's algorithm IDs.org.pgpainless.algorithm.negotiation Classes related to algorithm negotiation.org.pgpainless.decryption_verification Classes used to decryption and verification of OpenPGP encrypted / signed data.org.pgpainless.encryption_signing Classes used to encrypt or sign data using OpenPGP.org.pgpainless.implementation Implementation factory classes to be able to switch out the underlying crypto engine implementation.org.pgpainless.key.generation Classes related to OpenPGP key generation.org.pgpainless.key.info Extract information from PGPKeyRings.org.pgpainless.key.protection Classes related to OpenPGP secret key password protection.org.pgpainless.policy Policy regarding used algorithms.org.pgpainless.signature.subpackets Classes related to OpenPGP signatures.org.pgpainless.util Utility classes. -
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.algorithm
Methods in org.pgpainless.algorithm that return SymmetricKeyAlgorithm Modifier and Type Method Description static SymmetricKeyAlgorithm
SymmetricKeyAlgorithm. fromId(int id)
Return theSymmetricKeyAlgorithm
enum that corresponds to the provided numeric id.static SymmetricKeyAlgorithm
SymmetricKeyAlgorithm. valueOf(String name)
Returns the enum constant of this type with the specified name.static SymmetricKeyAlgorithm[]
SymmetricKeyAlgorithm. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.pgpainless.algorithm that return types with arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description Set<SymmetricKeyAlgorithm>
AlgorithmSuite. getSymmetricKeyAlgorithms()
Constructor parameters in org.pgpainless.algorithm with type arguments of type SymmetricKeyAlgorithm Constructor Description AlgorithmSuite(List<SymmetricKeyAlgorithm> symmetricKeyAlgorithms, List<HashAlgorithm> hashAlgorithms, List<CompressionAlgorithm> compressionAlgorithms)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.algorithm.negotiation
Methods in org.pgpainless.algorithm.negotiation that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
SymmetricKeyAlgorithmNegotiator. negotiate(Policy.SymmetricKeyAlgorithmPolicy policy, SymmetricKeyAlgorithm override, List<Set<SymmetricKeyAlgorithm>> keyPreferences)
Negotiate a symmetric encryption algorithm.Methods in org.pgpainless.algorithm.negotiation with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
SymmetricKeyAlgorithmNegotiator. negotiate(Policy.SymmetricKeyAlgorithmPolicy policy, SymmetricKeyAlgorithm override, List<Set<SymmetricKeyAlgorithm>> keyPreferences)
Negotiate a symmetric encryption algorithm.Method parameters in org.pgpainless.algorithm.negotiation with type arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
SymmetricKeyAlgorithmNegotiator. negotiate(Policy.SymmetricKeyAlgorithmPolicy policy, SymmetricKeyAlgorithm override, List<Set<SymmetricKeyAlgorithm>> keyPreferences)
Negotiate a symmetric encryption algorithm. -
Uses of SymmetricKeyAlgorithm in org.pgpainless.decryption_verification
Methods in org.pgpainless.decryption_verification that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
OpenPgpMetadata. getSymmetricKeyAlgorithm()
Return the algorithm that was used to symmetrically encrypt the message. -
Uses of SymmetricKeyAlgorithm in org.pgpainless.encryption_signing
Methods in org.pgpainless.encryption_signing that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
EncryptionResult. getEncryptionAlgorithm()
Return the symmetric encryption algorithm used to encrypt the message.SymmetricKeyAlgorithm
EncryptionResult. getSymmetricKeyAlgorithm()
Deprecated.useEncryptionResult.getEncryptionAlgorithm()
instead.static SymmetricKeyAlgorithm
EncryptionBuilder. negotiateSymmetricEncryptionAlgorithm(EncryptionOptions encryptionOptions)
Negotiate theSymmetricKeyAlgorithm
used for message encryption.Methods in org.pgpainless.encryption_signing with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description EncryptionOptions
EncryptionOptions. overrideEncryptionAlgorithm(SymmetricKeyAlgorithm encryptionAlgorithm)
Override the used symmetric encryption algorithm.EncryptionResult.Builder
EncryptionResult.Builder. setEncryptionAlgorithm(SymmetricKeyAlgorithm encryptionAlgorithm)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.implementation
Methods in org.pgpainless.implementation with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
BcImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
BcImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
JceImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
JceImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder
ImplementationFactory. getPGPDataEncryptorBuilder(SymmetricKeyAlgorithm symmetricKeyAlgorithm)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.key.generation
Methods in org.pgpainless.key.generation with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description KeySpecBuilder
KeySpecBuilder. overridePreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm... preferredSymmetricKeyAlgorithms)
KeySpecBuilder
KeySpecBuilderInterface. overridePreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm... preferredSymmetricKeyAlgorithms)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.key.info
Methods in org.pgpainless.key.info that return types with arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description Set<SymmetricKeyAlgorithm>
KeyAccessor. getPreferredSymmetricKeyAlgorithms()
Return preferred symmetric key encryption algorithms.Set<SymmetricKeyAlgorithm>
KeyRingInfo. getPreferredSymmetricKeyAlgorithms()
Set<SymmetricKeyAlgorithm>
KeyRingInfo. getPreferredSymmetricKeyAlgorithms(long keyId)
Set<SymmetricKeyAlgorithm>
KeyRingInfo. getPreferredSymmetricKeyAlgorithms(String userId)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.key.protection
Methods in org.pgpainless.key.protection that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
KeyRingProtectionSettings. getEncryptionAlgorithm()
Constructors in org.pgpainless.key.protection with parameters of type SymmetricKeyAlgorithm Constructor Description KeyRingProtectionSettings(SymmetricKeyAlgorithm encryptionAlgorithm)
KeyRingProtectionSettings(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.policy
Methods in org.pgpainless.policy that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
Policy.SymmetricKeyAlgorithmPolicy. getDefaultSymmetricKeyAlgorithm()
Return the default symmetric key algorithm.SymmetricKeyAlgorithm
Policy.SymmetricKeyAlgorithmPolicy. selectBest(List<SymmetricKeyAlgorithm> options)
Select the best acceptable algorithm from the options list.Methods in org.pgpainless.policy with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description boolean
Policy.SymmetricKeyAlgorithmPolicy. isAcceptable(SymmetricKeyAlgorithm algorithm)
Return true if the given symmetric encryption algorithm is acceptable by this policy.Method parameters in org.pgpainless.policy with type arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
Policy.SymmetricKeyAlgorithmPolicy. selectBest(List<SymmetricKeyAlgorithm> options)
Select the best acceptable algorithm from the options list.Constructors in org.pgpainless.policy with parameters of type SymmetricKeyAlgorithm Constructor Description SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm defaultSymmetricKeyAlgorithm, List<SymmetricKeyAlgorithm> acceptableSymmetricKeyAlgorithms)
Constructor parameters in org.pgpainless.policy with type arguments of type SymmetricKeyAlgorithm Constructor Description SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm defaultSymmetricKeyAlgorithm, List<SymmetricKeyAlgorithm> acceptableSymmetricKeyAlgorithms)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.signature.subpackets
Methods in org.pgpainless.signature.subpackets that return types with arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description static Set<SymmetricKeyAlgorithm>
SignatureSubpacketsUtil. parsePreferredSymmetricKeyAlgorithms(org.bouncycastle.openpgp.PGPSignature signature)
Return the preferredSymmetricKeyAlgorithms
as present in the signature.Methods in org.pgpainless.signature.subpackets with parameters of type SymmetricKeyAlgorithm Modifier and Type Method Description SelfSignatureSubpackets
SelfSignatureSubpackets. setPreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm... algorithms)
SignatureSubpackets
SignatureSubpackets. setPreferredSymmetricKeyAlgorithms(SymmetricKeyAlgorithm... algorithms)
Method parameters in org.pgpainless.signature.subpackets with type arguments of type SymmetricKeyAlgorithm Modifier and Type Method Description SelfSignatureSubpackets
SelfSignatureSubpackets. setPreferredSymmetricKeyAlgorithms(boolean isCritical, Set<SymmetricKeyAlgorithm> algorithms)
SelfSignatureSubpackets
SelfSignatureSubpackets. setPreferredSymmetricKeyAlgorithms(Set<SymmetricKeyAlgorithm> algorithms)
SignatureSubpackets
SignatureSubpackets. setPreferredSymmetricKeyAlgorithms(boolean isCritical, Set<SymmetricKeyAlgorithm> algorithms)
SignatureSubpackets
SignatureSubpackets. setPreferredSymmetricKeyAlgorithms(Set<SymmetricKeyAlgorithm> algorithms)
-
Uses of SymmetricKeyAlgorithm in org.pgpainless.util
Methods in org.pgpainless.util that return SymmetricKeyAlgorithm Modifier and Type Method Description SymmetricKeyAlgorithm
SessionKey. getAlgorithm()
Return the symmetric key algorithm.Constructors in org.pgpainless.util with parameters of type SymmetricKeyAlgorithm Constructor Description SessionKey(SymmetricKeyAlgorithm algorithm, byte[] key)
Create a session key object from an algorithm and a key.
-