azure-sdk-for-cpp icon indicating copy to clipboard operation
azure-sdk-for-cpp copied to clipboard

Reduce duplication in opening and reading the pem file for cert content in ClientCertificateCredential

Open ahsonkhan opened this issue 1 year ago • 1 comments

          `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

ahsonkhan avatar Sep 14 '24 01:09 ahsonkhan