OrleansConnectionSecurityHostingExtensions.UseTls Metodo

Definizione

Overload

UseTls(IClientBuilder, Action<TlsOptions>)

Configura TLS.

UseTls(IClientBuilder, X509Certificate2)

Configura TLS.

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Configura TLS.

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

Configura TLS.

UseTls(IClientBuilder, Action<TlsOptions>)

Origine:
HostingExtensions.IClientBuilder.cs

Configura 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

Parametri

builder
IClientBuilder

Generatore da configurare.

configureOptions
Action<TlsOptions>

Azione per configurare .TlsOptions

Restituisce

Generatore.

Si applica a

UseTls(IClientBuilder, X509Certificate2)

Origine:
HostingExtensions.IClientBuilder.cs

Configura 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

Parametri

builder
IClientBuilder

Generatore da configurare.

certificate
X509Certificate2

Certificato del server.

Restituisce

Generatore.

Si applica a

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Origine:
HostingExtensions.IClientBuilder.cs

Configura 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

Parametri

builder
IClientBuilder

Generatore da configurare.

certificate
X509Certificate2

Certificato del server.

configureOptions
Action<TlsOptions>

Azione per configurare .TlsOptions

Restituisce

Generatore.

Si applica a

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

Origine:
HostingExtensions.IClientBuilder.cs

Configura 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

Parametri

builder
IClientBuilder

Generatore da configurare.

storeName
StoreName

Archivio certificati da cui caricare il certificato.

subject
String

Nome soggetto per il caricamento del certificato.

allowInvalid
Boolean

Indica se devono essere considerati certificati non validi, ad esempio certificati autofirmato.

location
StoreLocation

Percorso dell'archivio da cui caricare il certificato.

configureOptions
Action<TlsOptions>

Azione per configurare .TlsOptions

Restituisce

Generatore.

Si applica a