Function challenge_response

Source
pub fn challenge_response(
    challenge_fragments: &[Random32Bytes],
    current_identity_provider: &impl IdentityProvider,
    new_identity_provider: &impl IdentityProvider,
) -> IdentityRotationChallengeResponsePayload
Expand description

Given a list of identity challenge fragments, the current identity provider and the new identity provider, returns the identity rotation challenge response payload that includes the new verifying key and challenge response signatures from both the current and the new identity providers.