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

System.Security.Cryptography.Pkcs.CmsRecipient

public sealed class CmsRecipient
The CmsRecipient class defines the recipient of a CMS/PKCS #7 message.
namespace System.Security.Cryptography.Pkcs { public sealed class CmsRecipient { public RSAEncryptionPadding RSAEncryptionPadding { get; } public SubjectIdentifierType RecipientIdentifierType { get; } public X509Certificate2 Certificate { get; } public CmsRecipient(X509Certificate2 certificate); public CmsRecipient(X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding); public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding); public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificate2 certificate); } }