Azure / Azure/azure-sdk-for-cpp

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

Closed
#5,990 1 comment 0 reactions 0 assignees View on GitHub
Azure.Identity Client
Dominant language
C++
Stars
205
Forks
172
Avg merge
1d 3h
Merged PRs (30d)
37

Description

`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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.