Function tugger_windows::create_self_signed_code_signing_certificate_params[][src]

pub fn create_self_signed_code_signing_certificate_params(
    subject_name: &str
) -> CertificateParams

Create parameters for a self-signed x509 certificate suitable for code signing on Windows.

The self-signed certificate mimics what the powershell New-SelfSignedCertificate -DnsName <subject_name> -Type CodeSigning -KeyAlgorithm ECDSA_nistP256 would do.