CertificateValidationCache.Get(HttpContext, X509Certificate2) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
AuthenticateResult获取连接和证书的 。
public:
virtual Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Get(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public Microsoft.AspNetCore.Authentication.AuthenticateResult Get (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
public Microsoft.AspNetCore.Authentication.AuthenticateResult? Get (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
abstract member Get : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.Authentication.AuthenticateResult
override this.Get : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Function Get (context As HttpContext, certificate As X509Certificate2) As AuthenticateResult
参数
- context
- HttpContext
HttpContext。
- certificate
- X509Certificate2
证书。