OrleansConnectionSecurityHostingExtensions.UseTls Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
UseTls(IClientBuilder, Action<TlsOptions>) |
Configura o TLS. |
UseTls(IClientBuilder, X509Certificate2) |
Configura o TLS. |
UseTls(ISiloBuilder, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloBuilder, X509Certificate2) |
Configura o TLS. |
UseTls(ISiloHostBuilder, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloHostBuilder, X509Certificate2) |
Configura o TLS. |
UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloBuilder, X509Certificate2, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>) |
Configura o TLS. |
UseTls(IClientBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura o TLS. |
UseTls(ISiloHostBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura o TLS. |
UseTls(IClientBuilder, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.IClientBuilder UseTls (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.IClientBuilder * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.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)
Configura o TLS.
public static Orleans.Hosting.IClientBuilder UseTls (this Orleans.Hosting.IClientBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member UseTls : Orleans.Hosting.IClientBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Orleans.Hosting.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(ISiloBuilder, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloBuilder UseTls (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.ISiloBuilder * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTls (builder As ISiloBuilder, configureOptions As Action(Of TlsOptions)) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
O construtor a ser configurado.
- configureOptions
- Action<TlsOptions>
Uma Ação para configurar o TlsOptions.
Retornos
O construtor.
Aplica-se a
UseTls(ISiloBuilder, X509Certificate2)
Configura o TLS.
public static Orleans.Hosting.ISiloBuilder UseTls (this Orleans.Hosting.ISiloBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member UseTls : Orleans.Hosting.ISiloBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTls (builder As ISiloBuilder, certificate As X509Certificate2) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
O construtor a ser configurado.
- certificate
- X509Certificate2
O certificado do servidor.
Retornos
O construtor.
Aplica-se a
UseTls(ISiloHostBuilder, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloHostBuilder UseTls (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseTls (builder As ISiloHostBuilder, configureOptions As Action(Of TlsOptions)) As ISiloHostBuilder
Parâmetros
- builder
- ISiloHostBuilder
O construtor a ser configurado.
- configureOptions
- Action<TlsOptions>
Uma Ação para configurar o TlsOptions.
Retornos
O construtor.
Aplica-se a
UseTls(ISiloHostBuilder, X509Certificate2)
Configura o TLS.
public static Orleans.Hosting.ISiloHostBuilder UseTls (this Orleans.Hosting.ISiloHostBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member UseTls : Orleans.Hosting.ISiloHostBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseTls (builder As ISiloHostBuilder, certificate As X509Certificate2) As ISiloHostBuilder
Parâmetros
- builder
- ISiloHostBuilder
O construtor a ser configurado.
- certificate
- X509Certificate2
O certificado do servidor.
Retornos
O construtor.
Aplica-se a
UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.IClientBuilder UseTls (this Orleans.Hosting.IClientBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.IClientBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.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(ISiloBuilder, X509Certificate2, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloBuilder UseTls (this Orleans.Hosting.ISiloBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.ISiloBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTls (builder As ISiloBuilder, certificate As X509Certificate2, configureOptions As Action(Of TlsOptions)) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
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(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloHostBuilder UseTls (this Orleans.Hosting.ISiloHostBuilder builder, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Action<Orleans.Connections.Security.TlsOptions> configureOptions);
static member UseTls : Orleans.Hosting.ISiloHostBuilder * System.Security.Cryptography.X509Certificates.X509Certificate2 * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseTls (builder As ISiloHostBuilder, certificate As X509Certificate2, configureOptions As Action(Of TlsOptions)) As ISiloHostBuilder
Parâmetros
- builder
- ISiloHostBuilder
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>)
Configura o TLS.
public static Orleans.Hosting.IClientBuilder UseTls (this Orleans.Hosting.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.Hosting.IClientBuilder * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.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 a ser carregado.
- 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
UseTls(ISiloBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloBuilder UseTls (this Orleans.Hosting.ISiloBuilder 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.Hosting.ISiloBuilder * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseTls (builder As ISiloBuilder, storeName As StoreName, subject As String, allowInvalid As Boolean, location As StoreLocation, configureOptions As Action(Of TlsOptions)) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
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 a ser carregado.
- 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
UseTls(ISiloHostBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)
Configura o TLS.
public static Orleans.Hosting.ISiloHostBuilder UseTls (this Orleans.Hosting.ISiloHostBuilder 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.Hosting.ISiloHostBuilder * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation * Action<Orleans.Connections.Security.TlsOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseTls (builder As ISiloHostBuilder, storeName As StoreName, subject As String, allowInvalid As Boolean, location As StoreLocation, configureOptions As Action(Of TlsOptions)) As ISiloHostBuilder
Parâmetros
- builder
- ISiloHostBuilder
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 a ser carregado.
- 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.