Share via


ClientCertificateSubjectDistinguishedName Class

Definition

CA certificate subject distinguished name information used by service to authenticate clients. For more information, see https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x500distinguishedname?view=net-6.0#remarks

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ClientCertificateSubjectDistinguishedNameTypeConverter))]
public class ClientCertificateSubjectDistinguishedName : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IClientCertificateSubjectDistinguishedName
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ClientCertificateSubjectDistinguishedNameTypeConverter))>]
type ClientCertificateSubjectDistinguishedName = class
    interface IClientCertificateSubjectDistinguishedName
    interface IJsonSerializable
Public Class ClientCertificateSubjectDistinguishedName
Implements IClientCertificateSubjectDistinguishedName
Inheritance
ClientCertificateSubjectDistinguishedName
Attributes
Implements

Constructors

ClientCertificateSubjectDistinguishedName()

Creates an new ClientCertificateSubjectDistinguishedName instance.

Properties

CommonName

The common name field in the subject name. The allowed limit is 64 characters and it should be specified.

CountryCode

The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.

Organization

The organization field in the subject name. If present, the allowed limit is 64 characters.

OrganizationUnit

The organization unit field in the subject name. If present, the allowed limit is 32 characters.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClientCertificateSubjectDistinguishedName.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClientCertificateSubjectDistinguishedName.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IClientCertificateSubjectDistinguishedName.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClientCertificateSubjectDistinguishedName into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to