summary refs log tree commit diff
path: root/crypto/src/asn1/DerOctetString.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 15:59:24 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 15:59:24 +0700
commitc47af79f9a7928e62b6236d2973a91eb8259b9c6 (patch)
treec371da173eab4bf38ca3c594b5ddacf97f5a230e /crypto/src/asn1/DerOctetString.cs
parentRefactoring in Asn1.CryptoPro (diff)
downloadBouncyCastle.NET-ed25519-c47af79f9a7928e62b6236d2973a91eb8259b9c6.tar.xz
Refactoring in Asn1.Nist
Diffstat (limited to 'crypto/src/asn1/DerOctetString.cs')
-rw-r--r--crypto/src/asn1/DerOctetString.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerOctetString.cs b/crypto/src/asn1/DerOctetString.cs
index 7ea9940b3..3bce719df 100644
--- a/crypto/src/asn1/DerOctetString.cs
+++ b/crypto/src/asn1/DerOctetString.cs
@@ -5,7 +5,9 @@ namespace Org.BouncyCastle.Asn1
     public class DerOctetString
         : Asn1OctetString
     {
-		/// <param name="contents">The octets making up the octet string.</param>
+        public static readonly DerOctetString Empty = new DerOctetString(EmptyOctets);
+
+        /// <param name="contents">The octets making up the octet string.</param>
         public DerOctetString(byte[] contents)
 			: base(contents)
         {