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 New DicomOpenSslContextCreationSettings(methodType, certificationAuthoritiesFileName, verificationFlags, maximumVerificationDepth, options) |
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 Initialize(String,DicomNetSecurityeMode,DicomOpenSslContextCreationSettings).
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)