Skip to main content

build_authenticated_hybrid_request_proof_with_signer

Function build_authenticated_hybrid_request_proof_with_signer 

Source
pub async fn build_authenticated_hybrid_request_proof_with_signer<S: Signer>(
    input: &AuthenticatedRequestProofInput<'_>,
    signer: &S,
    ed25519_kid: &[u8],
    ml_dsa_65_kid: &[u8],
) -> Result<Vec<u8>>
Expand description

Produce the same v16 COSE_Sign bytes with a browser-backed signer. Its private proof keys may remain in an isolated JS vault; only the exact Sig_structure bytes cross the callback boundary. A fresh CWT request ID is generated here for every call.