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 |
---|---|
|
C# | |
---|---|
public DicomOpenSslContextCreationSettings( DicomSslMethodType methodType, string certificationAuthoritiesFileName, DicomOpenSslVerificationFlags verificationFlags, int maximumVerificationDepth, DicomOpenSslOptionsFlags options ) |
C++/CLI | |
---|---|
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).
For an example, refer to DicomNet.Initialize.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family