Share via


CertBasedSecurityPrincipal Class

Definition

Cert based security principal with Ledger RoleName.

public class CertBasedSecurityPrincipal
public class CertBasedSecurityPrincipal : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ConfidentialLedger.Models.CertBasedSecurityPrincipal>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ConfidentialLedger.Models.CertBasedSecurityPrincipal>
type CertBasedSecurityPrincipal = class
type CertBasedSecurityPrincipal = class
    interface IJsonModel<CertBasedSecurityPrincipal>
    interface IPersistableModel<CertBasedSecurityPrincipal>
Public Class CertBasedSecurityPrincipal
Public Class CertBasedSecurityPrincipal
Implements IJsonModel(Of CertBasedSecurityPrincipal), IPersistableModel(Of CertBasedSecurityPrincipal)
Inheritance
CertBasedSecurityPrincipal
Implements

Constructors

CertBasedSecurityPrincipal()

Initializes a new instance of CertBasedSecurityPrincipal.

Properties

Cert

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

LedgerRoleName

LedgerRole associated with the Security Principal of Ledger.

Explicit Interface Implementations

IJsonModel<CertBasedSecurityPrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CertBasedSecurityPrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CertBasedSecurityPrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CertBasedSecurityPrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CertBasedSecurityPrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to