X509CertificateCredentials Class

Definition

The x509 certificate for authentication mode Certificate.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.X509CertificateCredentialsTypeConverter))]
public class X509CertificateCredentials : Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.IX509CertificateCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.X509CertificateCredentialsTypeConverter))>]
type X509CertificateCredentials = class
    interface IX509CertificateCredentials
    interface IJsonSerializable
Public Class X509CertificateCredentials
Implements IX509CertificateCredentials
Inheritance
X509CertificateCredentials
Attributes
Implements

Constructors

Name Description
X509CertificateCredentials()

Creates an new X509CertificateCredentials instance.

Properties

Name Description
CertificateSecretName

The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).

IntermediateCertificatesSecretName

The name of the secret containing the combined intermediate certificates in PEM format.

KeySecretName

The name of the secret containing the certificate private key in PEM or DER format.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of X509CertificateCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of X509CertificateCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Models.IX509CertificateCredentials.

FromJsonString(String)

Creates a new instance of X509CertificateCredentials, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of X509CertificateCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to