Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 284) 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/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 …]
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
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()
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/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.java39 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
48 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
59 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
68 protected void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java110 Map.Entry<K,V> lowerEntry(K key); in lowerEntry()
124 K lowerKey(K key); in lowerKey()
139 Map.Entry<K,V> floorEntry(K key); in floorEntry()
153 K floorKey(K key); in floorKey()
168 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry()
182 K ceilingKey(K key); in ceilingKey()
197 Map.Entry<K,V> higherEntry(K key); in higherEntry()
211 K higherKey(K key); in higherKey()
DMap.java166 boolean containsKey(Object key); in containsKey()
214 V get(Object key); in get()
242 V put(K key, V value); in put()
274 V remove(Object key); in remove()
588 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
743 default V putIfAbsent(K key, V value) { in putIfAbsent()
786 default boolean remove(Object key, Object value) { in remove()
838 default boolean replace(K key, V oldValue, V newValue) { in replace()
886 default V replace(K key, V value) { in replace()
968 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()
DMissingResourceException.java60 public MissingResourceException(String s, String className, String key) { in MissingResourceException()
84 MissingResourceException(String message, String className, String key, Throwable cause) { in MissingResourceException()
123 private String key; field in MissingResourceException
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java239 public void put(String key, String value) { in put()
278 public String get(String key, String def) { in get()
309 public void remove(String key) { in remove()
357 public void putInt(String key, int value) { in putInt()
383 public int getInt(String key, int def) { in getInt()
412 public void putLong(String key, long value) { in putLong()
438 public long getLong(String key, long def) { in getLong()
467 public void putBoolean(String key, boolean value) { in putBoolean()
496 public boolean getBoolean(String key, boolean def) { in getBoolean()
525 public void putFloat(String key, float value) { in putFloat()
[all …]
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 …]
/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/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()
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentMap.java59 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
130 V putIfAbsent(K key, V value); in putIfAbsent()
161 boolean remove(Object key, Object value); in remove()
193 boolean replace(K key, V oldValue, V newValue); in replace()
225 V replace(K key, V value); in replace()
298 default V computeIfAbsent(K key, in computeIfAbsent()
340 default V computeIfPresent(K key, in computeIfPresent()
388 default V compute(K key, in compute()
448 default V merge(K key, V value, in merge()
/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/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/ojluni/src/main/java/sun/security/ec/
DECKeyFactory.java101 public static ECKey toECKey(Key key) throws InvalidKeyException { in toECKey()
114 private static void checkKey(ECKey key) throws InvalidKeyException { in checkKey()
141 protected Key engineTranslateKey(Key key) throws InvalidKeyException { in engineTranslateKey()
183 private PublicKey implTranslatePublicKey(PublicKey key) in implTranslatePublicKey()
204 private PrivateKey implTranslatePrivateKey(PrivateKey key) in implTranslatePrivateKey()
256 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) in engineGetKeySpec()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DAuthenticationInfo.java120 static private boolean requestIsInProgress (String key) { in requestIsInProgress()
148 static private void requestCompleted (String key) { in requestCompleted()
262 String key = SERVER_AUTHENTICATION + ":" + url.getProtocol().toLowerCase() in getServerAuth() local
278 String key = SERVER_AUTHENTICATION + ":" + scheme + ":" + url.getProtocol().toLowerCase() in getServerAuthKey() local
283 static AuthenticationInfo getServerAuth(String key) { in getServerAuth()
297 static AuthenticationInfo getAuth(String key, URL url) { in getAuth()
311 String key = PROXY_AUTHENTICATION + "::" + host.toLowerCase() + ":" + port; in getProxyAuth() local
322 String key = PROXY_AUTHENTICATION + ":" + scheme + "::" + host.toLowerCase() in getProxyAuthKey() local
327 static AuthenticationInfo getProxyAuth(String key) { in getProxyAuth()
341 String key = cacheKey(true); in addToCache() local
[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