feat(native-certgen): implement ASN.1 attestation extension encoder

DER encoder for Android KeyMint attestation extension (OID
1.3.6.1.4.1.11129.2.1.17). SecurityLevel and VerifiedBootState as
ENUMERATED, EXPLICIT context-specific tagging with long-form for
tags >= 31, sorted AuthorizationList fields, RootOfTrust with
BOOLEAN TRUE=0xFF, SET OF INTEGER with DER sort, DO_NOT_REPORT
sentinel omission.
This commit is contained in:
Enginex0
2026-03-09 15:32:31 +01:00
parent 7863e8dd17
commit 9d61af6ce8
2 changed files with 645 additions and 0 deletions
+1
View File
@@ -2,3 +2,4 @@ mod error;
mod types;
mod keygen;
pub mod keybox;
pub mod attestation;