Skip to main content

verify_native_request_proof

Function verify_native_request_proof 

Source
pub fn verify_native_request_proof<'a>(
    context: &'a CallContext,
    method: &'static MethodDescriptor,
    body: &[u8],
    effective_key: &[u8; 32],
    now_millis: i64,
) -> Result<VerifiedRequestProof<'a>, RequestProofError>
Expand description

Verify the exact v2 method and protobuf request bytes against the key resolved from an independently verified, currently authorized capability.