CertificationAuthoritiesFileName Property

Summary
Gets the name of a file containing Certification Authorities (CA) certificates in Privacy Enhanced Mail (PEM) format.
Syntax
C#
C++/CLI
public string CertificationAuthoritiesFileName {get;} 
property String^ CertificationAuthoritiesFileName { 
   String^ get(); 
} 

Property Value

The name of a file containing Certification Authorities (CA) certificates in Privacy Enhanced Mail (PEM) format. More than one CA certificate can be present in the file. The default value is no file.

Example
C#
using Leadtools.Dicom.AddIn.Attributes; 
using Leadtools.Dicom.AddIn.Interfaces; 
using Leadtools.Dicom; 
using Leadtools.Dicom.AddIn; 
 
 
public class DicomSecurityAddin : IDicomSecurity, IDicomSecurityCiphers 
{ 
   public DicomSecurityAddin() 
   { 
      CertificationAuthoritiesFileName = "ca.pem"; 
      MaximumVerificationDepth = 9; 
      Options = DicomOpenSslOptionsFlags.AllBugWorkarounds | DicomOpenSslOptionsFlags.NoSslV2 | DicomOpenSslOptionsFlags.NoSslV3; 
      VerificationFlags= DicomOpenSslVerificationFlags.None; 
      CertificateFileName = "server.pem"; 
      CertificateType = DicomTlsCertificateType.Pem; 
      KeyFileName = "server.pem"; 
      Password = "test"; 
      SslMethodType = DicomSslMethodType.SslV23; 
 
      List <DicomTlsCipherSuiteType> cipherSuiteList = new List<DicomTlsCipherSuiteType>(); 
 
      // Add support for the TLS Version 1.2 ciphers specified in PS3.15 of the DICOM Specification 
      cipherSuiteList.Add(DicomTlsCipherSuiteType.EcdheRsaWithAes128GcmSha256); 
      cipherSuiteList.Add(DicomTlsCipherSuiteType.EcdheRsaWithAes256GcmSha384); 
      cipherSuiteList.Add(DicomTlsCipherSuiteType.DheRsaWithAes128GcmSha256); 
      cipherSuiteList.Add(DicomTlsCipherSuiteType.DheRsaWithAes256GcmSha384); 
      CipherSuiteList = cipherSuiteList; 
   } 
 
   public string CertificationAuthoritiesFileName 
   { 
      get; 
      set; 
   } 
 
   public int MaximumVerificationDepth 
   { 
      get; 
      set; 
   } 
 
   public DicomOpenSslOptionsFlags Options 
   { 
      get; 
      set; 
   } 
 
   public DicomOpenSslVerificationFlags VerificationFlags 
   { 
      get; 
      set; 
   } 
 
   public string CertificateFileName 
   { 
      get; 
      set; 
   } 
 
   public DicomTlsCertificateType CertificateType 
   { 
      get; 
      set; 
   } 
 
   public string KeyFileName 
   { 
      get; 
      set; 
   } 
 
   public string Password 
   { 
      get; 
      set; 
   } 
 
   public DicomSslMethodType SslMethodType 
   { 
      get; 
      set; 
   } 
 
   public List<DicomTlsCipherSuiteType> CipherSuiteList 
   { 
      get; 
      set; 
   } 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.