Freigeben über


OrleansConnectionSecurityHostingExtensions.UseTls Methode

Definition

Überlädt

UseTls(IClientBuilder, Action<TlsOptions>)

Konfiguriert TLS.

UseTls(IClientBuilder, X509Certificate2)

Konfiguriert TLS.

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Konfiguriert TLS.

UseTls(IClientBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)

Konfiguriert TLS.

UseTls(IClientBuilder, Action<TlsOptions>)

Quelle:
HostingExtensions.IClientBuilder.cs

Konfiguriert TLS.

public static Orleans.IClientBuilder UseTls (this Orleans.IClientBuilder builder, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.IClientBuilder * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseTls (builder As IClientBuilder, configureOptions As Action(Of TlsOptions)) As IClientBuilder

Parameter

builder
IClientBuilder

Der Generator, der konfiguriert werden soll.

configureOptions
Action<TlsOptions>

Eine Aktion zum Konfigurieren des TlsOptions.

Gibt zurück

Der Generator.

Gilt für:

UseTls(IClientBuilder, X509Certificate2)

Quelle:
HostingExtensions.IClientBuilder.cs

Konfiguriert TLS.

public static Orleans.IClientBuilder UseTls (this Orleans.IClientBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member UseTls : Orleans.IClientBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Orleans.IClientBuilder
<Extension()>
Public Function UseTls (builder As IClientBuilder, certificate As X509Certificate2) As IClientBuilder

Parameter

builder
IClientBuilder

Der Generator, der konfiguriert werden soll.

certificate
X509Certificate2

Das Serverzertifikat.

Gibt zurück

Der Generator.

Gilt für:

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Quelle:
HostingExtensions.IClientBuilder.cs

Konfiguriert TLS.

public static Orleans.IClientBuilder UseTls (this Orleans.IClientBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.IClientBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseTls (builder As IClientBuilder, certificate As X509Certificate2, configureOptions As Action(Of TlsOptions)) As IClientBuilder

Parameter

builder
IClientBuilder

Der Generator, der konfiguriert werden soll.

certificate
X509Certificate2

Das Serverzertifikat.

configureOptions
Action<TlsOptions>

Eine Aktion zum Konfigurieren des TlsOptions.

Gibt zurück

Der Generator.

Gilt für:

UseTls(IClientBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)

Quelle:
HostingExtensions.IClientBuilder.cs

Konfiguriert TLS.

public static Orleans.IClientBuilder UseTls (this Orleans.IClientBuilder builder, System.Security.Cryptography.X509Certificates.StoreName storeName, string subject, bool allowInvalid, System.Security.Cryptography.X509Certificates.StoreLocation location, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.IClientBuilder * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseTls (builder As IClientBuilder, storeName As StoreName, subject As String, allowInvalid As Boolean, location As StoreLocation, configureOptions As Action(Of TlsOptions)) As IClientBuilder

Parameter

builder
IClientBuilder

Der Generator, der konfiguriert werden soll.

storeName
StoreName

Der Zertifikatspeicher zum Laden des Zertifikats aus.

subject
String

Der Betreffname für das zu ladende Zertifikat.

allowInvalid
Boolean

Gibt an, ob ungültige Zertifikate berücksichtigt werden sollen, z. B. selbst signierte Zertifikate.

location
StoreLocation

Der Speicherort zum Laden des Zertifikats aus.

configureOptions
Action<TlsOptions>

Eine Aktion zum Konfigurieren des TlsOptions.

Gibt zurück

Der Generator.

Gilt für: