<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Cms.CmsProcessableByteArray

A holding class for a byte array of data to be processed.
namespace Org.BouncyCastle.Cms { public class CmsProcessableByteArray : CmsTypedData, CmsProcessable, CmsReadable { public DerObjectIdentifier Type { get; } public DerObjectIdentifier ContentType { get; } public CmsProcessableByteArray(byte[] bytes); public CmsProcessableByteArray(DerObjectIdentifier type, byte[] bytes); public byte[] GetByteArray(); public virtual Stream GetInputStream(); public virtual void Write(Stream zOut); } }