Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.Object

Syntax

Summary

SSL/TLS certificate configuration.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CertificatePassword

Gets or sets the password for the SSL certificate.

Syntax

Property Value

Type: string? The password to decrypt the certificate file.

CertificatePath

Gets or sets the path to the SSL certificate file.

Syntax

Property Value

Type: string? The file path to the SSL certificate (.pfx, .p12, or .crt file).

StoreLocation

Gets or sets the certificate store location.

Syntax

Property Value

Type: Microsoft.OData.Mcp.Core.Configuration.CertificateStoreLocation? The certificate store location for loading certificates.

StoreName

Gets or sets the certificate store name.

Syntax

Property Value

Type: string The certificate store name for loading certificates.

SubjectName

Gets or sets the certificate subject name.

Syntax

Property Value

Type: string? The subject name of the certificate to load from the store.

Thumbprint

Gets or sets the certificate thumbprint.

Syntax

Property Value

Type: string? The thumbprint of the certificate to load from the store.

Methods

Clone

Creates a copy of this configuration.

Syntax

Returns

Type: Microsoft.OData.Mcp.Core.Configuration.SslConfiguration A new instance with the same settings.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

MergeWith

Merges another configuration into this one.

Syntax

Parameters

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?

Validate

Validates the SSL configuration.

Syntax

Returns

Type: System.Collections.Generic.IEnumerable<string> Validation errors.