Function certify::generate_cert

source ·
pub fn generate_cert(
    ca: &CA,
    domains: Vec<impl Into<String>>,
    country: &str,
    org: &str,
    cn: &str,
    sig_algo: CertSigAlgo,
    pem_str: Option<&str>,
    is_client: bool,
    days: Option<i64>
) -> Result<(String, String), CertifyError>
Expand description

generate cert signed by the CA