Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 8 of 8) sorted by relevance

/development/samples/Vault/src/com/example/android/vault/
DSecretKeyWrapper.java53 public SecretKeyWrapper(Context context, String alias) in SecretKeyWrapper() argument
60 if (!keyStore.containsAlias(alias)) { in SecretKeyWrapper()
61 generateKeyPair(context, alias); in SecretKeyWrapper()
67 alias, null); in SecretKeyWrapper()
71 private static void generateKeyPair(Context context, String alias) in generateKeyPair() argument
78 .setAlias(alias) in generateKeyPair()
79 .setSubject(new X500Principal("CN=" + alias)) in generateKeyPair()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DKeyChainDemoActivity.java165 public void alias(String alias) { in alias() method in KeyChainDemoActivity
166 if (alias != null) { in alias()
167 setAlias(alias); // Set the alias in the application preference in alias()
190 private void setAlias(String alias) { in setAlias() argument
194 editor.putString(KEYCHAIN_PREF_ALIAS, alias); in setAlias()
202 String alias = getAlias(); in printInfo() local
203 X509Certificate[] certs = getCertificateChain(alias); in printInfo()
204 final PrivateKey privateKey = getPrivateKey(alias); in printInfo()
262 private X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
264 return KeyChain.getCertificateChain(this, alias); in getCertificateChain()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java150 final String alias = aliasInput.getText().toString(); in onCreate()
151 if (alias == null || alias.length() == 0) { in onCreate()
162 new GenerateTask().execute(alias); in onCreate()
171 final String alias = mSelectedAlias; in onCreate()
173 if (alias != null) { in onCreate()
175 new SignTask().execute(alias, data); in onCreate()
184 final String alias = mSelectedAlias; in onCreate()
187 if (alias != null) { in onCreate()
189 new VerifyTask().execute(alias, data, signature); in onCreate()
198 final String alias = mSelectedAlias; in onCreate()
[all …]
/development/tools/winscope/
Dwebpack.spec.config.js79 alias: { property
Dwebpack.config.common.js52 alias: { property
/development/samples/training/basic/ActivityLifecycle/
Dant.properties15 # 'key.alias' for the name of the key to use.
Dbuild.properties15 # 'key.alias' for the name of the key to use.
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java345 public void setAlias(String alias) { in setAlias() argument
346 mAlias = alias; in setAlias()