Freigeben über


ICertificateValidationCache.Get(HttpContext, X509Certificate2) Methode

Definition

Rufen Sie die AuthenticateResult für die Verbindung und das Zertifikat ab.

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);
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
Public Function Get (context As HttpContext, certificate As X509Certificate2) As AuthenticateResult

Parameter

context
HttpContext

Die HttpContext.

certificate
X509Certificate2

Das Zertifikat.

Gibt zurück

das AuthenticateResult

Gilt für: