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

1234567891011>>

/openjdk7/jdk/test/javax/script/
H A DTest5.js1 var key; variable
9 if (key != 'value in engine') {
12 if (context.getAttribute("key", context.GLOBAL_SCOPE ) != null) {
19 if (key != 'value in engine') {
22 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
30 if (key != 'value in global') {
33 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DTestResource_fr.java64 public Object handleGetObject(String key) throws MissingResourceException { argument
65 if (key.equals("Time"))
67 else if (key.equals("For"))
69 else if (key.equals("All")) {
78 else if (key.equals("Good"))
H A DBug4396021.java44 private static void checkValue(String key, String expected) throws Exception { argument
45 String result = bundle.getString(key);
48 + " - key: " + key + ", expected: " + expected
/openjdk7/jdk/src/share/classes/sun/swing/
H A DStringUIClientPropertyKey.java35 private final String key; field in class:StringUIClientPropertyKey
37 public StringUIClientPropertyKey(String key) { argument
38 this.key = key;
42 return key;
/openjdk7/langtools/test/tools/javac/generics/rawSeparate/
H A DHashtable.java26 public synchronized V put(K key, V value) { argument
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletIllegalArgumentException.java35 private String key = null; field in class:AppletIllegalArgumentException
37 public AppletIllegalArgumentException(String key) { argument
38 super(key);
39 this.key = key;
44 return amh.getMessage(key);
H A DAppletIOException.java37 private String key = null; field in class:AppletIOException
40 public AppletIOException(String key) { argument
41 super(key);
42 this.key = key;
45 public AppletIOException(String key, Object arg) { argument
46 this(key);
52 return amh.getMessage(key, msgobj);
54 return amh.getMessage(key);
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DGetPropertyAction.java37 private final String key; field in class:GetPropertyAction
39 public GetPropertyAction(String key) { argument
40 this.key = key;
44 return System.getProperty(key);
/openjdk7/jdk/test/com/sun/java/swing/plaf/windows/
H A DTest6824600.java61 public HackedDesktopProperty(String key, Object fallback) { argument
62 super(key, fallback);
/openjdk7/jdk/test/sun/security/util/Resources/
H A DNewNamesFormat.java53 String key = (String)pair[0];
54 if (keys.contains(key)) {
55 System.out.println("Found dup: " + key);
58 checkKey(key);
59 keys.add(key);
63 private static void checkKey(String key) throws Exception { argument
64 for (char c: key.toCharArray()) {
69 System.out.println("Illegal char [" + c + "] in key: " + key);
/openjdk7/jdk/test/java/util/HashMap/
H A DSetValue.java34 static final String key = "key"; field in class:SetValue
40 m.put(key, oldValue);
/openjdk7/jdk/test/javax/crypto/CryptoPermission/
H A DAllPermCheck.java48 public static void runTest(Cipher c, Key key) throws Exception { argument
55 c.init(Cipher.ENCRYPT_MODE, key);
58 c.init(Cipher.ENCRYPT_MODE, key, sr);
61 c.init(Cipher.ENCRYPT_MODE, key,
65 c.init(Cipher.ENCRYPT_MODE, key,
69 c.init(Cipher.ENCRYPT_MODE, key,
73 c.init(Cipher.ENCRYPT_MODE, key,
78 key.getEncoded().length + "-byte keys");
97 SecretKey key = new SecretKeySpec(new byte[keyLength/8 + 8], algo);
99 runTest(c, key);
[all...]
/openjdk7/langtools/test/tools/javac/generics/wildcards/pos/
H A DAmbiguousCast2.java38 public Test(K key, V value, ReferenceQueue<V> queue) { argument
/openjdk7/jdk/test/sun/security/krb5/
H A DKrbCredSubKey.java56 kp, key, EncryptedData.ETYPE_AES128_CTS_HMAC_SHA1_96, 0);
75 // A aes-128 key for princ
76 private static byte[] key = { field in class:KrbCredSubKey
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/protocol/
H A DCorbaServerRequestDispatcher.java49 public IOR locate(ObjectKey key); argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDefaultLookup.java37 public Object getDefault(JComponent c, ComponentUI ui, String key) { argument
39 Object value = super.getDefault(c, ui, key);
43 Object value = context.getStyle().get(context, key);
/openjdk7/jdk/src/share/classes/java/security/
H A DAlgorithmConstraints.java32 * keys (key sizes), and other algorithm parameters.
73 * Determines whether a key is granted permission for the specified
76 * This method is usually used to check key size and key usage.
79 * @param key the key
81 * @return true if the key can be used for all of the specified
85 * or the key is null
87 public boolean permits(Set<CryptoPrimitive> primitives, Key key); argument
90 * Determines whether an algorithm and the corresponding key ar
105 permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters) argument
[all...]
H A DKeyFactorySpi.java36 * of a key factory for a particular algorithm.
39 * cryptographic keys of type <code>Key</code>) into <I>key specifications</I>
40 * (transparent representations of the underlying key material), and vice
44 * opaque key object from a given key specification (key material), or to
45 * retrieve the underlying key material of a key object in a suitable format.
47 * <P> Multiple compatible key specifications may exist for the same key
122 engineGetKeySpec(Key key, Class<T> keySpec) argument
137 engineTranslateKey(Key key) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DRuleBasedCollationKey.java59 int result = key.compareTo(((RuleBasedCollationKey)(target)).key);
81 return key.equals(other.key);
86 * key itself, not the String from which the key was created. Thus
93 return (key.hashCode());
104 char[] src = key.toCharArray();
117 RuleBasedCollationKey(String source, String key) { argument
119 this.key
121 private String key = null; field in class:RuleBasedCollationKey
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DListResourceBundle.java54 * The first element of each pair is the key, which must be a
56 * that key.
121 public final Object handleGetObject(String key) { argument
126 if (key == null) {
129 return lookup.get(key); // this class ignores locales
170 * the key, which must be a <code>String</code>, and the second
171 * element is the value associated with that key. See the class
175 * key-value pair.
192 // key must be non-null String, value must be non-null
193 String key
[all...]
H A DPropertyResourceBundle.java153 public Object handleGetObject(String key) { argument
154 if (key == null) {
157 return lookup.get(key);
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DSecretKeyFactorySpi.java36 * of a secret-key factory for a particular algorithm.
38 * <P> A provider should document all the key specifications supported by its
39 * secret key factory.
40 * For example, the DES secret-key factory supplied by the "SunJCE" provider
42 * keys, and that provider's secret-key factory for Triple DES keys supports
58 * provided key specification (key material).
60 * @param keySpec the specification (key material) of the secret key
62 * @return the secret key
91 engineGetKeySpec(SecretKey key, Class keySpec) argument
106 engineTranslateKey(SecretKey key) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DDESedeKeySpec.java31 * This class specifies a DES-EDE ("triple-DES") key.
40 * The constant which defines the length of a DESede key in bytes.
44 private byte[] key; field in class:DESedeKeySpec
48 * <code>key</code> as the key material for the DES-EDE key.
50 * <p> The bytes that constitute the DES-EDE key are those between
51 * <code>key[0]</code> and <code>key[23]</code> inclusive
53 * @param key th
61 DESedeKeySpec(byte[] key) argument
83 DESedeKeySpec(byte[] key, int offset) argument
114 isParityAdjusted(byte[] key, int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DWeakCache.java36 * when its key is no longer in the ordinary use.
48 * Returns a value to which the specified {@code key} is mapped,
49 * or {@code null} if this map contains no mapping for the {@code key}.
51 * @param key the key whose associated value is returned
52 * @return a value to which the specified {@code key} is mapped
54 public V get(K key) { argument
55 Reference<V> reference = this.map.get(key);
61 this.map.remove(key);
67 * Associates the specified {@code value} with the specified {@code key}
76 put(K key, V value) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESKeyFactory.java36 * This class implements the DES key factory of the Sun provider.
51 * Generates a <code>SecretKey</code> object from the provided key
52 * specification (key material).
54 * @param keySpec the specification (key material) of the secret key
56 * @return the secret key
58 * @exception InvalidKeySpecException if the given key specification
59 * is inappropriate for this key factory to produce a public key.
68 ("Inappropriate key specificatio
95 engineGetKeySpec(SecretKey key, Class keySpec) argument
136 engineTranslateKey(SecretKey key) argument
[all...]

Completed in 129 milliseconds

1234567891011>>