Home
last modified time | relevance | path

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

12

/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java99 public String requestPrivateKey(String alias) {
100 checkArgs(alias);
102 final String keystoreAlias = Credentials.USER_PRIVATE_KEY + alias;
107 @Override public byte[] getCertificate(String alias) {
108 checkArgs(alias);
109 return mKeyStore.get(Credentials.USER_CERTIFICATE + alias);
112 @Override public byte[] getCaCertificates(String alias) {
113 checkArgs(alias);
114 return mKeyStore.get(Credentials.CA_CERTIFICATE + alias);
117 private void checkArgs(String alias) {
[all …]
DKeyChainActivity.java151 @Override public void alias(String alias) { in chooseCertificate()
153 if (alias != null) { in chooseCertificate()
154 finish(alias); in chooseCertificate()
181 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in chooseCertificate() local
183 devicePolicyManager.choosePrivateKeyAlias(mSenderUid, uri, alias, callback); in chooseCertificate()
188 callback.alias(null); in chooseCertificate()
224 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in displayCertChooserDialog() local
226 if (alias != null) { in displayCertChooserDialog()
228 int adapterPosition = adapter.mAliases.indexOf(alias); in displayCertChooserDialog()
244 String alias = ((adapterPosition >= 0) in displayCertChooserDialog()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLUtils.java254 @Override public abstract X509Certificate[] getCertificateChain(String alias); in getCertificateChain() argument
256 @Override public abstract PrivateKey getPrivateKey(String alias); in getPrivateKey() argument
300 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
308 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() argument
337 public static KeyChainKeyManager fromAlias(Context context, String alias) in fromAlias() argument
341 certificateChain = KeyChain.getCertificateChain(context, alias); in fromAlias()
343 logError(alias, "certificate chain", e); in fromAlias()
346 logError(alias, "certificate chain", e); in fromAlias()
352 privateKey = KeyChain.getPrivateKey(context, alias); in fromAlias()
354 logError(alias, "private key", e); in fromAlias()
[all …]
DCertificateRequestor.java61 public void alias(String alias) { in alias() method in CertificateRequestor
62 if (alias == null) { in alias()
66 data.putExtra(RESULT_ALIAS, alias); in alias()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java87 protected void announceRemoval(String alias) { in announceRemoval() argument
91 getListView().announceForAccessibility(getString(R.string.user_credential_removed, alias)); in announceRemoval()
202 keyChain.removeKeyPair(credential.alias); in removeGrantsAndDelete()
215 target.announceRemoval(credential.alias); in onPostExecute()
254 for (final String alias : keyStore.list(type.prefix, uid)) { in getCredentialsForUid()
257 if (alias.startsWith(LockPatternUtils.PROFILE_KEY_NAME_ENCRYPT) || in getCredentialsForUid()
258 alias.startsWith(LockPatternUtils.PROFILE_KEY_NAME_DECRYPT)) { in getCredentialsForUid()
262 if (alias.startsWith(LockPatternUtils.SYNTHETIC_PASSWORD_KEY_PREFIX)) { in getCredentialsForUid()
266 Credential c = aliasMap.get(alias); in getCredentialsForUid()
268 c = new Credential(alias, uid); in getCredentialsForUid()
[all …]
DTrustedCredentialsSettings.java137 private boolean deleted(IKeyChainService service, String alias) throws RemoteException { in deleted() argument
140 return !service.containsCaAlias(alias); in deleted()
731 String alias = aliases.get(j); in doInBackground() local
732 byte[] encodedCertificate = service.getEncodedCaCertificate(alias, in doInBackground()
736 mTab, alias, cert, profileId)); in doInBackground()
830 String alias, in CertHolder() argument
837 mAlias = alias; in CertHolder()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java228 String alias; in chooseClientAlias() local
236 alias = mAlias; in chooseClientAlias()
238 return alias; in chooseClientAlias()
246 @Override public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
250 = KeyChain.getCertificateChain(KeyChainTestActivity.this, alias); in getCertificateChain()
274 @Override public PrivateKey getPrivateKey(String alias) { in getPrivateKey() argument
278 alias); in getPrivateKey()
291 @Override public void alias(String alias) { in alias() argument
292 if (alias == null) { in alias()
299 log("Alias choosen '" + alias + "'"); in alias()
[all …]
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java51 @Override public void revokeAppPermission(final int uid, final String alias)
54 blockingSetGrantPermission(uid, alias, false);
57 @Override public void grantAppPermission(final int uid, final String alias)
60 blockingSetGrantPermission(uid, alias, true);
70 private void blockingSetGrantPermission(int senderUid, String alias, boolean value)
75 connection.getService().setGrant(senderUid, alias, value);
DIKeyChainServiceTestSupport.aidl37 void revokeAppPermission(int uid, String alias); in revokeAppPermission() argument
38 void grantAppPermission(int uid, String alias); in grantAppPermission() argument
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java328 String alias = trustedCertificateStore.getCertificateAlias(caCert); in installVpnAndAppsTrustAnchors() local
329 if (alias == null) { in installVpnAndAppsTrustAnchors()
335 dpm.approveCaCert(alias, UserHandle.myUserId(), true); in installVpnAndAppsTrustAnchors()
373 String alias = aliases.nextElement(); in extractPkcs12Internal() local
374 if (keystore.isKeyEntry(alias)) { in extractPkcs12Internal()
375 KeyStore.Entry entry = keystore.getEntry(alias, password); in extractPkcs12Internal()
376 Log.d(TAG, "extracted alias = " + alias + ", entry=" + entry.getClass()); in extractPkcs12Internal()
380 mName = alias; in extractPkcs12Internal()
388 Log.d(TAG, "Skip non-key entry, alias = " + alias); in extractPkcs12Internal()
/packages/apps/Email/src/com/android/email/view/
DCertificateSelector.java84 public void setCertificate(String alias) { in setCertificate() argument
86 mValue = alias; in setCertificate()
88 TextUtils.isEmpty(alias) in setCertificate()
90 : alias); in setCertificate()
92 TextUtils.isEmpty(alias) in setCertificate()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsTest.java39 final String alias = "credential-test-alias"; in testCredentialIsParcelable() local
40 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable()
50 assertEquals(c.alias, r.alias); in testCredentialIsParcelable()
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
DCertInstallerHelper.java100 String alias = aliasesList.get(0); in extractCertificate() local
101 java.security.KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractCertificate()
102 Log.d(TAG, "extracted alias = " + alias + ", entry=" + entry.getClass()); in extractCertificate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2298 private static String buildDisplayPhotoUriAlias(String contactIdColumn, String alias) { in buildDisplayPhotoUriAlias() argument
2307 + " AS " + alias; in buildDisplayPhotoUriAlias()
2310 private static String buildThumbnailPhotoUriAlias(String contactIdColumn, String alias) { in buildThumbnailPhotoUriAlias() argument
2318 + " AS " + alias; in buildThumbnailPhotoUriAlias()
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in232 # the documentation. An alias has the form:
238 # "Side Effects:". You can put \n's in the value part of an alias to insert
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dlt_wordlist.combined.gz
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Den_wordlist.combined.gz

12