Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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)
Managed Extensions for C++ 
public: DicomOpenSslContextCreationSettings( 
   DicomSslMethodType methodType,
   string* certificationAuthoritiesFileName,
   DicomOpenSslVerificationFlags verificationFlags,
   int maximumVerificationDepth,
   DicomOpenSslOptionsFlags 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 Initialize.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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