Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESKeySpec.java44 private byte[] key; field in DESKeySpec
130 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec()
153 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec()
186 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
219 public static boolean isWeak(byte[] key, int offset) in isWeak()
DDESedeKeySpec.java44 private byte[] key; field in DESedeKeySpec
61 public DESedeKeySpec(byte[] key) throws InvalidKeyException { in DESedeKeySpec()
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec()
114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKeyAgreementSpi.java35 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
44 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
55 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
59 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
82 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
87 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DMockCipherSpi.java40 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
[all …]
DMockMacSpi.java38 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
47 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
58 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
67 protected void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMockKeyAgreementSpi.java34 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
43 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
53 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
57 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
80 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DExemptionMechanismTest.java129 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testIsCryptoAllowed() local
161 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testGenExemptionBlob() local
203 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob() local
241 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$B() local
281 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$BI() local
378 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getName() local
393 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getOutputSizeI() local
416 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getProvider() local
431 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_Key() local
465 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() local
[all …]
DMockMacSpi.java30 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
39 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
58 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, in engineInit()
DExemptionMechanismSpiTest.java66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { in engineInit()
72 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit()
78 …protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, Invalid… in engineInit()
98 Key key = null; in testExemptionMechanismSpi01() local
DKeyAgreementSpiTest.java48 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
107 Key key = null; in testKeyAgreementSpi01() local
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java111 Map.Entry<K,V> lowerEntry(K key); in lowerEntry()
125 K lowerKey(K key); in lowerKey()
140 Map.Entry<K,V> floorEntry(K key); in floorEntry()
154 K floorKey(K key); in floorKey()
169 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry()
183 K ceilingKey(K key); in ceilingKey()
198 Map.Entry<K,V> higherEntry(K key); in higherEntry()
212 K higherKey(K key); in higherKey()
DMap.java164 boolean containsKey(Object key); in containsKey()
212 V get(Object key); in get()
240 V put(K key, V value); in put()
272 V remove(Object key); in remove()
586 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
741 default V putIfAbsent(K key, V value) { in putIfAbsent()
784 default boolean remove(Object key, Object value) { in remove()
836 default boolean replace(K key, V oldValue, V newValue) { in replace()
884 default V replace(K key, V value) { in replace()
966 default V computeIfAbsent(K key, in computeIfAbsent()
[all …]
DDictionary.java112 abstract public V get(Object key); in get()
141 abstract public V put(K key, V value); in put()
154 abstract public V remove(Object key); in remove()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java456 public abstract void put(String key, String value); in put()
479 public abstract String get(String key, String def); in get()
495 public abstract void remove(String key); in remove()
532 public abstract void putInt(String key, int value); in putInt()
564 public abstract int getInt(String key, int def); in getInt()
582 public abstract void putLong(String key, long value); in putLong()
614 public abstract long getLong(String key, long def); in getLong()
633 public abstract void putBoolean(String key, boolean value); in putBoolean()
669 public abstract boolean getBoolean(String key, boolean def); in getBoolean()
687 public abstract void putFloat(String key, float value); in putFloat()
[all …]
DAbstractPreferences.java239 public void put(String key, String value) { in put()
278 public String get(String key, String def) { in get()
310 public void remove(String key) { in remove()
359 public void putInt(String key, int value) { in putInt()
385 public int getInt(String key, int def) { in getInt()
414 public void putLong(String key, long value) { in putLong()
440 public long getLong(String key, long def) { in getLong()
469 public void putBoolean(String key, boolean value) { in putBoolean()
498 public boolean getBoolean(String key, boolean def) { in getBoolean()
527 public void putFloat(String key, float value) { in putFloat()
[all …]
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java51 public V get(K key) { in get()
83 protected V put(K key, V value) { in put()
97 protected abstract V createObject(K key); in createObject()
99 protected K normalizeKey(K key) { in normalizeKey()
104 private K key; field in LocaleObjectCache.CacheEntry
106 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry()
DExtension.java36 private final char key; field in Extension
39 protected Extension(char key) { in Extension()
43 Extension(char key, String value) { in Extension()
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java44 public final V get(K key) { in get()
82 public synchronized final V put(K key, V value) { in put()
98 K key = toEvict.getKey(); in trimToSize() local
110 protected void entryEvicted(K key, V value) {} in entryEvicted()
117 protected V create(K key) { in create()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentMap.java88 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
159 V putIfAbsent(K key, V value); in putIfAbsent()
190 boolean remove(Object key, Object value); in remove()
222 boolean replace(K key, V oldValue, V newValue); in replace()
254 V replace(K key, V value); in replace()
327 default V computeIfAbsent(K key, in computeIfAbsent()
369 default V computeIfPresent(K key, in computeIfPresent()
417 default V compute(K key, in compute()
477 default V merge(K key, V value, in merge()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java281 public String get(String key, String deflt) { in get()
286 public boolean getBoolean(String key, boolean deflt) { in getBoolean()
291 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray()
296 public double getDouble(String key, double deflt) { in getDouble()
301 public float getFloat(String key, float deflt) { in getFloat()
306 public int getInt(String key, int deflt) { in getInt()
311 public long getLong(String key, long deflt) { in getLong()
346 public void put(String key, String value) { in put()
351 public void putBoolean(String key, boolean value) { in putBoolean()
356 public void putByteArray(String key, byte[] value) { in putByteArray()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DPBEKeyTest.java43 checkPBEKey key = new checkPBEKey(); in testField() local
50 checkPBEKey key = new checkPBEKey(); in test_getIterationCount() local
56 checkPBEKey key = new checkPBEKey(); in test_getPassword() local
62 checkPBEKey key = new checkPBEKey(); in test_getSalt() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractWatchService.java71 final void enqueueKey(WatchKey key) { in enqueueKey()
87 private void checkKey(WatchKey key) { in checkKey()
98 WatchKey key = pendingKeys.poll(); in poll() local
108 WatchKey key = pendingKeys.poll(timeout, unit); in poll() local
118 WatchKey key = pendingKeys.take(); in take() local
/libcore/ojluni/src/main/java/java/security/
DProvider.java323 public synchronized Object put(Object key, Object value) { in put()
350 public synchronized Object putIfAbsent(Object key, Object value) { in putIfAbsent()
376 public synchronized Object remove(Object key) { in remove()
401 public synchronized boolean remove(Object key, Object value) { in remove()
426 public synchronized boolean replace(Object key, Object oldValue, in replace()
453 public synchronized Object replace(Object key, Object value) { in replace()
509 public synchronized Object compute(Object key, in compute()
540 …public synchronized Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> … in computeIfAbsent() argument
569 …public synchronized Object computeIfPresent(Object key, BiFunction<? super Object, ? super Object,… in computeIfPresent() argument
601 …public synchronized Object merge(Object key, Object value, BiFunction<? super Object, ? super Obj… in merge() argument
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurity2Test.java45 String key = (String) k; in test_getProvidersLjava_lang_String() local
58 String key = (String) entry.getKey(); in test_getProvidersLjava_lang_String() local
96 private boolean isProviderData(String key) { in isProviderData()
100 private boolean isAlias(String key) { in isAlias()
105 String key = k.toUpperCase(); in addOrIncrementTable() local
/libcore/ojluni/src/main/java/javax/crypto/
DExemptionMechanismSpi.java81 protected abstract void engineInit(Key key) in engineInit()
105 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
130 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit()

12345678910>>...12