summary refs log tree commit diff
path: root/crypto/src/asn1/BerOutputStream.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 13:03:27 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 13:03:27 +0700
commitcbf1038241e3a2b895813ccee83d559525b01630 (patch)
tree385fedc4e1614ae0c87324a2caa04a084b0bc09c /crypto/src/asn1/BerOutputStream.cs
parentASN.1 Obsolete cleanup (diff)
downloadBouncyCastle.NET-ed25519-cbf1038241e3a2b895813ccee83d559525b01630.tar.xz
Obsolete BerOutputStream
Diffstat (limited to 'crypto/src/asn1/BerOutputStream.cs')
-rw-r--r--crypto/src/asn1/BerOutputStream.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/asn1/BerOutputStream.cs b/crypto/src/asn1/BerOutputStream.cs
index 4ed28d8f3..98c9dd7f8 100644
--- a/crypto/src/asn1/BerOutputStream.cs
+++ b/crypto/src/asn1/BerOutputStream.cs
@@ -3,7 +3,7 @@ using System.IO;
 
 namespace Org.BouncyCastle.Asn1
 {
-	// TODO Make Obsolete in favour of Asn1OutputStream?
+    [Obsolete("Use 'Asn1OutputStream' instead")]
     public class BerOutputStream
         : DerOutputStream
     {
@@ -11,5 +11,10 @@ namespace Org.BouncyCastle.Asn1
             : base(os)
         {
         }
+
+        internal override bool IsBer
+        {
+            get { return true; }
+        }
     }
 }