Class CertificateValidationEventArgs
An argument passed on to the user for validating the server certificate during SSL authentication.
Inherited Members
Namespace: Titanium.Web.Proxy.EventArguments
Assembly: Titanium.Web.Proxy.dll
Syntax
public class CertificateValidationEventArgs : ProxyEventArgsBase
Constructors
| Improve this Doc View SourceCertificateValidationEventArgs(SessionEventArgsBase, X509Certificate, X509Chain, SslPolicyErrors)
Declaration
public CertificateValidationEventArgs(SessionEventArgsBase session, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
Parameters
Type | Name | Description |
---|---|---|
SessionEventArgsBase | session | |
X509Certificate | certificate | |
X509Chain | chain | |
SslPolicyErrors | sslPolicyErrors |
Properties
| Improve this Doc View SourceCertificate
Server certificate.
Declaration
public X509Certificate Certificate { get; }
Property Value
Type | Description |
---|---|
X509Certificate |
Chain
Certificate chain.
Declaration
public X509Chain Chain { get; }
Property Value
Type | Description |
---|---|
X509Chain |
IsValid
Is the given server certificate valid?
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Session
Declaration
public SessionEventArgsBase Session { get; }
Property Value
Type | Description |
---|---|
SessionEventArgsBase | The session. |
SslPolicyErrors
SSL policy errors.
Declaration
public SslPolicyErrors SslPolicyErrors { get; }
Property Value
Type | Description |
---|---|
SslPolicyErrors |