Searched defs:keys (Results 1 - 25 of 36) sorted by relevance

12

/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherPBEThread.java30 CipherPBEThread(String name, int[] keys, String[] modes, String[] paddings) { argument
31 super(name, keys, modes, paddings);
H A DCipherRSAThread.java26 CipherRSAThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
H A DCipherSymmetricKeyThread.java28 CipherSymmetricKeyThread(String name, int[] keys, String[] modes, String[] paddings) { argument
29 super(name, keys, modes, paddings);
H A DCipherWrapThread.java26 CipherWrapThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
H A DCipherThread.java40 CipherThread(String name, int[] keys, String[] modes, String[] paddings) { argument
42 keyLengthAr = keys;
/dalvik/libcore/luni/src/main/java/java/util/
H A DDictionary.java25 * associate keys with values, such as {@code Hashtable}.
42 * @see #keys
69 * Returns an enumeration on the keys of this dictionary.
71 * @return an enumeration of the keys of this dictionary.
76 public abstract Enumeration<K> keys(); method in class:Dictionary
91 * @see #keys
113 * @see #keys
H A DEnumMap.java26 * An {@code Map} specialized for use with {@code Enum} types as keys.
39 transient Enum[] keys; field in class:EnumMap
84 return (enumMap.keys[ordinal] == null ? 0 : enumMap.keys[ordinal]
94 return (KT) enumMap.keys[ordinal];
108 return enumMap.put((KT) enumMap.keys[ordinal], value);
113 StringBuilder result = new StringBuilder(enumMap.keys[ordinal]
158 return type.get(new MapEntry(enumMap.keys[prePosition],
165 enumMap.remove(enumMap.keys[prePosition]);
177 new MapEntry(enumMap.keys[prePositio
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DSelector.java26 * {@link SelectionKey} that represents the registration. The keys are also
27 * added to the selector's key set. Selection keys can be canceled so that the
30 * By invoking the {@code select} method, the key set is checked and all keys
32 * canceled keys. During the select operation, the channels registered with this
61 * {@link #wakeup()} method of this selector is called. After this, all keys
83 * Gets the set of registered keys. The set is immutable and is not thread-
86 * @return the set of registered keys.
88 public abstract Set<SelectionKey> keys(); method in class:Selector
132 * Gets the selection keys whose channels are ready for operation. The set
133 * is not thread-safe and no keys ma
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DExtendedKeyUsage.java46 private List keys; field in class:ExtendedKeyUsage
52 public ExtendedKeyUsage(List keys) { argument
53 this.keys = keys;
68 if (keys == null) {
69 keys = (List) ASN1.decode(getEncoded());
71 return keys;
79 encoding = ASN1.encode(keys);
90 if (keys == null) {
92 keys
[all...]
/dalvik/libcore/security/src/test/java/tests/targets/security/
H A DDefaultKeys.java185 private static final HashMap<String, KeySpec> keys = new HashMap<String, KeySpec>(); field in class:DefaultKeys
187 keys.put("DH_public", new X509EncodedKeySpec(DH_public));
188 keys.put("DH_private", new PKCS8EncodedKeySpec(DH_private));
189 keys.put("DSA_public", new X509EncodedKeySpec(DSA_public));
190 keys.put("DSA_private", new PKCS8EncodedKeySpec(DSA_private));
191 keys.put("RSA_public", new X509EncodedKeySpec(RSA_public));
192 keys.put("RSA_private", new PKCS8EncodedKeySpec(RSA_private));
198 return factory.generatePrivate(keys.get(algorithmName + "_private"));
204 return factory.generatePublic(keys.get(algorithmName + "_public"));
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
H A DDictionaryTest.java51 public Enumeration keys() { method in class:DictionaryTest.Mock_Dictionary
H A DAbstractMapTest.java343 Vector keys = new Vector(); field in class:AbstractMapTest.AMT
360 Object k = keys.elementAt(index);
392 keys.add(k);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/
H A DSystemScope.java49 private Hashtable keys = new Hashtable(); field in class:SystemScope
97 return (Identity) keys.get(key);
115 if (key != null && keys.containsKey(key)) {
121 keys.put(key, identity);
147 contains = contains || keys.containsKey(key);
148 keys.remove(key);
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DStringToIntTable.java25 * number strings being keys, and the odd number strings being values.
181 * Return array of keys in the table.
185 public final String[] keys() method in class:StringToIntTable
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/
H A DNodeSorter.java66 * the criteria in the keys.
68 * @param keys a vector of NodeSortKeys.
73 public void sort(DTMIterator v, Vector keys, XPathContext support) argument
77 m_keys = keys;
231 // Use collation keys for faster compare, but note that whitespaces
368 * sorted, and arrays with duplicate keys.<BR>
468 // maxkey + 1 keys will only hit fairly rarely and therefore, we
469 // will get the node values for those keys dynamically.
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/utils/
H A DStringToIntTable.java25 * number strings being keys, and the odd number strings being values.
188 * Return array of keys in the table.
192 public final String[] keys() method in class:StringToIntTable
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractMapTest.java83 notes = "Doesn't verify returned set of keys.",
233 Vector keys = new Vector(); field in class:AbstractMapTest.AMT
250 Object k = keys.elementAt(index);
282 keys.add(k);
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
H A DMockAbstractSelector.java70 private Set<SelectionKey> keys = new HashSet<SelectionKey>(); field in class:MockAbstractSelector
94 keys.add(key);
110 public Set<SelectionKey> keys() { method in class:MockAbstractSelector
111 return keys;
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
H A DX509KeyManagerTest.java36 private PrivateKey[] keys = null; field in class:X509KeyManagerTest
636 keys = new PrivateKey[3];
637 keys[0] = kf.generatePrivate(new PKCS8EncodedKeySpec(keyBytes));
638 keys[1] = kf.generatePrivate(new PKCS8EncodedKeySpec(key2Bytes));
639 keys[2] = kf.generatePrivate(new PKCS8EncodedKeySpec(key3Bytes));
644 keyTest.setKeyEntry("clientKey_01", keys[0], password.toCharArray(), new X509Certificate[] {cert[0]});
645 keyTest.setKeyEntry("clientKey_02", keys[1], password.toCharArray(), new X509Certificate[] {cert[0], cert[1]});
646 keyTest.setKeyEntry("clientKey_03", keys[2], password.toCharArray(), new X509Certificate[] {cert[0], cert[2]});
651 keys = new PrivateKey[1];
652 keys[
[all...]
H A DHandshakeCompletedEventTest.java518 String keys; field in class:HandshakeCompletedEventTest.TestServer
524 public TestServer(boolean provideKeys, int clientAuth, String keys) { argument
525 this.keys = keys;
534 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null;
603 private String keys; field in class:HandshakeCompletedEventTest.TestClient
607 public TestClient(boolean provideKeys, String keys) { argument
608 this.keys = keys;
616 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys)
668 getKeyManagers(String keys) argument
[all...]
H A DSSLSocketTest.java776 String keys = useBKS ? SERVER_KEYS_BKS : SERVER_KEYS_JKS;
777 TestServer server = new TestServer(true, keys);
809 String keys; field in class:SSLSocketTest.TestServer
815 public TestServer(boolean provideKeys, String keys) { argument
816 this.keys = keys;
824 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null;
870 private KeyManager[] getKeyManagers(String keys) throws Exception { argument
871 byte[] bytes = new Base64().decode(keys.getBytes());
/dalvik/libcore/json/src/main/java/org/json/
H A DJSONObject.java87 * <li>show up in the {@link #keys} iterator
119 * @param copyFrom a map whose keys are of type {@link String} and whose
121 * @throws NullPointerException if any of the map's keys are null.
129 * Deviate from the original by checking that keys are non-null and
612 * undefined. The order of the keys is undefined.
615 public Iterator keys() { method in class:JSONObject
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
H A DPreferences.java576 * Returns all preference keys stored in this node or an empty array if no
579 * @return the list of all preference keys of this node.
586 public abstract String[] keys() throws BackingStoreException; method in class:Preferences
H A DXMLParser.java243 String[] keys = prefs.keys();
244 String[] values = new String[keys.length];
245 for (int i = 0; i < keys.length; i++) {
246 values[i] = prefs.get(keys[i], null);
248 exportEntries(keys, values, out);
251 private static void exportEntries(String[] keys, String[] values, argument
253 if (keys.length == 0) {
258 for (int i = 0; i < keys.length; i++) {
261 "entry", new String[] { "key", "value" }, new String[] { keys[
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/
H A DElemForEach.java286 * @param keys Vector of sort keyx
294 XPathContext xctxt, Vector keys, DTMIterator sourceNodes)
305 sorter.sort(sourceNodes, keys, xctxt);
336 final Vector keys = (m_sortElems == null)
341 if (null != keys)
342 sourceNodes = sortNodes(xctxt, keys, sourceNodes);
293 sortNodes( XPathContext xctxt, Vector keys, DTMIterator sourceNodes) argument

Completed in 365 milliseconds

12