Uses of Class
org.pgpainless.algorithm.HashAlgorithm
- 
Packages that use HashAlgorithm Package Description org.pgpainless.algorithm Enums which map to OpenPGP's algorithm IDs.org.pgpainless.algorithm.negotiation Classes related to algorithm negotiation.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.key.util Utility functions to deal with OpenPGP keys.org.pgpainless.policy Policy regarding used algorithms.org.pgpainless.signature.builder Classes related to OpenPGP signatures.org.pgpainless.signature.subpackets Classes related to OpenPGP signatures.org.pgpainless.util Utility classes. - 
- 
Uses of HashAlgorithm in org.pgpainless.algorithm
Methods in org.pgpainless.algorithm that return HashAlgorithm Modifier and Type Method Description static HashAlgorithmHashAlgorithm. fromId(int id)Return theHashAlgorithmvalue that corresponds to the provided algorithm id.static HashAlgorithmHashAlgorithm. fromName(String name)Return theHashAlgorithmvalue that corresponds to the provided name.static HashAlgorithmHashAlgorithm. valueOf(String name)Returns the enum constant of this type with the specified name.static HashAlgorithm[]HashAlgorithm. 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 HashAlgorithm Modifier and Type Method Description Set<HashAlgorithm>AlgorithmSuite. getHashAlgorithms() - 
Uses of HashAlgorithm in org.pgpainless.algorithm.negotiation
Methods in org.pgpainless.algorithm.negotiation that return HashAlgorithm Modifier and Type Method Description HashAlgorithmHashAlgorithmNegotiator. negotiateHashAlgorithm(Set<HashAlgorithm> orderedHashAlgorithmPreferencesSet)Method parameters in org.pgpainless.algorithm.negotiation with type arguments of type HashAlgorithm Modifier and Type Method Description HashAlgorithmHashAlgorithmNegotiator. negotiateHashAlgorithm(Set<HashAlgorithm> orderedHashAlgorithmPreferencesSet) - 
Uses of HashAlgorithm in org.pgpainless.encryption_signing
Methods in org.pgpainless.encryption_signing that return HashAlgorithm Modifier and Type Method Description HashAlgorithmSigningOptions.SigningMethod. getHashAlgorithm()HashAlgorithmSigningOptions. getHashAlgorithmOverride()Return the hash algorithm override (or null if no override is set).Methods in org.pgpainless.encryption_signing with parameters of type HashAlgorithm Modifier and Type Method Description static SigningOptions.SigningMethodSigningOptions.SigningMethod. detachedSignature(org.bouncycastle.openpgp.PGPSignatureGenerator signatureGenerator, HashAlgorithm hashAlgorithm)Detached signing method.static SigningOptions.SigningMethodSigningOptions.SigningMethod. inlineSignature(org.bouncycastle.openpgp.PGPSignatureGenerator signatureGenerator, HashAlgorithm hashAlgorithm)Inline-signature method.SigningOptionsSigningOptions. overrideHashAlgorithm(HashAlgorithm hashAlgorithmOverride)Override hash algorithm negotiation by dictating which hash algorithm needs to be used. - 
Uses of HashAlgorithm in org.pgpainless.implementation
Methods in org.pgpainless.implementation with parameters of type HashAlgorithm Modifier and Type Method Description org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorBcImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorJceImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)org.bouncycastle.openpgp.operator.PGPContentSignerBuilderImplementationFactory. getPGPContentSignerBuilder(PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm)org.bouncycastle.openpgp.operator.PGPDigestCalculatorImplementationFactory. getPGPDigestCalculator(HashAlgorithm algorithm) - 
Uses of HashAlgorithm in org.pgpainless.key.generation
Methods in org.pgpainless.key.generation with parameters of type HashAlgorithm Modifier and Type Method Description KeySpecBuilderKeySpecBuilder. overridePreferredHashAlgorithms(HashAlgorithm... preferredHashAlgorithms)KeySpecBuilderKeySpecBuilderInterface. overridePreferredHashAlgorithms(HashAlgorithm... preferredHashAlgorithms) - 
Uses of HashAlgorithm in org.pgpainless.key.info
Methods in org.pgpainless.key.info that return types with arguments of type HashAlgorithm Modifier and Type Method Description Set<HashAlgorithm>KeyAccessor. getPreferredHashAlgorithms()Return preferred hash algorithms.Set<HashAlgorithm>KeyRingInfo. getPreferredHashAlgorithms()Set<HashAlgorithm>KeyRingInfo. getPreferredHashAlgorithms(long keyId)Set<HashAlgorithm>KeyRingInfo. getPreferredHashAlgorithms(String userId) - 
Uses of HashAlgorithm in org.pgpainless.key.protection
Methods in org.pgpainless.key.protection that return HashAlgorithm Modifier and Type Method Description HashAlgorithmKeyRingProtectionSettings. getHashAlgorithm()Constructors in org.pgpainless.key.protection with parameters of type HashAlgorithm Constructor Description KeyRingProtectionSettings(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount) - 
Uses of HashAlgorithm in org.pgpainless.key.util
Methods in org.pgpainless.key.util that return types with arguments of type HashAlgorithm Modifier and Type Method Description static Set<HashAlgorithm>OpenPgpKeyAttributeUtil. getOrGuessPreferredHashAlgorithms(org.bouncycastle.openpgp.PGPPublicKey publicKey)Try to extract hash algorithm preferences from self signatures.static List<HashAlgorithm>OpenPgpKeyAttributeUtil. getPreferredHashAlgorithms(org.bouncycastle.openpgp.PGPPublicKey publicKey)static List<HashAlgorithm>OpenPgpKeyAttributeUtil. guessPreferredHashAlgorithms(org.bouncycastle.openpgp.PGPPublicKey publicKey)Return the hash algorithm that was used in the latest self signature. - 
Uses of HashAlgorithm in org.pgpainless.policy
Methods in org.pgpainless.policy that return HashAlgorithm Modifier and Type Method Description HashAlgorithmPolicy.HashAlgorithmPolicy. defaultHashAlgorithm()Return the default hash algorithm.Methods in org.pgpainless.policy with parameters of type HashAlgorithm Modifier and Type Method Description booleanPolicy.HashAlgorithmPolicy. isAcceptable(HashAlgorithm hashAlgorithm)Return true if the given hash algorithm is acceptable by this policy.Constructors in org.pgpainless.policy with parameters of type HashAlgorithm Constructor Description HashAlgorithmPolicy(HashAlgorithm defaultHashAlgorithm, List<HashAlgorithm> acceptableHashAlgorithms)Constructor parameters in org.pgpainless.policy with type arguments of type HashAlgorithm Constructor Description HashAlgorithmPolicy(HashAlgorithm defaultHashAlgorithm, List<HashAlgorithm> acceptableHashAlgorithms) - 
Uses of HashAlgorithm in org.pgpainless.signature.builder
Fields in org.pgpainless.signature.builder declared as HashAlgorithm Modifier and Type Field Description protected HashAlgorithmAbstractSignatureBuilder. hashAlgorithmMethods in org.pgpainless.signature.builder that return HashAlgorithm Modifier and Type Method Description protected static HashAlgorithmAbstractSignatureBuilder. negotiateHashAlgorithm(org.bouncycastle.openpgp.PGPPublicKey publicKey)Negotiate aHashAlgorithmto be used when creating the signature.Methods in org.pgpainless.signature.builder with parameters of type HashAlgorithm Modifier and Type Method Description BAbstractSignatureBuilder. overrideHashAlgorithm(HashAlgorithm hashAlgorithm)Constructors in org.pgpainless.signature.builder with parameters of type HashAlgorithm Constructor Description AbstractSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector, HashAlgorithm hashAlgorithm, SignatureSubpackets hashedSubpackets, SignatureSubpackets unhashedSubpackets) - 
Uses of HashAlgorithm in org.pgpainless.signature.subpackets
Methods in org.pgpainless.signature.subpackets that return types with arguments of type HashAlgorithm Modifier and Type Method Description static Set<HashAlgorithm>SignatureSubpacketsUtil. parsePreferredHashAlgorithms(org.bouncycastle.openpgp.PGPSignature signature)Return the preferredHashAlgorithmsas present in the signature.Methods in org.pgpainless.signature.subpackets with parameters of type HashAlgorithm Modifier and Type Method Description SelfSignatureSubpacketsSelfSignatureSubpackets. setPreferredHashAlgorithms(HashAlgorithm... algorithms)SignatureSubpacketsSignatureSubpackets. setPreferredHashAlgorithms(HashAlgorithm... algorithms)BaseSignatureSubpacketsBaseSignatureSubpackets. setSignatureTarget(boolean isCritical, PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm, byte[] hashData)BaseSignatureSubpacketsBaseSignatureSubpackets. setSignatureTarget(PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm, byte[] hashData)SignatureSubpacketsSignatureSubpackets. setSignatureTarget(boolean isCritical, PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm, byte[] hashData)SignatureSubpacketsSignatureSubpackets. setSignatureTarget(PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm, byte[] hashData)Method parameters in org.pgpainless.signature.subpackets with type arguments of type HashAlgorithm Modifier and Type Method Description SelfSignatureSubpacketsSelfSignatureSubpackets. setPreferredHashAlgorithms(boolean isCritical, Set<HashAlgorithm> algorithms)SelfSignatureSubpacketsSelfSignatureSubpackets. setPreferredHashAlgorithms(Set<HashAlgorithm> algorithms)SignatureSubpacketsSignatureSubpackets. setPreferredHashAlgorithms(boolean isCritical, Set<HashAlgorithm> algorithms)SignatureSubpacketsSignatureSubpackets. setPreferredHashAlgorithms(Set<HashAlgorithm> algorithms) - 
Uses of HashAlgorithm in org.pgpainless.util
Methods in org.pgpainless.util that return types with arguments of type HashAlgorithm Modifier and Type Method Description static List<HashAlgorithm>ArmorUtils. getHashAlgorithms(org.bouncycastle.bcpg.ArmoredInputStream armor)Methods in org.pgpainless.util with parameters of type HashAlgorithm Modifier and Type Method Description static voidArmorUtils. addHashAlgorithmHeader(org.bouncycastle.bcpg.ArmoredOutputStream armor, HashAlgorithm hashAlgorithm) 
 -