summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-25 14:25:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-25 14:25:37 +0700
commit2f3e4bbd4f5d33874fcd7f212d38304e76a1335b (patch)
tree182ace7a9e601d133a0cb1e4f6d6020f51af23ff /crypto/src
parentUpdates to Cms from bc-java (diff)
downloadBouncyCastle.NET-ed25519-2f3e4bbd4f5d33874fcd7f212d38304e76a1335b.tar.xz
Remove unused method
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/asn1/Asn1TaggedObject.cs2
-rw-r--r--crypto/src/asn1/BerTaggedObject.cs5
-rw-r--r--crypto/src/asn1/DLTaggedObject.cs6
-rw-r--r--crypto/src/asn1/DerTaggedObject.cs5
4 files changed, 0 insertions, 18 deletions
diff --git a/crypto/src/asn1/Asn1TaggedObject.cs b/crypto/src/asn1/Asn1TaggedObject.cs
index 58566694b..d6722c020 100644
--- a/crypto/src/asn1/Asn1TaggedObject.cs
+++ b/crypto/src/asn1/Asn1TaggedObject.cs
@@ -368,8 +368,6 @@ namespace Org.BouncyCastle.Asn1
             return Asn1Utilities.GetTagText(m_tagClass, m_tagNo) + m_object;
 		}
 
-        internal abstract string Asn1Encoding { get; }
-
         internal abstract Asn1Sequence RebuildConstructed(Asn1Object asn1Object);
 
         internal abstract Asn1TaggedObject ReplaceTag(int tagClass, int tagNo);
diff --git a/crypto/src/asn1/BerTaggedObject.cs b/crypto/src/asn1/BerTaggedObject.cs
index f3d12fdda..9e9ce0a49 100644
--- a/crypto/src/asn1/BerTaggedObject.cs
+++ b/crypto/src/asn1/BerTaggedObject.cs
@@ -44,11 +44,6 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        internal override string Asn1Encoding
-        {
-            get { return Ber; }
-        }
-
         internal override IAsn1Encoding GetEncoding(int encoding)
         {
             if (Asn1OutputStream.EncodingBer != encoding)
diff --git a/crypto/src/asn1/DLTaggedObject.cs b/crypto/src/asn1/DLTaggedObject.cs
index 09a370690..d49dedc9a 100644
--- a/crypto/src/asn1/DLTaggedObject.cs
+++ b/crypto/src/asn1/DLTaggedObject.cs
@@ -30,12 +30,6 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        internal override string Asn1Encoding
-        {
-            // TODO[asn1] Use DL encoding when supported
-            get { return Ber; }
-        }
-
         internal override IAsn1Encoding GetEncoding(int encoding)
         {
             if (Asn1OutputStream.EncodingDer == encoding)
diff --git a/crypto/src/asn1/DerTaggedObject.cs b/crypto/src/asn1/DerTaggedObject.cs
index 2cbe22445..1f6315472 100644
--- a/crypto/src/asn1/DerTaggedObject.cs
+++ b/crypto/src/asn1/DerTaggedObject.cs
@@ -40,11 +40,6 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        internal override string Asn1Encoding
-        {
-            get { return Der; }
-        }
-
         internal override IAsn1Encoding GetEncoding(int encoding)
         {
             encoding = Asn1OutputStream.EncodingDer;