OrleansConnectionSecurityHostingExtensions.UseTls Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
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>)
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
Parámetros
- builder
- IClientBuilder
Generador que se va a configurar.
- configureOptions
- Action<TlsOptions>
Acción para configurar .TlsOptions
Devoluciones
Generador.
Se aplica a
UseTls(IClientBuilder, X509Certificate2)
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
Parámetros
- builder
- IClientBuilder
Generador que se va a configurar.
- certificate
- X509Certificate2
Certificado de servidor.
Devoluciones
Generador.
Se aplica a
UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)
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
Parámetros
- builder
- IClientBuilder
Generador que se va a configurar.
- certificate
- X509Certificate2
Certificado de servidor.
- configureOptions
- Action<TlsOptions>
Acción para configurar .TlsOptions
Devoluciones
Generador.
Se aplica a
UseTls(IClientBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)
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
Parámetros
- builder
- IClientBuilder
Generador que se va a configurar.
- storeName
- StoreName
Almacén de certificados desde el que se va a cargar el certificado.
- subject
- String
Nombre del firmante del certificado que se va a cargar.
- allowInvalid
- Boolean
Indica si se deben tener en cuenta certificados no válidos, como certificados autofirmados.
- location
- StoreLocation
Ubicación del almacén desde la que se va a cargar el certificado.
- configureOptions
- Action<TlsOptions>
Acción para configurar .TlsOptions
Devoluciones
Generador.