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

Org.BouncyCastle.Cms.RecipientInformation

public abstract class RecipientInformation
namespace Org.BouncyCastle.Cms { public abstract class RecipientInformation { public RecipientID RecipientID { get; } public AlgorithmIdentifier KeyEncryptionAlgorithmID { get; } public string KeyEncryptionAlgOid { get; } public Asn1Object KeyEncryptionAlgParams { get; } public byte[] GetContent(ICipherParameters key); public byte[] GetMac(); public abstract CmsTypedStream GetContentStream(ICipherParameters key); } }