次の方法で共有


CmsMessageRecipient Constructors

Definition

Overloads

CmsMessageRecipient(X509Certificate2)

Creates an instance of the CmsMessageRecipient class.

CmsMessageRecipient(String)

Creates an instance of the CmsMessageRecipient class.

CmsMessageRecipient(X509Certificate2)

Creates an instance of the CmsMessageRecipient class.

public:
 CmsMessageRecipient(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public CmsMessageRecipient (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.Management.Automation.CmsMessageRecipient : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.Management.Automation.CmsMessageRecipient
Public Sub New (certificate As X509Certificate2)

Parameters

certificate
X509Certificate2

The certificate to use.

Applies to

CmsMessageRecipient(String)

Creates an instance of the CmsMessageRecipient class.

public:
 CmsMessageRecipient(System::String ^ identifier);
public:
 CmsMessageRecipient(Platform::String ^ identifier);
 CmsMessageRecipient(std::wstring const & identifier);
public CmsMessageRecipient (string identifier);
new System.Management.Automation.CmsMessageRecipient : string -> System.Management.Automation.CmsMessageRecipient
Public Sub New (identifier As String)

Parameters

identifier
String

The identifier of the CmsMessageRecipient. Can be either: - The path to a file containing the certificate - The path to a directory containing the certificate - The thumbprint of the certificate, used to find the certificate in the certificate store - The Subject name of the recipient, used to find the certificate in the certificate store

Applies to