lib60870.NET 2.3.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
Loading...
Searching...
No Matches
lib60870.CS104.TlsSecurityInformation Class Reference

Public Member Functions

 TlsSecurityInformation (string targetHostName, X509Certificate2 ownCertificate)
 
 TlsSecurityInformation (X509Certificate2 ownCertificate)
 
void AddAllowedCertificate (X509Certificate2 allowedCertificate)
 
void AddCA (X509Certificate2 caCertificate)
 

Properties

bool ChainValidation [get, set]
 Gets or sets a value indicating whether this lib60870.TlsSecurityInformation performs a X509 chain validation against the registered CA certificates.
 
bool AllowOnlySpecificCertificates [get, set]
 Gets or sets a value indicating whether this lib60870.TlsSecurityInformation allow only specific certificates.
 
X509Certificate2 OwnCertificate [get, set]
 
List< X509Certificate2 > AllowedCertificates [get, set]
 
List< X509Certificate2 > CaCertificates [get]
 
string TargetHostName [get]
 
SslProtocols TlsVersion [get, set]
 
RemoteCertificateValidationCallback CertificateValidationCallback [get, set]
 Gets or sets the certificate validation callback.
 

Property Documentation

◆ AllowOnlySpecificCertificates

bool lib60870.CS104.TlsSecurityInformation.AllowOnlySpecificCertificates
getset

Gets or sets a value indicating whether this lib60870.TlsSecurityInformation allow only specific certificates.

true if allow only specific certificates; otherwise, false.

◆ CertificateValidationCallback

RemoteCertificateValidationCallback lib60870.CS104.TlsSecurityInformation.CertificateValidationCallback
getset

Gets or sets the certificate validation callback.

The certificate validation callback, or null to use the library internal certificate validation callbacks

◆ ChainValidation

bool lib60870.CS104.TlsSecurityInformation.ChainValidation
getset

Gets or sets a value indicating whether this lib60870.TlsSecurityInformation performs a X509 chain validation against the registered CA certificates.

true if chain validation; otherwise, false.


The documentation for this class was generated from the following file: