ICertificateValidationCache.Put 方法

定义

AuthenticateResult存储连接和证书的

public:
 void Put(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, Microsoft::AspNetCore::Authentication::AuthenticateResult ^ result);
public void Put (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.AspNetCore.Authentication.AuthenticateResult result);
abstract member Put : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.AspNetCore.Authentication.AuthenticateResult -> unit
Public Sub Put (context As HttpContext, certificate As X509Certificate2, result As AuthenticateResult)

参数

certificate
X509Certificate2

证书。

适用于