OrleansConnectionSecurityHostingExtensions.UseTls Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
UseTls(IClientBuilder, Action<TlsOptions>) |
Configura TLS. |
UseTls(IClientBuilder, X509Certificate2) |
Configura TLS. |
UseTls(ISiloBuilder, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloBuilder, X509Certificate2) |
Configura TLS. |
UseTls(ISiloHostBuilder, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloHostBuilder, X509Certificate2) |
Configura TLS. |
UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloBuilder, X509Certificate2, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>) |
Configura TLS. |
UseTls(IClientBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura TLS. |
UseTls(ISiloHostBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>) |
Configura TLS. |
UseTls(IClientBuilder, Action<TlsOptions>)
Configura 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
Parametri
- builder
- IClientBuilder
Generatore da configurare.
- configureOptions
- Action<TlsOptions>
Azione per configurare .TlsOptions
Restituisce
Generatore.
Si applica a
UseTls(IClientBuilder, X509Certificate2)
Configura 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
Parametri
- builder
- IClientBuilder
Generatore da configurare.
- certificate
- X509Certificate2
Certificato del server.
Restituisce
Generatore.
Si applica a
UseTls(ISiloBuilder, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloBuilder
Generatore da configurare.
- configureOptions
- Action<TlsOptions>
Azione per configurare .TlsOptions
Restituisce
Generatore.
Si applica a
UseTls(ISiloBuilder, X509Certificate2)
Configura 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
Parametri
- builder
- ISiloBuilder
Generatore da configurare.
- certificate
- X509Certificate2
Certificato del server.
Restituisce
Generatore.
Si applica a
UseTls(ISiloHostBuilder, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloHostBuilder
Generatore da configurare.
- configureOptions
- Action<TlsOptions>
Azione per configurare .TlsOptions
Restituisce
Generatore.
Si applica a
UseTls(ISiloHostBuilder, X509Certificate2)
Configura 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
Parametri
- builder
- ISiloHostBuilder
Generatore da configurare.
- certificate
- X509Certificate2
Certificato del server.
Restituisce
Generatore.
Si applica a
UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)
Configura 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
Parametri
- builder
- IClientBuilder
Generatore da configurare.
- certificate
- X509Certificate2
Certificato del server.
- configureOptions
- Action<TlsOptions>
Azione per configurare .TlsOptions
Restituisce
Generatore.
Si applica a
UseTls(ISiloBuilder, X509Certificate2, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloBuilder
Generatore da configurare.
- certificate
- X509Certificate2
Certificato del server.
- configureOptions
- Action<TlsOptions>
Azione per configurare .TlsOptions
Restituisce
Generatore.
Si applica a
UseTls(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloHostBuilder
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>)
Configura 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
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
UseTls(ISiloBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloBuilder
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
UseTls(ISiloHostBuilder, StoreName, String, Boolean, StoreLocation, Action<TlsOptions>)
Configura 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
Parametri
- builder
- ISiloHostBuilder
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.