azure-sdk-for-cpp
azure-sdk-for-cpp copied to clipboard
Reduce duplication in opening and reading the pem file for cert content in ClientCertificateCredential
`ReadPemCertificate()` already does open the file and read its contents. Can you make it so that x5c gets read as part of that process, instead of opening the file for the second time and reading its contents again?
Originally posted by @antkmsft in https://github.com/Azure/azure-sdk-for-cpp/pull/5988#discussion_r1759635775