Exemplo n.º 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);
Exemplo n.º 2
0
 public static extern bool CertSetCertificateContextProperty(
     IntPtr certificateContext,
     int propertyId,
     int flags,
     [In] ref CryptKeyProviderInformation data);