Skip to main content

verify_quote_content

Function verify_quote_content 

Source
pub fn verify_quote_content(
    quote: &PaymentQuote,
    expected_content: &XorName,
) -> bool
Expand description

Verify a payment quote’s content address and ML-DSA-65 signature.

§Arguments

  • quote - The quote to verify
  • expected_content - The expected content XorName

§Returns

true if the content matches and the ML-DSA-65 signature is valid.