PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::ihe::xds::signing_material Struct Reference

Signing material for WS-Security XML-DSig. More...

#include <document_source.h>

Collaboration diagram for kcenon::pacs::ihe::xds::signing_material:
Collaboration graph

Public Attributes

std::string certificate_pem
 
std::string private_key_pem
 
std::string private_key_password
 

Detailed Description

Signing material for WS-Security XML-DSig.

certificate_pem is the X.509 signer certificate in PEM form. The Document Source embeds its DER-encoded form as a BinarySecurityToken.

private_key_pem is the matching RSA or EC private key in PEM form. If password-protected, the PEM passphrase dialog is bypassed by the provided password field.

PEM strings are loaded directly rather than using the security classes so callers can source them from an HSM-backed buffer that never hits disk. Both the certificate and key are validated lazily on the first submit() call; malformed material produces a typed error_code value rather than a constructor exception.

Definition at line 66 of file document_source.h.

Member Data Documentation

◆ certificate_pem

◆ private_key_password

std::string kcenon::pacs::ihe::xds::signing_material::private_key_password

◆ private_key_pem


The documentation for this struct was generated from the following file: