Edit

Share via


X509CertificateCredentials(X509Certificate2) Constructor

Definition

Initializes a new instance of the X509CertificateCredentials class.

public:
 X509CertificateCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public X509CertificateCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
Public Sub New (certificate As X509Certificate2)

Parameters

certificate
X509Certificate2

An X509 certificate that authenticates an EWS request.

Remarks

The X509 certificate passed in the certificate parameter should have a private key that is used to sign the message.

Applies to