SetCertificateOptions

Top  Previous  Next

Sets the SSL options used to validate the certificates.

 

VB.NET Syntax

 

tnxxxx.SetCertificateOptions ( AcceptSelfSigned As Boolean, AcceptExpired As Boolean, AcceptInvalidCA As Boolean, AcceptAnyInvalid As Boolean, AcceptNotYetValid As Boolean )

 

C# Syntax

 

tnxxxx.SetCertificateOptions ( bool AcceptSelfSigned, bool AcceptExpired, bool AcceptInvalidCA, bool AcceptAnyInvalid, bool AcceptNotYetValid );

 

 

Parameters

Meaning

AcceptSelfSigned

Allows to accept or not self signed certificates.

AcceptExpired

Allows to accept or not expired certificates.

AcceptInvalidCA

Allows to accept or not any invalid CA certificate.

AcceptAnyInvalid

Allows to accept or not any invalid certificate.

AcceptNotYetValid

Allows to accept or not certificates not yet valid.

Display

Enable/disable the display certificate mode.