Compartilhar via


OrleansConnectionSecurityHostingExtensions.UseTls Método

Definição

Sobrecargas

UseTls(IClientBuilder, Action<TlsOptions>)

Configura o TLS.

UseTls(IClientBuilder, X509Certificate2)

Configura o TLS.

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Configura o TLS.

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

Configura o TLS.

UseTls(IClientBuilder, Action<TlsOptions>)

Origem:
HostingExtensions.IClientBuilder.cs

Configura o 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

Parâmetros

builder
IClientBuilder

O construtor a ser configurado.

configureOptions
Action<TlsOptions>

Uma Ação para configurar o TlsOptions.

Retornos

O construtor.

Aplica-se a

UseTls(IClientBuilder, X509Certificate2)

Origem:
HostingExtensions.IClientBuilder.cs

Configura o 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

Parâmetros

builder
IClientBuilder

O construtor a ser configurado.

certificate
X509Certificate2

O certificado do servidor.

Retornos

O construtor.

Aplica-se a

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Origem:
HostingExtensions.IClientBuilder.cs

Configura o 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

Parâmetros

builder
IClientBuilder

O construtor a ser configurado.

certificate
X509Certificate2

O certificado do servidor.

configureOptions
Action<TlsOptions>

Uma Ação para configurar o TlsOptions.

Retornos

O construtor.

Aplica-se a

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

Origem:
HostingExtensions.IClientBuilder.cs

Configura o 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

Parâmetros

builder
IClientBuilder

O construtor a ser configurado.

storeName
StoreName

O repositório de certificados do qual carregar o certificado.

subject
String

O nome da entidade para o certificado carregar.

allowInvalid
Boolean

Indica se certificados inválidos devem ser considerados, como certificados autoassinados.

location
StoreLocation

O local do repositório do qual carregar o certificado.

configureOptions
Action<TlsOptions>

Uma Ação para configurar o TlsOptions.

Retornos

O construtor.

Aplica-se a