DeviceAuthenticationWithX509Certificate 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 a X.509 certificate
public sealed class DeviceAuthenticationWithX509Certificate : IDisposable, Microsoft.Azure.Devices.Client.IAuthenticationMethod
public sealed class DeviceAuthenticationWithX509Certificate : Microsoft.Azure.Devices.Client.IAuthenticationMethod
type DeviceAuthenticationWithX509Certificate = class
interface IAuthenticationMethod
interface IDisposable
type DeviceAuthenticationWithX509Certificate = class
interface IAuthenticationMethod
Public NotInheritable Class DeviceAuthenticationWithX509Certificate
Implements IAuthenticationMethod, IDisposable
Public NotInheritable Class DeviceAuthenticationWithX509Certificate
Implements IAuthenticationMethod
- Inheritance
-
System.ObjectDeviceAuthenticationWithX509Certificate
- Implements
-
IAuthenticationMethod System.IDisposable
Constructors
Properties
Certificate |
Gets or sets the X.509 certificate associated with this device. The private key should be available in the System.Security.Cryptography.X509Certificates.X509Certificate2 object, or should be loaded into the system where the DeviceClient will be used. /> |
ChainCertificates |
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 |
DeviceId |
Gets or sets the device identifier. |
Methods
Dispose() |
Dispose the X509 certificate associated with this authentication method. |
Populate(IotHubConnectionStringBuilder) |
Populates an IotHubConnectionStringBuilder instance based on the properties of the current instance. |