Function c509_certificate::wasm_binding::verify

source ·
pub fn verify(c509: &[u8], public_key: &PublicKey) -> Result<JsValue, JsValue>
Expand description

Wrapper for verify function.

§Errors

Returns an error if the signature is invalid or the signature cannot be verified.