OrleansConnectionSecurityHostingExtensions.UseTls 方法

定义

重载

UseTls(IClientBuilder, Action<TlsOptions>)

配置 TLS。

UseTls(IClientBuilder, X509Certificate2)

配置 TLS。

UseTls(ISiloBuilder, Action<TlsOptions>)

配置 TLS。

UseTls(ISiloBuilder, X509Certificate2)

配置 TLS。

UseTls(ISiloHostBuilder, Action<TlsOptions>)

配置 TLS。

UseTls(ISiloHostBuilder, X509Certificate2)

配置 TLS。

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

配置 TLS。

UseTls(ISiloBuilder, X509Certificate2, Action<TlsOptions>)

配置 TLS。

UseTls(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>)

配置 TLS。

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

配置 TLS。

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

配置 TLS。

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

配置 TLS。

UseTls(IClientBuilder, Action<TlsOptions>)

Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs

配置 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

参数

builder
IClientBuilder

要配置的生成器。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

UseTls(IClientBuilder, X509Certificate2)

Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs

配置 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

参数

builder
IClientBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

返回

生成器。

适用于

UseTls(ISiloBuilder, Action<TlsOptions>)

Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs

配置 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

参数

builder
ISiloBuilder

要配置的生成器。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

UseTls(ISiloBuilder, X509Certificate2)

Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs

配置 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

参数

builder
ISiloBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

返回

生成器。

适用于

UseTls(ISiloHostBuilder, Action<TlsOptions>)

Source:
HostingExtensions.ISiloHostBuilder.cs

配置 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

参数

builder
ISiloHostBuilder

要配置的生成器。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

UseTls(ISiloHostBuilder, X509Certificate2)

Source:
HostingExtensions.ISiloHostBuilder.cs

配置 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

参数

builder
ISiloHostBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

返回

生成器。

适用于

UseTls(IClientBuilder, X509Certificate2, Action<TlsOptions>)

Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs

配置 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

参数

builder
IClientBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

UseTls(ISiloBuilder, X509Certificate2, Action<TlsOptions>)

Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs

配置 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

参数

builder
ISiloBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

UseTls(ISiloHostBuilder, X509Certificate2, Action<TlsOptions>)

Source:
HostingExtensions.ISiloHostBuilder.cs

配置 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

参数

builder
ISiloHostBuilder

要配置的生成器。

certificate
X509Certificate2

服务器证书。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

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

Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs
Source:
HostingExtensions.IClientBuilder.cs

配置 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

参数

builder
IClientBuilder

要配置的生成器。

storeName
StoreName

要从中加载证书的证书存储。

subject
String

要加载的证书的使用者名称。

allowInvalid
Boolean

指示是否应考虑无效证书,例如自签名证书。

location
StoreLocation

要从中加载证书的存储位置。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

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

Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs
Source:
HostingExtensions.ISiloBuilder.cs

配置 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

参数

builder
ISiloBuilder

要配置的生成器。

storeName
StoreName

要从中加载证书的证书存储。

subject
String

要加载的证书的使用者名称。

allowInvalid
Boolean

指示是否应考虑无效证书,例如自签名证书。

location
StoreLocation

要从中加载证书的存储位置。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于

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

Source:
HostingExtensions.ISiloHostBuilder.cs

配置 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

参数

builder
ISiloHostBuilder

要配置的生成器。

storeName
StoreName

要从中加载证书的证书存储。

subject
String

要加载的证书的使用者名称。

allowInvalid
Boolean

指示是否应考虑无效证书,例如自签名证书。

location
StoreLocation

要从中加载证书的存储位置。

configureOptions
Action<TlsOptions>

用于配置 的操作 TlsOptions

返回

生成器。

适用于