summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpKeyRingGenerator.cs
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/openpgp/PgpKeyRingGenerator.cs
parentUpdate copyright (diff)
downloadBouncyCastle.NET-ed25519-84a1abd2bb12af82623c136243240e52a88e0bf4.tar.xz
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/openpgp/PgpKeyRingGenerator.cs')
-rw-r--r--crypto/src/openpgp/PgpKeyRingGenerator.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/crypto/src/openpgp/PgpKeyRingGenerator.cs b/crypto/src/openpgp/PgpKeyRingGenerator.cs
index 352575b0b..abd2030dc 100644
--- a/crypto/src/openpgp/PgpKeyRingGenerator.cs
+++ b/crypto/src/openpgp/PgpKeyRingGenerator.cs
@@ -24,36 +24,6 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
         private SecureRandom				rand;
 
 		/// <summary>
-		/// Create a new key ring generator using old style checksumming. It is recommended to use
-		/// SHA1 checksumming where possible.
-		/// </summary>
-        /// <remarks>
-        /// Conversion of the passphrase characters to bytes is performed using Convert.ToByte(), which is
-        /// the historical behaviour of the library (1.7 and earlier).
-        /// </remarks>
-        /// <param name="certificationLevel">The certification level for keys on this ring.</param>
-		/// <param name="masterKey">The master key pair.</param>
-		/// <param name="id">The id to be associated with the ring.</param>
-		/// <param name="encAlgorithm">The algorithm to be used to protect secret keys.</param>
-		/// <param name="passPhrase">The passPhrase to be used to protect secret keys.</param>
-		/// <param name="hashedPackets">Packets to be included in the certification hash.</param>
-		/// <param name="unhashedPackets">Packets to be attached unhashed to the certification.</param>
-		/// <param name="rand">input secured random.</param>
-        [Obsolete("Use version taking an explicit 'useSha1' parameter instead")]
-		public PgpKeyRingGenerator(
-			int							certificationLevel,
-			PgpKeyPair					masterKey,
-			string						id,
-			SymmetricKeyAlgorithmTag	encAlgorithm,
-			char[]						passPhrase,
-			PgpSignatureSubpacketVector	hashedPackets,
-			PgpSignatureSubpacketVector	unhashedPackets,
-			SecureRandom				rand)
-			: this(certificationLevel, masterKey, id, encAlgorithm, passPhrase, false, hashedPackets, unhashedPackets, rand)
-		{
-		}
-
-		/// <summary>
 		/// Create a new key ring generator.
 		/// </summary>
         /// <remarks>