fn validate_ed25519_cert(
cert: ParsedEd25519Cert,
subject: &PublicKey,
signed_with: &PublicKey,
cert_type: CertType,
ts: &SystemTime,
) -> Result<EncodedEd25519Cert, InvalidCertError>Expand description
Validate the specified cert, checking that
- its
CertTypeis `cert_type, and - its subject key is
subject, and - it is signed with the
signed_withkey, and - it is timely (it is not expired or not yet valid at the specified
ts)