Class CertificateSelectionEventArgs
An argument passed on to user for client certificate selection during mutual SSL authentication.
Namespace: Titanium.Web.Proxy.EventArguments
Assembly: Titanium.Web.Proxy.dll
Syntax
public class CertificateSelectionEventArgs : ProxyEventArgsBase
Constructors
| Improve this Doc View SourceCertificateSelectionEventArgs(SessionEventArgsBase, String, X509CertificateCollection, X509Certificate, String[])
Declaration
public CertificateSelectionEventArgs(SessionEventArgsBase session, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers)
Parameters
| Type | Name | Description |
|---|---|---|
| SessionEventArgsBase | session | |
| String | targetHost | |
| X509CertificateCollection | localCertificates | |
| X509Certificate | remoteCertificate | |
| String[] | acceptableIssuers |
Properties
| Improve this Doc View SourceAcceptableIssuers
Acceptable issuers as listed by remote server.
Declaration
public string[] AcceptableIssuers { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
ClientCertificate
Client Certificate we selected. Set this value to override.
Declaration
public X509Certificate ClientCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| X509Certificate |
LocalCertificates
Local certificates in store with matching issuers requested by TargetHost website.
Declaration
public X509CertificateCollection LocalCertificates { get; }
Property Value
| Type | Description |
|---|---|
| X509CertificateCollection |
RemoteCertificate
Certificate of the remote server.
Declaration
public X509Certificate RemoteCertificate { get; }
Property Value
| Type | Description |
|---|---|
| X509Certificate |
Session
Declaration
public SessionEventArgsBase Session { get; }
Property Value
| Type | Description |
|---|---|
| SessionEventArgsBase | The session. |
TargetHost
The remote hostname to which we are authenticating against.
Declaration
public string TargetHost { get; }
Property Value
| Type | Description |
|---|---|
| String |