<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.3.26207.106" />

System.Security.Cryptography.Pkcs.RecipientInfo

public abstract class RecipientInfo
The RecipientInfo class represents information about a CMS/PKCS #7 message recipient. The RecipientInfo class is an abstract class inherited by the KeyAgreeRecipientInfo and KeyTransRecipientInfo classes.
namespace System.Security.Cryptography.Pkcs { public abstract class RecipientInfo { public RecipientInfoType Type { get; } public abstract int Version { get; } public abstract SubjectIdentifier RecipientIdentifier { get; } public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; } public abstract byte[] EncryptedKey { get; } } }