summary refs log tree commit diff
path: root/crypto/src/bcpg
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
commit84a1abd2bb12af82623c136243240e52a88e0bf4 (patch)
tree5a9828c8785a54c5b293ba484bdd0e2f2431600f /crypto/src/bcpg
parentUpdate copyright (diff)
downloadBouncyCastle.NET-ed25519-84a1abd2bb12af82623c136243240e52a88e0bf4.tar.xz
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/bcpg')
-rw-r--r--crypto/src/bcpg/Crc24.cs6
-rw-r--r--crypto/src/bcpg/PublicKeyAlgorithmTags.cs2
-rw-r--r--crypto/src/bcpg/S2k.cs6
3 files changed, 0 insertions, 14 deletions
diff --git a/crypto/src/bcpg/Crc24.cs b/crypto/src/bcpg/Crc24.cs
index 97846f4fb..5521bbb64 100644
--- a/crypto/src/bcpg/Crc24.cs
+++ b/crypto/src/bcpg/Crc24.cs
@@ -27,12 +27,6 @@ namespace Org.BouncyCastle.Bcpg
             }
         }
 
-		[Obsolete("Use 'Value' property instead")]
-        public int GetValue()
-        {
-            return crc;
-        }
-
 		public int Value
 		{
 			get { return crc; }
diff --git a/crypto/src/bcpg/PublicKeyAlgorithmTags.cs b/crypto/src/bcpg/PublicKeyAlgorithmTags.cs
index 7c93964f2..1dd041a5f 100644
--- a/crypto/src/bcpg/PublicKeyAlgorithmTags.cs
+++ b/crypto/src/bcpg/PublicKeyAlgorithmTags.cs
@@ -10,8 +10,6 @@ namespace Org.BouncyCastle.Bcpg
         RsaSign = 3,			// RSA Sign-Only
         ElGamalEncrypt = 16,	// Elgamal (Encrypt-Only), see [ELGAMAL]
         Dsa = 17,				// DSA (Digital Signature Standard)
-        [Obsolete("Use 'ECDH' instead")]
-        EC = 18,				// Reserved for Elliptic Curve
         ECDH = 18,              // Reserved for Elliptic Curve (actual algorithm name)
         ECDsa = 19,				// Reserved for ECDSA
         ElGamalGeneral = 20,	// Elgamal (Encrypt or Sign)
diff --git a/crypto/src/bcpg/S2k.cs b/crypto/src/bcpg/S2k.cs
index 33fd792fe..8446fd1ec 100644
--- a/crypto/src/bcpg/S2k.cs
+++ b/crypto/src/bcpg/S2k.cs
@@ -101,12 +101,6 @@ namespace Org.BouncyCastle.Bcpg
             return Arrays.Clone(iv);
         }
 
-		[Obsolete("Use 'IterationCount' property instead")]
-        public long GetIterationCount()
-        {
-            return IterationCount;
-        }
-
 		/// <summary>The iteration count</summary>
         public virtual long IterationCount
 		{