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