Function whisky::core::utils::to_csl_cert

pub fn to_csl_cert(cert: CertificateType) -> Result<Certificate, JsError>