Пример #1
0
 public static extern IntPtr CertCreateSelfSignCertificate(
     IntPtr providerHandle,
     [In] ref CryptoApiBlob subjectIssuerBlob,
     int flags,
     [In] ref CryptKeyProviderInformation keyProviderInformation,
     IntPtr signatureAlgorithm,
     [In] ref SystemTime startTime,
     [In] ref SystemTime endTime,
     IntPtr extensions);
Пример #2
0
 public static extern bool PFXExportCertStoreEx(
     IntPtr certificateStoreHandle,
     ref CryptoApiBlob pfxBlob,
     IntPtr password,
     IntPtr reserved,
     int flags);