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

Org.BouncyCastle.Cms.CmsDigestedData

public sealed class CmsDigestedData
Containing class for a CMS DigestedData object.
namespace Org.BouncyCastle.Cms { public sealed class CmsDigestedData { public ContentInfo ContentInfo { get; } public DigestedData DigestedData { get; } public DerObjectIdentifier ContentType { get; } public AlgorithmIdentifier DigestAlgorithm { get; } public CmsDigestedData(byte[] digestedData); public CmsDigestedData(Stream digestedData); public CmsDigestedData(ContentInfo contentInfo); public CmsTypedData GetDigestedContent(); public byte[] GetEncoded(); public bool Verify(); } }