22#include <kcenon/common/patterns/result.h>
50 std::string_view cert_pem,
51 std::string_view key_pem,
52 std::string_view key_password);
97 std::string_view signed_xml);
Typed error codes for IHE XDS.b actors (ITI-41 and siblings)
std::vector< std::uint8_t > base64_decode_bytes(std::string_view b64)
Base64-decode b64 using the same BIO-backed decoder the signer and verifier use internally.
kcenon::common::Result< bool > sign_envelope(built_envelope &env, std::string_view cert_pem, std::string_view key_pem, std::string_view key_password)
Sign the body + timestamp of env in place.
kcenon::common::Result< bool > verify_envelope_integrity(std::string_view signed_xml)
Verify the structural integrity of a previously signed envelope against the certificate embedded in i...