X509CertificateCredentials(X509Certificate2) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.