Table of Contents

Class DefaultTlsInitiator

Namespace
FellowOakDicom.Network.Tls
Assembly
fo-dicom.core.dll

Default implementation of ITlsInitiator. This implementation will use windows certificate store in order to validate the server certificate

public class DefaultTlsInitiator : ITlsInitiator
Inheritance
DefaultTlsInitiator
Implements
Inherited Members
Extension Methods

Constructors

DefaultTlsInitiator()

public DefaultTlsInitiator()

Properties

CertificateValidationCallback

The callback that will be invoked after validating the certificate of the server

public RemoteCertificateValidationCallback CertificateValidationCallback { get; set; }

Property Value

RemoteCertificateValidationCallback

Certificates

The certificates that will be used to authenticate the client itself

public X509CertificateCollection Certificates { get; set; }

Property Value

X509CertificateCollection

CheckCertificateRevocation

Whether or not the certificate revocation list should be checked during authentication

public bool CheckCertificateRevocation { get; set; }

Property Value

bool

IgnoreSslPolicyErrors

Whether or not to ignore any certificate validation errors that occur when authenticating as a client over SSL

public bool IgnoreSslPolicyErrors { get; set; }

Property Value

bool

Protocols

The protocols that should be supported

public SslProtocols Protocols { get; set; }

Property Value

SslProtocols

SslHandshakeTimeout

The timeout after which TLS authentication will be considered to have failed

public TimeSpan SslHandshakeTimeout { get; set; }

Property Value

TimeSpan

Methods

InitiateTls(Stream, string, int)

Initiate a tls connection

public Stream InitiateTls(Stream plainStream, string remoteAddress, int remotePort)

Parameters

plainStream Stream

The cleartext stream over which unencrypted data will be sent and received

remoteAddress string

Remote IP address or hostname

remotePort int

Remote port

Returns

Stream