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

13
certlib/testdata/ec-ca.yaml vendored Normal file
View File

@@ -0,0 +1,13 @@
key:
algorithm: ecdsa
size: 521
subject:
common_name: WNTRMUTE TEST EC CA 1
country: US
organization: WNTRMUTE HEAVY INDUSTRIES
organizational_unit: CRYPTOGRAPHIC SERVICES
profile:
is_ca: true
path_len: 3
key_uses: cert sign
expiry: 20y