Skip to main content

verify_tls13_signature

Function verify_tls13_signature 

Source
pub fn verify_tls13_signature(
    input: &SignatureVerificationInput<'_>,
    supported_schemes: &WebPkiSupportedAlgorithms,
) -> Result<HandshakeSignatureValid, Error>
Available on crate feature webpki only.
Expand description

Verify a message signature contained in input using the first TLS1.3 supported scheme.

input contains a message, purported signature as a DigitallySignedStruct, and subject public key.

Unlike verify_tls12_signature(), this function only tries the first matching scheme. See WebPkiSupportedAlgorithms::mapping() for more information.