Home
last modified time | relevance | path

Searched refs:aliases (Results 1 – 24 of 24) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestKeyStoreSpi.java29 Map<String, Object> aliases = new HashMap<String, Object>(); field in TestKeyStoreSpi
56 aliases.put("certalias", CERT); in TestKeyStoreSpi()
57 aliases.put("chainalias", CERTCHAIN); in TestKeyStoreSpi()
58 aliases.put("keyalias", KEY); in TestKeyStoreSpi()
59 aliases.put("unknownalias", FAKE); in TestKeyStoreSpi()
64 return Collections.enumeration(aliases.keySet()); in engineAliases()
69 return aliases.containsKey(alias); in engineContainsAlias()
79 return (Certificate) aliases.get(alias); in engineGetCertificate()
88 for (Map.Entry<String, Object> alias : aliases.entrySet()) { in engineGetCertificateAlias()
99 return (Certificate[]) aliases.get(alias); in engineGetCertificateChain()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DZoneName.java34 if (mzone == null && aliases.containsKey(zid)) { in toZid()
35 zid = aliases.get(zid); in toZid()
50 if (aliases.containsKey(zid)) { in toZid()
51 return aliases.get(zid); in toZid()
755 private static final Map<String, String> aliases = new HashMap<>(); field in ZoneName
774 aliases.put(aliasMap[i], aliasMap[i + 1]); in aliases.put()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreBuilderTest.java299 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter()
300 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
320 for (Enumeration<String> aliases = ks1.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter()
321 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
353 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter()
354 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
364 for (Enumeration<String> iter = ks1.aliases(); iter.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter()
DProviderServiceTest.java241 String className, List<String> aliases, in MyService() argument
243 super(provider, type, algorithm, className, aliases, attributes); in MyService()
DKeyStore2Test.java175 keyTest.aliases(); in test_aliases()
194 Enumeration<String> aliase = keyTest.aliases(); in test_aliases()
/libcore/luni/src/test/java/libcore/java/security/
DCodeSourceTest.java62 for (Enumeration<String> aliases = keyStore.aliases(); aliases.hasMoreElements(); ) { in createCodeSigner()
63 String alias = aliases.nextElement(); in createCodeSigner()
DProtectionDomainTest.java94 for (Enumeration<String> aliases = keyStore.aliases(); aliases.hasMoreElements(); ) { in createCodeSigner()
95 String alias = aliases.nextElement(); in createCodeSigner()
DProviderTest.java267 Map<String,String> aliases = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in test_Provider_Properties() local
290 aliases.put(key, type + "." + value); in test_Provider_Properties()
314 for (Entry<String,String> entry : aliases.entrySet()) { in test_Provider_Properties()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java343 for (String alias : cs.aliases()) { in cache()
672 private final String[] aliases; // tickles a bug in oldjavac
688 protected Charset(String canonicalName, String[] aliases) {
690 String[] as = (aliases == null) ? new String[0] : aliases;
694 this.aliases = as;
711 public final Set<String> aliases() {
714 int n = aliases.length;
717 hs.add(aliases[i]);
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidLocaleTest.java166 Set<String> aliases = cs.aliases(); in testICUConverters() local
167 System.out.println(cs.name() + ": " + aliases); in testICUConverters()
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java34 protected Charset(java.lang.String canonicalName, java.lang.String[] aliases) { in Charset() argument
98 public final java.util.Set<java.lang.String> aliases() { in aliases() method in Charset
154 private final java.lang.String[] aliases; field in Charset
157 aliases = new java.lang.String[0];
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXParameters.java148 Enumeration<String> aliases = keystore.aliases(); in PKIXParameters() local
149 while (aliases.hasMoreElements()) { in PKIXParameters()
150 String alias = aliases.nextElement(); in PKIXParameters()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestKeyManager.java156 private String[] dumpAliases(String[] aliases) { in dumpAliases() argument
158 for (String alias : aliases) { in dumpAliases()
163 return aliases; in dumpAliases()
DTestSSLContext.java334 for (String alias: Collections.list(keyStore.aliases())) { in assertCertificateInKeyStore()
350 for (String alias: Collections.list(keyStore.aliases())) { in assertCertificateInKeyStore()
/libcore/ojluni/src/main/java/java/security/
DProvider.java1432 private List<String> aliases; field in Provider.Service
1460 aliases = Collections.<String>emptyList(); in Service()
1469 if (aliases.isEmpty()) { in addAlias()
1470 aliases = new ArrayList<String>(2); in addAlias()
1472 aliases.add(alias); in addAlias()
1497 String className, List<String> aliases, in Service() argument
1507 if (aliases == null) { in Service()
1508 this.aliases = Collections.<String>emptyList(); in Service()
1510 this.aliases = new ArrayList<String>(aliases); in Service()
1561 return aliases; in getAliases()
[all …]
DKeyStore.java1268 public final Enumeration<String> aliases() in aliases() method in KeyStore
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoder2Test.java123 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument
124 super(canonicalName, aliases); in MockMalfunctionCharset()
DCharsetDecoder2Test.java133 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument
134 super(canonicalName, aliases); in MockMalfunctionCharset()
/libcore/ojluni/src/main/resources/sun/nio/cs/
Dstandard-charsets44 # IANA aliases
56 # Other aliases
108 # IANA aliases
117 # Other aliases
214 # Other aliases
/libcore/ojluni/src/main/java/sun/security/util/
DAnchorCertificates.java61 Enumeration<String> list = cacerts.aliases(); in AccessController.doPrivileged()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509KeyManagerTest.java741 private void assertKnownAliases(String[] aliases) { in assertKnownAliases() argument
742 for (String alias : aliases) { in assertKnownAliases()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java833 for (String alias : Collections.list(keyStore.aliases())) { in privateKey()
888 for (String alias : Collections.list(keyStore.aliases())) { in issuer()
980 for (String alias : Collections.list(keyStore.aliases())) { in rootCertificate()
1048 for (String alias : Collections.list(src.aliases())) { in copySelfSignedCertificates()
1071 for (String alias : Collections.list(src.aliases())) { in copyCertificate()
1105 for (String alias : Collections.list(keyStore.aliases())) { in dump()
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java115 … algorithm, java.lang.String className, java.util.List<java.lang.String> aliases, java.util.Map<ja… in Service() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java665 private UnicodeBlock(java.lang.String idName, java.lang.String... aliases) { in UnicodeBlock() argument
2144 aliases = null; field in Character.UnicodeScript