Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.ObjectSyntax
Summary
SSL/TLS certificate configuration.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
MergeWith
Merges another configuration into this one.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
other | Microsoft.OData.Mcp.Core.Configuration.SslConfiguration | The configuration to merge. |
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Validate
Validates the SSL configuration.Syntax
Returns
Type:System.Collections.Generic.IEnumerable<string>
Validation errors.