Skip to main content

review_and_prepare_target_acceptance

Function review_and_prepare_target_acceptance 

Source
pub fn review_and_prepare_target_acceptance(
    token: SecretCompactJwt,
    key: &Es256LocalPublicKey,
    policy: &JwtLocalPolicy,
    evaluation_time: JwtEvaluationTime,
) -> Result<PreparedJwtTargetAcceptance, JwtTargetControlPreparationError>
Expand description

Reviews one compact token locally and, only when every selected local gate succeeds, derives a sealed invalid-signature control for the explicitly selected target-acceptance child.

This function performs no I/O. In particular, a malformed, policy- inconsistent, expired, or locally unverified token can never be forwarded to the target runtime.