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