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