Skip to main content

verify_controller_challenge

Function verify_controller_challenge 

Source
pub fn verify_controller_challenge(
    agent_id: &AgentId,
    challenge: &str,
    signature: &str,
) -> Result<()>
Expand description

Verifies a controller registration proof (Agent Delegation Section 4.3): signature over the challenge’s exact UTF-8 bytes under the strict rules of Section 3.1. Matching the challenge to what the provider issued, and its expiry, remain the provider’s checks.