From 18db014ea245eff3de280bee415af1db1b6f6dfd Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 9 Mar 2015 16:58:41 +0700 Subject: Add constants for GNU protection modes --- crypto/src/bcpg/S2k.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto') 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; -- cgit 1.5.1