Searched defs:key (Results 26 - 50 of 907) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESedeKeyFactory.java36 * This class implements the DES-EDE 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.
72 ("Inappropriate key specificatio
95 engineGetKeySpec(SecretKey key, Class keySpec) argument
133 engineTranslateKey(SecretKey key) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DI18N.java30 public static String getString(String key) { argument
31 return getString("com.sun.imageio.plugins.common.I18N", resource_name, key);
H A DI18NImpl.java35 * one "key=value" pair per line. All such files however have the same
46 * Returns the message string with the specified key from the
50 protected static final String getString(String className, String resource_name, String key) { argument
60 return (String)bundle.handleGetObject(key);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/fmt/
H A DJPropertyFile.java46 * Adds key/value pair into the property file.
47 * If you call this method twice with the same key,
50 public void add( String key, String value ) { argument
51 data.put(key,value);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestISO10126Padding.java44 private SecretKey key; field in class:TestISO10126Padding
50 key = kg.generateKey();
63 ci.init(Cipher.ENCRYPT_MODE, key);
72 ci.init(Cipher.DECRYPT_MODE, key);
80 ci.init(Cipher.ENCRYPT_MODE, key);
84 ci.init(Cipher.DECRYPT_MODE, key);
/openjdk7/jdk/test/com/sun/crypto/provider/Mac/
H A DHmacPBESHA1.java43 private SecretKey key = null; field in class:HmacPBESHA1
52 if (key == null) {
56 key = kf.generateSecret(keySpec);
61 mac.init(key);
/openjdk7/jdk/test/com/sun/jdi/
H A DHomeTest.java66 private static String getValue(Map arguments, String key) { argument
67 Connector.Argument x = (Connector.StringArgument) arguments.get(key);
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DContext.java45 public <T> T get(Class<T> key) { argument
46 return (T) map.get(key);
50 public <T> T put(Class<T> key, T value) { argument
51 return (T) map.put(key, value);
H A DMessages.java39 String getMessage(String key, Object... args); argument
41 String getMessage(Locale locale, String key, Object... args); argument
/openjdk7/jdk/src/share/classes/sun/util/resources/
H A DTimeZoneNamesBundle.java52 * <li>Inserts the time zone ID (the key of the bundle entries) into
64 * <li>The time zone ID (same as the key, not localized).
74 public Object handleGetObject(String key) { argument
75 String[] contents = (String[]) super.handleGetObject(key);
82 tmpobj[0] = key;
97 * Provides key/value mappings for a specific
101 * <li>The key, which must be a string.
/openjdk7/jdk/test/java/util/AbstractMap/
H A DAbstractMapClone.java43 public Object put(Object key, Object value) { argument
44 return map.put(key, value);
/openjdk7/jdk/test/java/util/HashMap/
H A DOverrideIsEmpty.java45 public V get(Object key) { argument
46 if (key == alwaysExistingKey) {
49 return super.get(key);
65 Object key = new Object();
67 map.get(key);
68 map.remove(key);
69 map.replace(key, value, null);
70 map.replace(key, value);
71 map.computeIfPresent(key, new BiFunction<Object, Object, Object>() {
72 public Object apply(Object key, Objec
[all...]
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DXMLResourceBundleTest.java103 protected Object handleGetObject(String key) { argument
104 if (key == null) {
107 return props.get(key);
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DTestCipherMode.java58 private SecretKey key = null; field in class:TestCipherMode
63 key = new SecretKeySpec(new byte[8], ALGO);
67 c.init(mode, key);
74 c.wrap(key);
/openjdk7/jdk/test/javax/crypto/SecretKeyFactory/
H A DP1SecretKeyFactory.java49 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) argument
55 protected SecretKey engineTranslateKey(SecretKey key) argument
H A DP2SecretKeyFactory.java49 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) argument
55 protected SecretKey engineTranslateKey(SecretKey key) argument
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DJvmstatCountersTest.java57 String key, String expectedValue) throws Exception {
58 String counter = "sun.management.JMXConnectorServer." + index + "." + key;
64 if (key.equals("remoteAddress")) {
117 for (String key : remoteData.keySet()) {
118 if (!key.startsWith("sun.management.JMXConnectorServer.0.")) {
163 for (String key : remoteData2.keySet()) {
164 if (!key.startsWith("sun.management.JMXConnectorServer.0.")) {
56 checkKey(Map<String, String> data, int index, String key, String expectedValue) argument
/openjdk7/jdk/src/share/classes/sun/net/
H A DNetProperties.java82 * @param key the property name.
89 static public String get(String key) { argument
90 String def = props.getProperty(key);
92 return System.getProperty(key, def);
103 * @param key the property name.
111 static public Integer getInteger(String key, int defval) { argument
115 val = System.getProperty(key, props.getProperty(key));
133 * @param key the property name.
140 static public Boolean getBoolean(String key) { argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/
H A DDatatypeException.java46 protected String key; field in class:DatatypeException
53 * @param key error code
56 public DatatypeException(String key, Object[] args) { argument
57 super(key);
58 this.key = key;
68 return key;
91 throw new MissingResourceException("Property file not found!", "com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", key);
93 String msg = resourceBundle.getString(key);
96 throw new MissingResourceException(msg, "com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages", key);
[all...]
H A DInvalidDatatypeFacetException.java41 * @param key error code
44 public InvalidDatatypeFacetException(String key, Object[] args) { argument
45 super(key, args);
H A DInvalidDatatypeValueException.java81 * @param key error code
84 public InvalidDatatypeValueException(String key, Object[] args) { argument
85 super(key, args);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/
H A DXPathException.java39 // hold the value of the key this Exception refers to.
51 /** Constructs an exception with the specified key. */
52 public XPathException(String key) { argument
54 fKey = key;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaException.java36 String key; field in class:XMLSchemaException
40 public XMLSchemaException(String key, Object[] args) { argument
41 this.key = key;
46 return key;
H A DXSMessageFormatter.java55 * @param key The message key.
63 * specified key cannot be found.
65 public String formatMessage(Locale locale, String key, Object[] arguments) argument
78 String msg = fResourceBundle.getString(key);
84 msg += " " + fResourceBundle.getString(key);
90 throw new MissingResourceException(msg, "com.sun.org.apache.xerces.internal.impl.msg.SchemaMessages", key);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DJAXPValidationMessageFormatter.java41 * @param key The message key.
49 * specified key cannot be found.
52 String key, Object[] arguments)
68 msg = resourceBundle.getString(key);
75 msg += " " + resourceBundle.getString(key);
83 throw new MissingResourceException(key, msg, key);
88 msg = key;
51 formatMessage(Locale locale, String key, Object[] arguments) argument

Completed in 60 milliseconds

1234567891011>>