windows::Win32::Security::Cryptography

Function CertCreateSelfSignCertificate

pub unsafe fn CertCreateSelfSignCertificate(
    hcryptprovorncryptkey: Option<HCRYPTPROV_OR_NCRYPT_KEY_HANDLE>,
    psubjectissuerblob: *const CRYPT_INTEGER_BLOB,
    dwflags: CERT_CREATE_SELFSIGN_FLAGS,
    pkeyprovinfo: Option<*const CRYPT_KEY_PROV_INFO>,
    psignaturealgorithm: Option<*const CRYPT_ALGORITHM_IDENTIFIER>,
    pstarttime: Option<*const SYSTEMTIME>,
    pendtime: Option<*const SYSTEMTIME>,
    pextensions: Option<*const CERT_EXTENSIONS>,
) -> *mut CERT_CONTEXT