ClientAuthenticationWithX509Certificate Class
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.
Authentication method that uses an X.509 certificate
public sealed class ClientAuthenticationWithX509Certificate : Microsoft.Azure.Devices.Client.IAuthenticationMethod
type ClientAuthenticationWithX509Certificate = class
interface IAuthenticationMethod
Public NotInheritable Class ClientAuthenticationWithX509Certificate
Implements IAuthenticationMethod
- Inheritance
-
ClientAuthenticationWithX509Certificate
- Implements
Constructors
ClientAuthenticationWithX509Certificate(X509Certificate2, String, String) |
Creates an instance of this class. |
ClientAuthenticationWithX509Certificate(X509Certificate2, X509Certificate2Collection, String, String) |
Creates an instance of this class. |
Properties
CertificateChain |
Full chain of certificates from the one used to sign the device certificate to the one uploaded to the service. Private keys are not required for these certificates. This is only supported on AMQP_Tcp_Only and Mqtt_Tcp_Only |
ClientCertificate |
The X.509 certificate associated with this device. The private key should be available in the X509Certificate2 object, or should be available in the certificate store of the system where the client will be authenticated from. |
DeviceId |
Gets or sets the device identifier. |
ModuleId |
Gets or sets the module identifier. |
Methods
Populate(IotHubConnectionCredentials) |
Populates a supplied instance based on the properties of the current instance. |
Applies to
Azure SDK for .NET