Skip to main content

build_cose_enroll_response

Function build_cose_enroll_response 

Source
pub fn build_cose_enroll_response(
    response: &EnrollResponse,
) -> Result<Vec<u8>, AuthError>
Expand description

Sign response as an enrolment challenge with the key in [CHALLENGE_SIGNING_KEY_ENV]. Fails closed without that key (see challenge_signing_key). Was cratestack_auth::build_cose_enroll_response.