certlib: update FileKind with algo information.

Additionally, key algo wasn't being set on PEM files.
This commit is contained in:
2025-11-19 14:46:17 -08:00
parent b1a2039c7d
commit 02fb85aec0
10 changed files with 231 additions and 23 deletions

3
certlib/testdata/rsa-ca-priv.pem vendored Normal file
View File

@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIDDkYbIZKArACSevxtX2Rr8MQSeJ4Jz0qJEe/YgHfjzo
-----END PRIVATE KEY-----