HttpsConnectionAdapterOptions.ServerCertificateSelector 속성

정의

서버 인증서를 동적으로 선택하기 위해 호출될 콜백입니다. 이는 ServerCertificate보다 우선 순위가 높습니다. SNI를 사용할 수 없는 경우 name 매개 변수는 null이 됩니다. 는 ConnectionContext HTTP/3 연결에 대해 null이 됩니다.

서버 인증서에 확장 키 사용 확장이 있는 경우 사용량에는 서버 인증(OID 1.3.6.1.5.5.7.3.1)이 포함되어야 합니다.

public:
 property Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ ServerCertificateSelector { Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ get(); void set(Func<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::String ^, System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ value); };
public Func<Microsoft.AspNetCore.Connections.ConnectionContext,string,System.Security.Cryptography.X509Certificates.X509Certificate2> ServerCertificateSelector { get; set; }
public Func<Microsoft.AspNetCore.Connections.ConnectionContext?,string?,System.Security.Cryptography.X509Certificates.X509Certificate2?>? ServerCertificateSelector { get; set; }
member this.ServerCertificateSelector : Func<Microsoft.AspNetCore.Connections.ConnectionContext, string, System.Security.Cryptography.X509Certificates.X509Certificate2> with get, set
Public Property ServerCertificateSelector As Func(Of ConnectionContext, String, X509Certificate2)

속성 값

적용 대상