Skip to main content

verify_cert

Function verify_cert 

Source
pub fn verify_cert(
    cert: &ProjectCert,
    trusted_user_pubkey: &[u8; 32],
) -> Result<(), CertError>
Expand description

Verify cert against the user key the caller trusts, at the current time: signature, both key ids recomputed from their public keys, issuer, expires_at. Revocation is a separate check (RevocationView::check_cert).