Skip to main content

signer_suite_thumbprint

Function signer_suite_thumbprint 

Source
pub fn signer_suite_thumbprint(
    suite_id: &str,
    ordered_component_pubkeys: &[&[u8]],
) -> [u8; 32]
Expand description

The v16 cnf.hs_signer_suite content thumbprint: SHA-256(det-CBOR([suite_id, [ordered raw component public keys]])), using the ONE shared det_cbor encoder (no second det-CBOR implementation).

ordered_component_pubkeys are the RAW public key bytes in suite-plan order (Ed25519 = 32 bytes; ML-DSA-65 = 1952 bytes). The result is the 32-byte digest; callers base64url-encode (no padding) it for the JWT cnf member.