pub fn verify(c509: &[u8], public_key: &PublicKey) -> Result<()>
Expand description
Verify the signature of a C509 certificate.
§Arguments
c509
- The cbor encoded C509 certificate to verify.
public_key
- The public key used to verify the certificate.
§Errors
Returns an error if the issuer_signature_value
is invalid or the signature cannot be
verified.