Esempio n. 1
0
 private static extern SECURITY_STATUS NCryptOpenKey(SafeNCryptProviderHandle hProvider, [Out] out SafeNCryptKeyHandle phKey, string pszKeyName, int dwLegacyKeySpec, CngKeyOpenOptions dwFlags);
Esempio n. 2
0
 private static extern SECURITY_STATUS NCryptCreatePersistedKey(SafeNCryptProviderHandle hProvider,
                                                                [Out] out SafeNCryptKeyHandle phKey,
                                                                string pszAlgId,
                                                                string pszKeyName,
                                                                int dwLegacyKeySpec,
                                                                CngKeyCreationOptions dwFlags);
Esempio n. 3
0
 private static extern SECURITY_STATUS NCryptOpenStorageProvider([Out] out SafeNCryptProviderHandle phProvider, string pszProviderName, int dwFlags);