summary refs log tree commit diff
path: root/crypto/src/x509/X509ExtensionBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/x509/X509ExtensionBase.cs')
-rw-r--r--crypto/src/x509/X509ExtensionBase.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/crypto/src/x509/X509ExtensionBase.cs b/crypto/src/x509/X509ExtensionBase.cs
index aaf6695c0..af3907773 100644
--- a/crypto/src/x509/X509ExtensionBase.cs
+++ b/crypto/src/x509/X509ExtensionBase.cs
@@ -51,20 +51,7 @@ namespace Org.BouncyCastle.X509
 			return GetExtensionOids(true);
 		}
 
-		/// <summary>
-		/// Get the value of a given extension.
-		/// </summary>
-		/// <param name="oid">The object ID of the extension. </param>
-		/// <returns>An Asn1OctetString object if that extension is found or null if not.</returns>
-		[Obsolete("Use version taking a DerObjectIdentifier instead")]
-		public Asn1OctetString GetExtensionValue(
-			string oid)
-		{
-			return GetExtensionValue(new DerObjectIdentifier(oid));
-		}
-
-		public virtual Asn1OctetString GetExtensionValue(
-			DerObjectIdentifier oid)
+		public virtual Asn1OctetString GetExtensionValue(DerObjectIdentifier oid)
 		{
 			X509Extensions exts = GetX509Extensions();
 			if (exts != null)