pub fn verify_storage_attestation(
attestation: &StorageAttestation,
pinned_keys: &[HybridVerifyingKey],
nonce: &AttestationNonce,
declared: &[DeclaredAsset],
) -> Result<(), AttestationRejection>Expand description
Verify a storage attestation for one request.
Checks, in order: the signature under one of pinned_keys (the published attestation-key
history), the schema version, the nonce, and that the verdicts cover exactly declared — the
same assets in order, each with the same hashes in order. Returns Ok(()) only when the
attestation is admissible evidence for this request.