summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Set.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1Set.cs')
-rw-r--r--crypto/src/asn1/Asn1Set.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/crypto/src/asn1/Asn1Set.cs b/crypto/src/asn1/Asn1Set.cs
index 45febabaf..42180fd71 100644
--- a/crypto/src/asn1/Asn1Set.cs
+++ b/crypto/src/asn1/Asn1Set.cs
@@ -266,27 +266,11 @@ namespace Org.BouncyCastle.Asn1
             return true;
         }
 
-        internal override bool EncodeConstructed(int encoding)
-        {
-            return true;
-        }
-
         public override string ToString()
         {
             return CollectionUtilities.ToString(elements);
         }
 
-        internal int CalculateContentsLength(int encoding)
-        {
-            int contentsLength = 0;
-            for (int i = 0, count = elements.Length; i < count; ++i)
-            {
-                Asn1Object asn1Object = elements[i].ToAsn1Object();
-                contentsLength += asn1Object.EncodedLength(encoding, true);
-            }
-            return contentsLength;
-        }
-
         internal static Asn1Encodable[] Sort(Asn1Encodable[] elements)
         {
             int count = elements.Length;