summary refs log tree commit diff
path: root/crypto/src/asn1/BerTaggedObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/BerTaggedObject.cs')
-rw-r--r--crypto/src/asn1/BerTaggedObject.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/asn1/BerTaggedObject.cs b/crypto/src/asn1/BerTaggedObject.cs
index 164936c6f..4bf27e12f 100644
--- a/crypto/src/asn1/BerTaggedObject.cs
+++ b/crypto/src/asn1/BerTaggedObject.cs
@@ -47,6 +47,11 @@ namespace Org.BouncyCastle.Asn1
 		{
 		}
 
+        internal override string Asn1Encoding
+        {
+            get { return Ber; }
+        }
+
         internal override bool EncodeConstructed()
         {
             throw Platform.CreateNotImplementedException("BerTaggedObject.EncodeConstructed");
@@ -117,5 +122,10 @@ namespace Org.BouncyCastle.Asn1
 				base.Encode(asn1Out, withID);
 			}
 		}
+
+        internal override Asn1Sequence RebuildConstructed(Asn1Object asn1Object)
+        {
+            return new BerSequence(asn1Object);
+        }
     }
 }