Function verify_signature
pub fn verify_signature(
public_key: &SubjectPublicKeyInfo<'_>,
signature_algorithm: &AlgorithmIdentifier<'_>,
signature_value: &BitString<'_>,
raw_data: &[u8],
) -> Result<(), X509Error>Expand description
Verify the cryptographic signature of the raw data (can be a certificate, a CRL or a CSR).
public_key is the public key of the signer.
Not all algorithms are supported, this function is limited to what aws_lc_rs or ring supports.