17 references to SafeKeychainHandle
Infrastructure.Common (15)
CertificateManager.cs (6)
134public static X509Certificate2 AddToOSXKeyChainIfNeeded(SafeKeychainHandle keychain, 192using (SafeKeychainHandle handle = SafeKeychainHandle.Open(CertificateManager.OSXCustomKeychainFilePath, CertificateManager.OSXCustomKeychainPassword)) 270SafeKeychainHandle keychain; 274keychain = SafeKeychainHandle.Create(OSXCustomKeychainFilePath, OSXCustomKeychainPassword); 278keychain = SafeKeychainHandle.Open(OSXCustomKeychainFilePath, OSXCustomKeychainPassword);
SafeKeychainHandle.cs (9)
19private static extern int SecKeychainUnlock(SafeKeychainHandle handle, int passphraseLength, byte[] passphraseUtf8, bool usePassword); 22private static extern int SecKeychainOpen(string path, out SafeKeychainHandle keychain); 25private static extern int SecKeychainCreate(string pathName, int passphraseLength, byte[] passphraseUtf8, bool promptUser, IntPtr initialAccessNull, out SafeKeychainHandle keychain); 28private static extern int SecKeychainDelete(SafeKeychainHandle handle); 49public static SafeKeychainHandle Create(string pathName, string passphrase) 52SafeKeychainHandle keychain; 65public static SafeKeychainHandle Open(string pathName, string passphrase) 67SafeKeychainHandle keychain; 92public static void Delete(SafeKeychainHandle handle)
Security.TransportSecurity.IntegrationTests (2)
Tcp\ClientCredentialTypeTests.OSX.cs (2)
141using (SafeKeychainHandle keychain = SafeKeychainHandle.Open(ServiceUtilHelper.OSXCustomKeychainFilePath, ServiceUtilHelper.OSXCustomKeychainPassword))