Class CertificateSelectionEventArgs
An argument passed on to user for client certificate selection during mutual SSL authentication.
Inherited Members
Namespace: Titanium.Web.Proxy.EventArguments
Assembly: Titanium.Web.Proxy.dll
Syntax
public class CertificateSelectionEventArgs : ProxyEventArgsBase
Constructors
| Edit this page 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
| Edit this page 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 |