Partager via


OrleansConnectionSecurityHostingExtensions.UseTls Méthode

Définition

Surcharges

UseTls(IClientBuilder, Action<TlsOptions>)

Configure TLS.

UseTls(IClientBuilder, X509Certificate2)

Configure TLS.

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Configure TLS.

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

Configure TLS.

UseTls(IClientBuilder, Action<TlsOptions>)

Source:
HostingExtensions.IClientBuilder.cs

Configure 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

Paramètres

builder
IClientBuilder

Générateur à configurer.

configureOptions
Action<TlsOptions>

Action pour configurer .TlsOptions

Retours

Générateur.

S’applique à

UseTls(IClientBuilder, X509Certificate2)

Source:
HostingExtensions.IClientBuilder.cs

Configure 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

Paramètres

builder
IClientBuilder

Générateur à configurer.

certificate
X509Certificate2

Certificat de serveur.

Retours

Générateur.

S’applique à

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Source:
HostingExtensions.IClientBuilder.cs

Configure 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

Paramètres

builder
IClientBuilder

Générateur à configurer.

certificate
X509Certificate2

Certificat de serveur.

configureOptions
Action<TlsOptions>

Action pour configurer .TlsOptions

Retours

Générateur.

S’applique à

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

Source:
HostingExtensions.IClientBuilder.cs

Configure 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

Paramètres

builder
IClientBuilder

Générateur à configurer.

storeName
StoreName

Magasin de certificats à partir duquel charger le certificat.

subject
String

Nom d’objet du certificat à charger.

allowInvalid
Boolean

Indique si les certificats non valides doivent être pris en compte, tels que les certificats auto-signés.

location
StoreLocation

Emplacement du magasin à partir duquel charger le certificat.

configureOptions
Action<TlsOptions>

Action pour configurer .TlsOptions

Retours

Générateur.

S’applique à