语言

ITlsConnectionFeature 接口

定义

提供对与当前 HTTP 连接关联的 TLS 功能的访问权限。

public interface class ITlsConnectionFeature
public interface ITlsConnectionFeature
type ITlsConnectionFeature = interface
Public Interface ITlsConnectionFeature
派生

属性

名称 说明
ClientCertificate

同步检索客户端证书(如果有)。

方法

名称 说明
GetClientCertificateAsync(CancellationToken)

异步检索客户端证书(如果有)。

TryGetChannelBindingBytes(ChannelBindingKind, ReadOnlyMemory<Byte>)

尝试检索从当前连接请求 kind 的 RFC 5929 TLS 通道绑定令牌(CBT)字节。

适用于