←Select platform

DicomOpenSslContextCreationSettings Constructor (DicomOpenSslContextCreationSettings)

Summary

Initializes a new instance of the DicomOpenSslContextCreationSettings class.

Syntax

C#
VB
C++
public DicomOpenSslContextCreationSettings(  
   Leadtools.Dicom.DicomSslMethodType methodType, 
   string certificationAuthoritiesFileName, 
   Leadtools.Dicom.DicomOpenSslVerificationFlags verificationFlags, 
   int maximumVerificationDepth, 
   Leadtools.Dicom.DicomOpenSslOptionsFlags options 
) 
Public Function New( _ 
   ByVal methodType As Leadtools.Dicom.DicomSslMethodType, _ 
   ByVal certificationAuthoritiesFileName As String, _ 
   ByVal verificationFlags As Leadtools.Dicom.DicomOpenSslVerificationFlags, _ 
   ByVal maximumVerificationDepth As Integer, _ 
   ByVal options As Leadtools.Dicom.DicomOpenSslOptionsFlags _ 
) 
public: 
DicomOpenSslContextCreationSettings(  
   Leadtools.Dicom.DicomSslMethodType methodType, 
   String^ certificationAuthoritiesFileName, 
   Leadtools.Dicom.DicomOpenSslVerificationFlags verificationFlags, 
   int maximumVerificationDepth, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize