/libcore/luni/src/main/java/javax/crypto/spec/ |
D | DESKeySpec.java | 33 private final byte[] key; field in DESKeySpec 101 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec() 117 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec() 153 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted() 190 public static boolean isWeak(byte[] key, int offset) throws InvalidKeyException { in isWeak()
|
D | DESedeKeySpec.java | 33 private final byte[] key; field in DESedeKeySpec 46 public DESedeKeySpec(byte[] key) throws InvalidKeyException { in DESedeKeySpec() 72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec() 108 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted()
|
D | SecretKeySpec.java | 42 private final byte[] key; field in SecretKeySpec 57 public SecretKeySpec(byte[] key, String algorithm) { in SecretKeySpec() 93 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { in SecretKeySpec()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 59 V putIfAbsent(K key, V value); in putIfAbsent() 81 boolean remove(Object key, Object value); in remove() 106 boolean replace(K key, V oldValue, V newValue); in replace() 133 V replace(K key, V value); in replace()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | Preferences.java | 244 public abstract String get(String key, String deflt); in get() 272 public abstract boolean getBoolean(String key, boolean deflt); in getBoolean() 301 public abstract byte[] getByteArray(String key, byte[] deflt); in getByteArray() 329 public abstract double getDouble(String key, double deflt); in getDouble() 358 public abstract float getFloat(String key, float deflt); in getFloat() 387 public abstract int getInt(String key, int deflt); in getInt() 415 public abstract long getLong(String key, long deflt); in getLong() 550 public abstract void put(String key, String value); in put() 569 public abstract void putBoolean(String key, boolean value); in putBoolean() 594 public abstract void putByteArray(String key, byte[] value); in putByteArray() [all …]
|
D | AbstractPreferences.java | 285 protected abstract String getSpi(String key); in getSpi() 321 protected abstract void removeSpi(String key); in removeSpi() 403 public String get(String key, String deflt) { in get() 420 public boolean getBoolean(String key, boolean deflt) { in getBoolean() 435 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray() 455 public double getDouble(String key, double deflt) { in getDouble() 468 public float getFloat(String key, float deflt) { in getFloat() 481 public int getInt(String key, int deflt) { in getInt() 494 public long getLong(String key, long deflt) { in getLong() 642 public void put(String key, String value) { in put() [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | NavigableMap.java | 81 Map.Entry<K,V> lowerEntry(K key); in lowerEntry() 95 K lowerKey(K key); in lowerKey() 110 Map.Entry<K,V> floorEntry(K key); in floorEntry() 124 K floorKey(K key); in floorKey() 139 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry() 153 K ceilingKey(K key); in ceilingKey() 168 Map.Entry<K,V> higherEntry(K key); in higherEntry() 182 K higherKey(K key); in higherKey()
|
D | Dictionary.java | 56 public abstract V get(Object key); in get() 92 public abstract V put(K key, V value); in put() 105 public abstract V remove(Object key); in remove()
|
D | Map.java | 102 public boolean containsKey(Object key); in containsKey() 144 public V get(Object key); in get() 193 public V put(K key, V value); in put() 223 public V remove(Object key); in remove()
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 44 public synchronized final V get(K key) { in get() 70 public synchronized final V put(K key, V value) { in put() 84 K key = toEvict.getKey(); in trimToSize() local 96 protected void entryEvicted(K key, V value) {} in entryEvicted() 103 protected V create(K key) { in create()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
D | PBEKeyTest.java | 43 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/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismTest.java | 133 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testIsCryptoAllowed() local 165 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testGenExemptionBlob() local 246 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob() local 284 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$B() local 324 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$BI() local 421 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getName() local 436 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getOutputSizeI() local 459 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getProvider() local 474 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_Key() local 508 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() local [all …]
|
D | KeyAgreementSpiTest.java | 48 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
|
D | ExemptionMechanismSpiTest.java | 66 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
|
/libcore/luni/src/main/java/javax/crypto/ |
D | ExemptionMechanismSpi.java | 88 protected abstract void engineInit(Key key) throws InvalidKeyException, in engineInit() 107 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit() 127 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
|
D | KeyAgreementSpi.java | 56 protected abstract Key engineDoPhase(Key key, boolean lastPhase) in engineDoPhase() 118 protected abstract void engineInit(Key key, SecureRandom random) in engineInit() 138 protected abstract void engineInit(Key key, AlgorithmParameterSpec params, in engineInit()
|
D | SecretKeyFactorySpi.java | 62 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec() 76 protected abstract SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
|
D | KeyAgreement.java | 179 public final void init(Key key) throws InvalidKeyException { in init() 195 public final void init(Key key, SecureRandom random) in init() 215 public final void init(Key key, AlgorithmParameterSpec params) in init() 237 public final void init(Key key, AlgorithmParameterSpec params, in init() 260 public final Key doPhase(Key key, boolean lastPhase) in doPhase()
|
/libcore/luni/src/main/java/java/io/ |
D | SerializationHandleMap.java | 53 Object key = oldKeys[i]; in resizeArrays() local 62 public int get(Object key) { in get() 74 private int findIndex(Object key, Object[] array) { in findIndex() 91 private int getModuloHash(Object key, int length) { in getModuloHash() 95 public int put(Object key, int value) { in put() 124 public int remove(Object key) { in remove()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyKeyAgreementSpi.java | 45 protected Key engineDoPhase(Key key, boolean lastPhase) in engineDoPhase() 75 protected void engineInit(Key key, SecureRandom random) in engineInit() 81 protected void engineInit(Key key, AlgorithmParameterSpec params, in engineInit()
|
D | MySecretKeyFactorySpi.java | 47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec() 53 protected SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
|
/libcore/luni/src/main/java/java/security/ |
D | KeyFactorySpi.java | 69 protected abstract <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) in engineGetKeySpec() 83 protected abstract Key engineTranslateKey(Key key) throws InvalidKeyException; in engineTranslateKey()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Security2Test.java | 48 String key = (String) entry.getKey(); in test_getProvidersLjava_lang_String() local 64 String key = (String) entry.getKey(); in test_getProvidersLjava_lang_String() local 113 private boolean isProviderData(String key) { in isProviderData() 121 private boolean isAlias(String key) { in isAlias() 129 private void addOrIncrementTable(Hashtable<String, Integer> table, String key) { in addOrIncrementTable() argument
|
/libcore/luni/src/test/java/tests/api/java/util/support/ |
D | P.java | 12 public String findProp(String key) { in findProp() 16 private String findProp(Class cls, String key) { in findProp()
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
D | SystemScope.java | 90 public synchronized Identity getIdentity(PublicKey key) { in getIdentity() 110 PublicKey key = identity.getPublicKey(); in addIdentity() local 140 PublicKey key = identity.getPublicKey(); in removeIdentity() local
|