/external/chromium_org/components/webdata/encryptor/ |
encryptor_password_mac_unittest.cc | 13 // Test that if we have an existing password in the Keychain and we are 16 MockAppleKeychain keychain; local 17 keychain.set_find_generic_result(noErr); 18 EncryptorPassword password(keychain); 20 EXPECT_FALSE(keychain.called_add_generic()); 21 EXPECT_EQ(0, keychain.password_data_count()); 24 // Test that if we do not have an existing password in the Keychain then it 27 MockAppleKeychain keychain; local 28 keychain.set_find_generic_result(errSecItemNotFound); 29 EncryptorPassword password(keychain); 38 MockAppleKeychain keychain; local 49 MockAppleKeychain keychain; local [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainBroadcastReceiver.java | 2 package com.android.keychain;
|
KeyChainService.java | 17 package com.android.keychain; 33 import android.security.KeyChain; 46 private static final String TAG = "KeyChain"; 313 Intent intent = new Intent(KeyChain.ACTION_STORAGE_CHANGED);
|
KeyChainActivity.java | 17 package com.android.keychain; 31 import android.security.KeyChain; 57 private static final String TAG = "KeyChain"; 92 mSender = getIntent().getParcelableExtra(KeyChain.EXTRA_SENDER); 183 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); 228 String host = getIntent().getStringExtra(KeyChain.EXTRA_HOST); 231 int port = getIntent().getIntExtra(KeyChain.EXTRA_PORT, -1); 381 getIntent().getIBinderExtra(KeyChain.EXTRA_RESPONSE)); 399 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this) [all...] |
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
KeyChainServiceTestSupport.java | 17 package com.android.keychain.tests.support; 23 import android.security.KeyChain; 72 KeyChain.KeyChainConnection connection = null; 74 connection = KeyChain.bind(KeyChainServiceTestSupport.this);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServerService.java | 17 package com.example.android.keychain;
|
SecureWebServer.java | 17 package com.example.android.keychain;
|
KeyChainDemoActivity.java | 17 package com.example.android.keychain; 25 import android.security.KeyChain; 45 public static final String PKCS12_FILENAME = "keychain.p12"; 64 private static final String KEYCHAIN_PREF = "keychain"; 69 // Request code used when starting the activity using the KeyChain install 228 byte[] keychain = new byte[bis.available()]; 229 bis.read(keychain); 231 Intent installIntent = KeyChain.createInstallIntent(); 232 installIntent.putExtra(KeyChain.EXTRA_PKCS12, keychain); [all...] |
/external/chromium/net/base/ |
keygen_handler_mac.cc | 118 // sets a label on the Keychain dialogs. Pass NULL as the second 199 // Remove keys from keychain if asked to during unit testing: 222 // is passed as the initial access control list in Keychain. The 230 SecKeychainRef keychain; local 231 err = SecKeychainCopyDefault(&keychain); 236 base::mac::ScopedCFTypeRef<SecKeychainRef> scoped_keychain(keychain); 240 keychain,
|
/external/chromium_org/net/base/ |
keygen_handler_mac.cc | 119 // sets a label on the Keychain dialogs. Pass NULL as the second 200 // Remove keys from keychain if asked to during unit testing: 223 // is passed as the initial access control list in Keychain. The 231 SecKeychainRef keychain; local 232 err = SecKeychainCopyDefault(&keychain); 237 base::ScopedCFTypeRef<SecKeychainRef> scoped_keychain(keychain); 241 keychain,
|
/external/chromium_org/chrome/browser/mac/ |
security_wrappers.cc | 289 SecKeychainRef keychain; local 290 OSStatus status = SecKeychainItemCopyKeychain(item, &keychain); 296 return keychain; 300 SecKeychainRef keychain, 303 OSStatus status = SecKeychainAttributeInfoForItemID(keychain, 315 SecKeychainRef keychain, 359 CrSKeychainAttributeInfoForItemID(keychain, item_id)); 391 SecKeychainRef keychain, 399 keychain,
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 17 package com.android.keychain.tests; 29 import com.android.keychain.tests.support.IKeyChainServiceTestSupport;
|
KeyChainTestActivity.java | 17 package com.android.keychain.tests; 24 import android.security.KeyChain; 51 * Simple activity based test that exercises the KeyChain API 107 KeyChain.getPrivateKey(null, null); 114 log("KeyChain failed as expected with null argument."); 118 KeyChain.getPrivateKey(this, null); 125 log("KeyChain failed as expected with null argument."); 129 KeyChain.getPrivateKey(null, ""); 136 log("KeyChain failed as expected with null argument."); 140 KeyChain.getPrivateKey(this, "") [all...] |