Searched defs:key (Results 1 - 25 of 159) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
H A DA.java27 public String find(String key) { argument
28 return pp.findProp(key);
H A DI.java21 String find(String key); argument
H A DP.java29 public String findProp(String key) { argument
30 return findProp(this.c, key);
33 private String findProp(Class cls, String key) { argument
37 ret = (String) b.getObject(key);
41 ret = findProp(cls.getSuperclass(), key);
/libcore/support/src/test/java/tests/security/
H A DCipherSymmetricCryptHelper.java31 public void test(SecretKey key) { argument
32 test(key, key);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
H A DI.java4 String find(String key); argument
H A DA.java10 public String find(String key) { argument
11 return pp.findProp(key);
H A DP.java12 public String findProp(String key) { argument
13 return findProp(this.c, key);
16 private String findProp(Class cls, String key) { argument
20 ret = (String)b.getObject(key);
24 ret = findProp(cls.getSuperclass(), key);
/libcore/luni/src/main/java/java/security/
H A DKeyFactorySpi.java32 * Generates a instance of {@code PublicKey} from the given key
36 * the specification of the public key.
37 * @return the public key.
45 * Generates a instance of {@code PrivateKey} from the given key
49 * the specification of the private key.
50 * @return the private key.
58 * Returns the key specification for the specified key.
60 * @param key
61 * the key fro
69 engineGetKeySpec(Key key, Class<T> keySpec) argument
83 engineTranslateKey(Key key) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DListResourceBundle.java40 * elements, the first is the resource key string and the second is the
108 public final Object handleGetObject(String key) { argument
110 if (key == null) {
111 throw new NullPointerException("key == null");
113 return table.get(key);
H A DMissingResourceException.java33 String className, key; field in class:MissingResourceException
51 key = resourceName;
72 return key;
H A DDictionary.java48 * Returns the value which is associated with {@code key}.
50 * @param key
51 * the key of the value returned.
52 * @return the value associated with {@code key}, or {@code null} if the
53 * specified key does not exist.
56 public abstract V get(Object key); argument
59 * Returns true if this dictionary has no key/value pairs.
61 * @return {@code true} if this dictionary has no key/value pairs,
78 * Associate {@code key} with {@code value} in this dictionary. If {@code
79 * key} exist
92 put(K key, V value) argument
105 remove(Object key) argument
[all...]
H A DPropertyResourceBundle.java26 * Strings. The resources must be of the form {@code key=value}, one
125 public Object handleGetObject(String key) { argument
126 return resources.get(key);
/libcore/luni/src/main/java/javax/crypto/
H A DSecretKeyFactorySpi.java37 * Generate a secret key from the specified key specification.
40 * the key specification.
41 * @return a secret key.
43 * if the specified key specification cannot be used to generate
44 * a secret key.
50 * Returns the key specification of the specified secret key.
52 * @param key
53 * the secret key t
62 engineGetKeySpec(SecretKey key, Class keySpec) argument
76 engineTranslateKey(SecretKey key) argument
[all...]
H A DExemptionMechanismSpi.java39 * Generates the result key blob for this exemption mechanism.
41 * @return the result key blob for this exemption mechanism.
49 * Generates the result key blob for this exemption mechanism and stores it
53 * the output buffer for the result key blob.
58 * if the provided buffer is too small for the result key blob.
79 * key.
81 * @param key
82 * the key to initialize this instance with.
84 * if the key cannot be used to initialize this mechanism.
88 protected abstract void engineInit(Key key) throw argument
107 engineInit(Key key, AlgorithmParameters params) argument
127 engineInit(Key key, AlgorithmParameterSpec params) argument
[all...]
H A DKeyAgreementSpi.java40 * Does the next (or the last) phase of the key agreement, using the
41 * specified key.
43 * @param key
44 * the key received from the other party for this phase.
46 * set to {@code true} if this is the last phase of this key
48 * @return the intermediate key from this phase or null if there is no
49 * intermediate key for this phase.
51 * if the specified key cannot be used in this key agreement or
56 protected abstract Key engineDoPhase(Key key, boolea argument
118 engineInit(Key key, SecureRandom random) argument
138 engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument
[all...]
H A DMacSpi.java48 * Initializes this {@code MacSpi} instance with the specified key and
51 * @param key
52 * the key to initialize this algorithm.
56 * if the specified key cannot be used to initialize this
62 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) argument
H A DSecretKeyFactory.java33 * Secret key factories provide the following functionality:
39 * Which key specifications are supported by the {@link #generateSecret} and
62 * the provider providing this key factory.
64 * the algorithm name for the secret key.
74 * Returns the name of the secret key algorithm.
76 * @return the name of the secret key algorithm.
92 * Creates a new {@code SecretKeyFactory} instance for the specified key
96 * the name of the key algorithm.
97 * @return a secret key factory for the specified key algorith
203 getKeySpec(SecretKey key, Class keySpec) argument
219 translateKey(SecretKey key) argument
[all...]
/libcore/luni/src/main/java/javax/crypto/spec/
H A DDESedeKeySpec.java24 * The key specification for a triple-DES (DES-EDE) key.
29 * The length of a DES-EDE key in bytes.
33 private final byte[] key; field in class:DESedeKeySpec
37 * {@link #DES_EDE_KEY_LEN}) bytes of the specified key data.
39 * @param key
40 * the key data.
42 * if the length of the key data is less than 24.
44 * if the key data is null.
46 public DESedeKeySpec(byte[] key) throw argument
72 DESedeKeySpec(byte[] key, int offset) argument
108 isParityAdjusted(byte[] key, int offset) argument
[all...]
H A DDESKeySpec.java24 * The key specification for a DES key.
29 * The length of a DES key in bytes.
33 private final byte[] key; field in class:DESKeySpec
94 * specified key data.
96 * @param key
97 * the key data.
99 * if the length of the specified key data is less than 8.
101 public DESKeySpec(byte[] key) throws InvalidKeyException { argument
102 this(key,
117 DESKeySpec(byte[] key, int offset) argument
153 isParityAdjusted(byte[] key, int offset) argument
190 isWeak(byte[] key, int offset) argument
[all...]
H A DSecretKeySpec.java31 * A key specification for a <code>SecretKey</code> and also a secret key
42 private final byte[] key; field in class:SecretKeySpec
46 * Creates a new <code>SecretKeySpec</code> for the specified key data and
49 * @param key
50 * the key data.
54 * if the key data or the algorithm name is null or if the key
57 public SecretKeySpec(byte[] key, String algorithm) { argument
58 if (key
93 SecretKeySpec(byte[] key, int offset, int len, String algorithm) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DCipherInputStreamBenchmark.java58 private SecretKey key; field in class:CipherInputStreamBenchmark
69 key = generator.generateKey();
74 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec);
79 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec);
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java41 * @param key
52 String key,
57 new UserDataNotification(operation, key, data, src, dst));
50 handle( short operation, String key, Object data, Node src, Node dst) argument
H A DUserDataNotification.java23 private final String key; field in class:UserDataNotification
33 String key,
38 this.key = key;
54 * Gets value of key parameter
56 * @return value of key parameter
59 return key;
32 UserDataNotification(short operation, String key, Object data, Node src, Node dst) argument
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java21 * {@code ConcurrentMap} as a key or value
33 * If the specified key is not already associated
37 * if (!map.containsKey(key))
38 * return map.put(key, value);
40 * return map.get(key);}</pre>
44 * @param key key with which the specified value is to be associated
45 * @param value value to be associated with the specified key
46 * @return the previous value associated with the specified key, or
47 * {@code null} if there was no mapping for the key
60 putIfAbsent(K key, V value) argument
86 remove(Object key, Object value) argument
113 replace(K key, V oldValue, V newValue) argument
142 replace(K key, V value) argument
[all...]
/libcore/luni/src/main/java/javax/security/cert/
H A DCertificate.java29 * verify the binding of a Principal and its public key. Examples are X.509,
101 * Verifies that this certificate was signed with the given public key.
103 * @param key
104 * public key for which verification should be performed.
110 * if an invalid key is detected
116 public abstract void verify(PublicKey key) argument
122 * Verifies that this certificate was signed with the given public key. Uses
125 * @param key
126 * public key for which verification should be performed.
134 * if an invalid key i
140 verify(PublicKey key, String sigProvider) argument
[all...]

Completed in 2419 milliseconds

1234567