summary refs log tree commit diff
path: root/crypto/src/asn1/DLSequence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DLSequence.cs')
-rw-r--r--crypto/src/asn1/DLSequence.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/src/asn1/DLSequence.cs b/crypto/src/asn1/DLSequence.cs
index 8cf8d5bcb..b3c21ece5 100644
--- a/crypto/src/asn1/DLSequence.cs
+++ b/crypto/src/asn1/DLSequence.cs
@@ -64,6 +64,17 @@ namespace Org.BouncyCastle.Asn1
                 Asn1OutputStream.GetContentsEncodings(encoding, elements));
         }
 
+        internal override DerBitString ToAsn1BitString()
+        {
+            return new DLBitString(BerBitString.FlattenBitStrings(GetConstructedBitStrings()), false);
+        }
+
+        // TODO[asn1] DLExternal
+        //internal override DerExternal ToAsn1External()
+        //{
+        //    return new DLExternal(this);
+        //}
+
         internal override Asn1Set ToAsn1Set()
         {
             return new DLSet(false, elements);