Searched refs:alias (Results 1 – 7 of 7) sorted by relevance
53 public SecretKeyWrapper(Context context, String alias) in SecretKeyWrapper() argument60 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() argument78 .setAlias(alias) in generateKeyPair()79 .setSubject(new X500Principal("CN=" + alias)) in generateKeyPair()
165 public void alias(String alias) { in alias() argument166 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() argument194 editor.putString(KEYCHAIN_PREF_ALIAS, alias); in setAlias()202 String alias = getAlias(); in printInfo() local203 X509Certificate[] certs = getCertificateChain(alias); in printInfo()204 final PrivateKey privateKey = getPrivateKey(alias); in printInfo()262 private X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument264 return KeyChain.getCertificateChain(this, alias); in getCertificateChain()[all …]
150 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 …]
116 (alias (assoc product android-product-alias-map)))118 (if (not alias)120 (nth 1 alias)))))
15 # 'key.alias' for the name of the key to use.
345 public void setAlias(String alias) { in setAlias() argument346 mAlias = alias; in setAlias()