DicomSecurityOptions Struct Reference
Security options for a Dicom network connection. More...
#include <dicomseriesinfo.h>
Public Member Functions | |
| DicomSecurityOptions () | |
| Default security mode with encryption and authentication disabled. | |
| DicomSecurityOptions (const std::string &privateKeyFile, const std::string &publicKeyFile) | |
| Security mode with encryption an authentication. | |
| void | addCertificateFile (const std::string &certificateFile) |
| Adds a server certificate. | |
Public Attributes | |
| bool | secureConnection_ |
| bool | authenticate_ |
| std::string | privateKeyFile_ |
| std::string | publicKeyFile_ |
| std::vector< std::string > | certificateFiles_ |
Detailed Description
Security options for a Dicom network connection.
Definition at line 40 of file dicomseriesinfo.h.
Constructor & Destructor Documentation
| DicomSecurityOptions | ( | const std::string & | privateKeyFile, | |
| const std::string & | publicKeyFile | |||
| ) | [inline] |
Security mode with encryption an authentication.
Only connections to known servers will be allowed, so additional server certificates must be added with addCertificateFile().
- Parameters:
-
privateKeyFile Name of file containing the client's private key (*.pem) publicKeyFile Name of file containing the client's public key (*.crt)
Definition at line 60 of file dicomseriesinfo.h.
Member Function Documentation
| void addCertificateFile | ( | const std::string & | certificateFile | ) | [inline] |
Adds a server certificate.
- Parameters:
-
certificateFile Name of file containing a server certificate (*.crt)
Definition at line 69 of file dicomseriesinfo.h.