aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-03-11 14:37:23 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-03-11 14:37:23 +0100
commit82a2a76a33e72d2a2ad98b06504196dc0c15d496 (patch)
tree72d126ca198baabe3840e08cf35ced2d5d388b7b /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java
parent4ed1bf0ca455cb365b544c31f772d585a52dc3ed (diff)
downloadopen-keychain-82a2a76a33e72d2a2ad98b06504196dc0c15d496.tar.gz
open-keychain-82a2a76a33e72d2a2ad98b06504196dc0c15d496.tar.bz2
open-keychain-82a2a76a33e72d2a2ad98b06504196dc0c15d496.zip
make constant for certify hash algo
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java
index 90991ba15..aef9a5cdb 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpConstants.java
@@ -58,6 +58,8 @@ public class PgpConstants {
sPreferredCompressionAlgorithms.add(CompressionAlgorithmTags.ZIP);
}
+ public static final int CERTIFY_HASH_ALGO = HashAlgorithmTags.SHA256;
+
/*
* Note: s2kcount is a number between 0 and 0xff that controls the
* number of times to iterate the password hash before use. More