Result of challenge-response verification.
| 419 | |
| 420 | |
| 421 | class ChallengeVerificationResult(BaseModel): |
| 422 | """Result of challenge-response verification.""" |
| 423 | challenge_id: str |
| 424 | agent_id: str |
| 425 | challenge_passed: bool = Field( |
| 426 | description="True if signature matches agent's public key.", |
| 427 | ) |
| 428 | certificate_valid: bool = Field( |
| 429 | description="True if certificate is ACTIVE and not expired.", |
| 430 | ) |
| 431 | overall_valid: bool = Field( |
| 432 | description="True if both challenge and certificate are valid.", |
| 433 | ) |
| 434 | message: str |
| 435 | verified_at: datetime = Field(default_factory=_now_utc) |
| 436 | |
| 437 | |
| 438 | # ── Request / Response Schemas ──────────────────────────────────────────────── |