summary refs log tree commit diff
path: root/crypto/src/bcpg/S2k.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-03-09 16:58:41 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-03-09 16:58:41 +0700
commit18db014ea245eff3de280bee415af1db1b6f6dfd (patch)
tree51cc53db55e05072366a7c29c942694a5222ab6e /crypto/src/bcpg/S2k.cs
parentAdd SignerUtilities handling for X931Signer (diff)
downloadBouncyCastle.NET-ed25519-18db014ea245eff3de280bee415af1db1b6f6dfd.tar.xz
Add constants for GNU protection modes
Diffstat (limited to 'crypto/src/bcpg/S2k.cs')
-rw-r--r--crypto/src/bcpg/S2k.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/bcpg/S2k.cs b/crypto/src/bcpg/S2k.cs
index de08c016c..f6d306890 100644
--- a/crypto/src/bcpg/S2k.cs
+++ b/crypto/src/bcpg/S2k.cs
@@ -16,6 +16,8 @@ namespace Org.BouncyCastle.Bcpg
         public const int Salted = 1;
         public const int SaltedAndIterated = 3;
         public const int GnuDummyS2K = 101;
+        public const int GnuProtectionModeNoPrivateKey = 1;
+        public const int GnuProtectionModeDivertToCard = 2;
 
         internal int type;
         internal HashAlgorithmTag algorithm;