summary refs log tree commit diff
path: root/crypto/src/asn1/ASN1OctetStringParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-18 16:31:12 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-18 16:31:12 +0700
commit1ec8938ad4d5810c3f50957b85c7fe9a1e6a00b7 (patch)
tree7760d701bc4f114be2b18f02896cbfa0442f958b /crypto/src/asn1/ASN1OctetStringParser.cs
parentASN.1: Port of bc-java TYPE instances (diff)
downloadBouncyCastle.NET-ed25519-1ec8938ad4d5810c3f50957b85c7fe9a1e6a00b7.tar.xz
ASN:1 tagged object parser updates from bc-java
Diffstat (limited to 'crypto/src/asn1/ASN1OctetStringParser.cs')
-rw-r--r--crypto/src/asn1/ASN1OctetStringParser.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/src/asn1/ASN1OctetStringParser.cs b/crypto/src/asn1/ASN1OctetStringParser.cs
index 5815aa42f..07a3ac909 100644
--- a/crypto/src/asn1/ASN1OctetStringParser.cs
+++ b/crypto/src/asn1/ASN1OctetStringParser.cs
@@ -1,3 +1,4 @@
+using System;
 using System.IO;
 
 namespace Org.BouncyCastle.Asn1
@@ -5,6 +6,8 @@ namespace Org.BouncyCastle.Asn1
 	public interface Asn1OctetStringParser
 		: IAsn1Convertible
 	{
-		Stream GetOctetStream();
+        /// <summary>Return the content of the OCTET STRING as a <see cref="Stream"/>.</summary>
+        /// <returns>A <see cref="Stream"/> represnting the OCTET STRING's content.</returns>
+        Stream GetOctetStream();
 	}
 }