summary refs log tree commit diff
path: root/crypto/src/cms/CMSProcessableByteArray.cs
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2015-10-19 10:45:20 -0400
committerJeffrey Stedfast <jeff@xamarin.com>2015-10-19 10:45:20 -0400
commit9bb283017763ea21484dd7ece2a9b6f32e926ede (patch)
tree6ef7d0f0e1c7d1e565bbd9e92aafdff786a56835 /crypto/src/cms/CMSProcessableByteArray.cs
parentUpdated Visual Studio 2010 project files (diff)
parentSigOutputStream removed from the other-platform path too. (diff)
downloadBouncyCastle.NET-ed25519-9bb283017763ea21484dd7ece2a9b6f32e926ede.tar.xz
Merge branch 'master' into vs2010
Diffstat (limited to 'crypto/src/cms/CMSProcessableByteArray.cs')
-rw-r--r--crypto/src/cms/CMSProcessableByteArray.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/src/cms/CMSProcessableByteArray.cs b/crypto/src/cms/CMSProcessableByteArray.cs

index 4bee4f8bd..a6ab9b6a2 100644 --- a/crypto/src/cms/CMSProcessableByteArray.cs +++ b/crypto/src/cms/CMSProcessableByteArray.cs
@@ -11,23 +11,23 @@ namespace Org.BouncyCastle.Cms { private readonly byte[] bytes; - public CmsProcessableByteArray( - byte[] bytes) + public CmsProcessableByteArray(byte[] bytes) { this.bytes = bytes; } - public Stream GetInputStream() + public virtual Stream GetInputStream() { return new MemoryStream(bytes, false); } - public virtual void Write(Stream zOut) + public virtual void Write(Stream zOut) { zOut.Write(bytes, 0, bytes.Length); } - /// <returns>A clone of the byte array</returns> + /// <returns>A clone of the byte array</returns> + [Obsolete] public virtual object GetContent() { return bytes.Clone();