internal static IntPtr CertCreateSelfSignCertificate(IntPtr providerHandle, CryptoApiBlob subjectIssuerBlob, int flags, CryptKeyProvInfo keyProviderInformation, IntPtr signatureAlgorithm, SystemTime startTime, SystemTime endTime, IntPtr extensions) { IntPtr result = IntPtr.Zero; Assert(() => { result = _Extern.CertCreateSelfSignCertificate(providerHandle, ref subjectIssuerBlob, flags, ref keyProviderInformation, signatureAlgorithm, ref startTime, ref endTime, extensions); return(result != IntPtr.Zero); }); return(result); }
internal static extern IntPtr CertCreateSelfSignCertificate(IntPtr providerHandle, ref CryptoApiBlob subjectIssuerBlob, int flags, ref CryptKeyProvInfo keyProviderInformation, IntPtr signatureAlgorithm, ref SystemTime startTime, ref SystemTime endTime, IntPtr extensions);