Compartilhar via


CertBasedSecurityPrincipal Class

Definition

Cert based security principal with Ledger RoleName

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipalTypeConverter))]
public class CertBasedSecurityPrincipal : Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.ICertBasedSecurityPrincipal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipalTypeConverter))>]
type CertBasedSecurityPrincipal = class
    interface ICertBasedSecurityPrincipal
    interface IJsonSerializable
Public Class CertBasedSecurityPrincipal
Implements ICertBasedSecurityPrincipal
Inheritance
CertBasedSecurityPrincipal
Attributes
Implements

Constructors

CertBasedSecurityPrincipal()

Creates an new CertBasedSecurityPrincipal instance.

Properties

Cert

Public key of the user cert (.pem or .cer)

LedgerRoleName

LedgerRole associated with the Security Principal of Ledger

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CertBasedSecurityPrincipal.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CertBasedSecurityPrincipal.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.ICertBasedSecurityPrincipal.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CertBasedSecurityPrincipal into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to