[crypto,cert] extend certificate store API

Use the certificate PEM without trustchain in the local trust store, but
keep the full PEM with chain for the user facing callbacks.
This commit is contained in:
akallabeth
2024-08-13 15:54:03 +02:00
parent 22fb6aad31
commit dac0ae4976
3 changed files with 18 additions and 2 deletions

View File

@@ -60,6 +60,8 @@ extern "C"
FREERDP_API UINT16 freerdp_certificate_data_get_port(const rdpCertificateData* cert);
FREERDP_API const char* freerdp_certificate_data_get_pem(const rdpCertificateData* cert);
FREERDP_API const char* freerdp_certificate_data_get_pem_ex(const rdpCertificateData* cert,
BOOL withFullChain);
FREERDP_API const char* freerdp_certificate_data_get_subject(const rdpCertificateData* cert);
FREERDP_API const char* freerdp_certificate_data_get_issuer(const rdpCertificateData* cert);
FREERDP_API const char*