OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:KeyChain
(Results
1 - 18
of
18
) sorted by null
/cts/tests/tests/keystore/src/android/keystore/cts/
KeyChainTest.java
21
import android.security.
KeyChain
;
29
assertFalse("DSA must not be supported",
KeyChain
.isKeyAlgorithmSupported("DSA"));
30
assertTrue("EC must be supported",
KeyChain
.isKeyAlgorithmSupported("EC"));
31
assertTrue("RSA must be supported",
KeyChain
.isKeyAlgorithmSupported("RSA"));
37
KeyChain
.getPrivateKey(null, null);
39
+ "
KeyChain
.getPrivateKey(Context, String)");
47
KeyChain
.getPrivateKey(getContext(), null);
49
+ "
KeyChain
.getPrivateKey(Context, String).");
57
KeyChain
.getPrivateKey(null, "");
59
+ "
KeyChain
.getPrivateKey(Context, String).")
[
all
...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
CertificateRequestor.java
24
import android.security.
KeyChain
;
28
* A headless Activity which simply calls into the framework {@link
KeyChain
} service to select
49
KeyChain
.choosePrivateKeyAlias(
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
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
...]
/frameworks/base/keystore/java/android/security/
KeyChain.java
60
* The {@code
KeyChain
} class provides access to private keys and
63
* <p>Applications accessing the {@code
KeyChain
} normally go through
97
public final class
KeyChain
{
102
public static final String ACCOUNT_TYPE = "com.android.
keychain
";
105
* Package name for
KeyChain
chooser.
107
private static final String KEYCHAIN_PACKAGE = "com.android.
keychain
";
112
private static final String ACTION_CHOOSER = "com.android.
keychain
.CHOOSER";
208
* Broadcast Action: Indicates the contents of the
keychain
has changed. Sent when a
KeyChain
524
* Returns {@code true} if the current device's {@code
KeyChain
} supports
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
KeyManagementTest.java
24
import android.security.
KeyChain
;
95
assertEquals(
KeyChain
.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA");
121
assertEquals(
KeyChain
.getPrivateKey(getActivity(), grant).getAlgorithm(), "RSA");
151
assertEquals(
KeyChain
.getPrivateKey(getActivity(), alias).getAlgorithm(), "RSA");
154
X509Certificate[] returnedCerts =
KeyChain
.getCertificateChain(getActivity(), alias);
221
granted = (
KeyChain
.getPrivateKey(getActivity(), alias) != null);
283
KeyChain
.choosePrivateKeyAlias(getActivity(), this,
/development/samples/KeyChainDemo/src/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
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java
25
import android.security.
KeyChain
;
74
* Simple activity based test that exercises the
KeyChain
API
265
Intent intent =
KeyChain
.createInstallIntent();
266
intent.putExtra(
KeyChain
.EXTRA_NAME, CREDENTIAL_NAME);
276
intent.putExtra(
KeyChain
.EXTRA_PKCS12, pkcs12.toByteArray());
335
* supplied by
KeyChain
.
367
* Key manager which synchronously prompts for its aliases via
KeyChain
374
KeyChain
.choosePrivateKeyAlias(KeyChainTest.this, aliasCallback,
400
KeyChain
.getCertificateChain(KeyChainTest.this, alias);
434
PrivateKey privateKey =
KeyChain
.getPrivateKey(KeyChainTest.this, alias)
[
all
...]
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/20/
android.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/23/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/tools/common/m2/repository/com/google/android/android/4.0.1.2/
android-4.0.1.2.jar
/prebuilts/tools/common/m2/repository/com/google/android/android/4.1.1.4/
android-4.1.1.4.jar
Completed in 1634 milliseconds