SecurityProviderX509Certificate 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 SecurityProviderX509Certificate class.
public SecurityProviderX509Certificate (System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateChain = default);
new Microsoft.Azure.Devices.Shared.SecurityProviderX509Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> Microsoft.Azure.Devices.Shared.SecurityProviderX509Certificate
Public Sub New (clientCertificate As X509Certificate2, Optional certificateChain As X509Certificate2Collection = Nothing)
Parameters
- clientCertificate
- X509Certificate2
The client certificate used for authentication.
- certificateChain
- X509Certificate2Collection
The certificate chain leading to the root certificate uploaded to the Provisioning service.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET