Method Select
- Namespace
- DotNetBrowser.Browser.Dialogs.Handlers
- Assembly
- DotNetBrowser.dll
Select(Certificate)
Creates a SelectCertificateResponse that notifies the browser that the given certificate should be selected.
public static SelectCertificateResponse Select(Certificate certificate)
Parameters
certificateCertificateThe certificate that should be selected.
Returns
- SelectCertificateResponse
The SelectCertificateResponse instance that can be used as a return value in SelectCertificateHandler implementation.
Select(Certificate, byte[])
Creates a SelectCertificateResponse that notifies the browser that the given certificate should be selected.
public static SelectCertificateResponse Select(Certificate certificate, byte[] privateKey)
Parameters
certificateCertificateThe certificate that should be selected.
privateKeybyte[]The private key for this certificate in PKCS#8 DER-encoded form.
Returns
- SelectCertificateResponse
The SelectCertificateResponse instance that can be used as a return value in SelectCertificateHandler implementation.
Select(int)
Creates a SelectCertificateResponse that notifies the browser that the client certificate from the list with the given index should be selected.
public static SelectCertificateResponse Select(int index)
Parameters
indexintThe index of the certificate that should be selected.
Returns
- SelectCertificateResponse
The SelectCertificateResponse instance that can be used as a return value in SelectCertificateHandler implementation.