fix(native-certgen): address Phase 0-1 validation findings

EC keygen now returns proper SPKI DER instead of raw point bytes.
RSA keygen uses caller-supplied exponent via new_with_exp() and
validates key size to 2048/3072/4096. Keybox parser extracts leaf
subject DN (not issuer). Added AttestKey=7 to KeyPurpose. Realigned
error variants with spec.
This commit is contained in:
Enginex0
2026-03-09 15:21:33 +01:00
parent 5fcd4ab7b6
commit 9dc8ec1530
5 changed files with 110 additions and 31 deletions
-3
View File
@@ -1,7 +1,4 @@
mod error;
mod types;
mod keygen;
// mod attestation; // Phase 2
pub mod keybox;
// mod certbuilder; // Phase 3
// mod logging; // Phase 3