summary refs log tree commit diff
path: root/crypto/src/asn1/DERExternalParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-22 01:40:55 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-22 01:40:55 +0700
commit892dbe845c98ff3fad3d682aaed3cd40b3161d4f (patch)
tree785ea8dc92cde60b6c06d5f56f6c3f0cda69bb2c /crypto/src/asn1/DERExternalParser.cs
parentCleanup old build systems (diff)
downloadBouncyCastle.NET-ed25519-892dbe845c98ff3fad3d682aaed3cd40b3161d4f.tar.xz
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/asn1/DERExternalParser.cs')
-rw-r--r--crypto/src/asn1/DERExternalParser.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/crypto/src/asn1/DERExternalParser.cs b/crypto/src/asn1/DERExternalParser.cs
index 5e52e63c6..cb5e0d8b6 100644
--- a/crypto/src/asn1/DERExternalParser.cs
+++ b/crypto/src/asn1/DERExternalParser.cs
@@ -5,22 +5,21 @@ namespace Org.BouncyCastle.Asn1
 	public class DerExternalParser
 		: Asn1Encodable
 	{
-		private readonly Asn1StreamParser _parser;
+		private readonly Asn1StreamParser m_parser;
 
-        [Obsolete("Will be removed")]
-		public DerExternalParser(Asn1StreamParser parser)
+		internal DerExternalParser(Asn1StreamParser parser)
 		{
-			this._parser = parser;
+			m_parser = parser;
 		}
 
 		public IAsn1Convertible ReadObject()
 		{
-			return _parser.ReadObject();
+			return m_parser.ReadObject();
 		}
 
 		public override Asn1Object ToAsn1Object()
 		{
-            return Parse(_parser);
+            return Parse(m_parser);
 		}
 
         internal static DerExternal Parse(Asn1StreamParser sp)