pub trait Cupv2Verifier {
// Required method
fn verify_response_with_signature(
&self,
ecdsa_signature: &DerSignature,
request_body: &[u8],
response_body: &[u8],
public_key_id: PublicKeyId,
nonce: &Nonce,
) -> Result<(), CupVerificationError>;
}
Required Methods§
Sourcefn verify_response_with_signature(
&self,
ecdsa_signature: &DerSignature,
request_body: &[u8],
response_body: &[u8],
public_key_id: PublicKeyId,
nonce: &Nonce,
) -> Result<(), CupVerificationError>
fn verify_response_with_signature( &self, ecdsa_signature: &DerSignature, request_body: &[u8], response_body: &[u8], public_key_id: PublicKeyId, nonce: &Nonce, ) -> Result<(), CupVerificationError>
The same behavior as verify_response, but designed for verifying stored signatures which are not hyper-aware.