Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DicomOpenSslContextCreationSettings Constructor
See Also 
Leadtools.Dicom Namespace > DicomOpenSslContextCreationSettings Class : DicomOpenSslContextCreationSettings Constructor



methodType
The SSL method type to be used for security verification. The default value is DicomSslMethodType.TlsV1.
certificationAuthoritiesFileName
The name of a file containing Certification Authorities (CA) certificates in Privacy Enhanced Mail (PEM) format. More than one CA certificate may be present in the file. The default is no file.
verificationFlags
The verification mode to be used. The default value is DicomOpenSslVerificationFlags.None.
maximumVerificationDepth
The maximum depth of the certificate chain to be verified. The default value is 9.
options
The restrictive and bug workaround options. The default value is the combination (DicomOpenSslOptionsFlags.NoSslV3 | DicomOpenSslOptionsFlags.NoSslV2 | DicomOpenSslOptionsFlags.AllBugWorkarounds).
Initializes a new instance of the DicomOpenSslContextCreationSettings class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal methodType As DicomSslMethodType, _
   ByVal certificationAuthoritiesFileName As String, _
   ByVal verificationFlags As DicomOpenSslVerificationFlags, _
   ByVal maximumVerificationDepth As Integer, _
   ByVal options As DicomOpenSslOptionsFlags _
)
Visual Basic (Usage)Copy Code
Dim methodType As DicomSslMethodType
Dim certificationAuthoritiesFileName As String
Dim verificationFlags As DicomOpenSslVerificationFlags
Dim maximumVerificationDepth As Integer
Dim options As DicomOpenSslOptionsFlags
 
Dim instance As DicomOpenSslContextCreationSettings(methodType, certificationAuthoritiesFileName, verificationFlags, maximumVerificationDepth, options)

Parameters

methodType
The SSL method type to be used for security verification. The default value is DicomSslMethodType.TlsV1.
certificationAuthoritiesFileName
The name of a file containing Certification Authorities (CA) certificates in Privacy Enhanced Mail (PEM) format. More than one CA certificate may be present in the file. The default is no file.
verificationFlags
The verification mode to be used. The default value is DicomOpenSslVerificationFlags.None.
maximumVerificationDepth
The maximum depth of the certificate chain to be verified. The default value is 9.
options
The restrictive and bug workaround options. The default value is the combination (DicomOpenSslOptionsFlags.NoSslV3 | DicomOpenSslOptionsFlags.NoSslV2 | DicomOpenSslOptionsFlags.AllBugWorkarounds).

Example

For an example, refer to DicomNet.Initialize.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features