Lines Matching defs:alias

103     public X509Certificate[] getCertificateChain(String alias) {
104 PrivateKeyEntry entry = getEntry(alias);
109 public PrivateKey getPrivateKey(String alias) {
110 PrivateKeyEntry entry = getEntry(alias);
208 // we construct the alias we return to JSSE as seen in the code below
214 + entry.alias;
217 private PrivateKeyEntry getEntry(String alias) {
218 // if the alias is null, return immediately
219 if (alias == null) {
224 Reference<PrivateKeyEntry> ref = entryCacheMap.get(alias);
230 // parse the alias
231 int firstDot = alias.indexOf('.');
232 int secondDot = alias.indexOf('.', firstDot + 1);
234 // invalid alias
239 (alias.substring(firstDot + 1, secondDot));
240 String keyStoreAlias = alias.substring(secondDot + 1);
244 (keyStoreAlias, builder.getProtectionParameter(alias));
250 entryCacheMap.put(alias, new SoftReference(entry));
318 * Return the best alias that fits the given parameters.
408 debug.println("KeyMgr: no matching alias found");
439 // identifies the entry by builder and alias
445 final String alias;
448 EntryStatus(int builderIndex, int keyIndex, String alias,
452 this.alias = alias;
462 String s = alias + " (verified: " + checkResult + ")";
466 return "Builder #" + builderIndex + ", alias: " + s;
619 String alias = e.nextElement();
621 if (ks.isKeyEntry(alias) == false) {
625 Certificate[] chain = ks.getCertificateChain(alias);
634 // not an X509Certificate, ignore this alias
655 debug.println("Ignoring alias " + alias
672 debug.println("Ignoring alias " + alias
684 debug.println("Ignoring alias " + alias +
698 alias, chain, checkResult);