/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | CertificateX509Key.java | 48 public static final String IDENT = "x509.info.key"; 52 public static final String NAME = "key"; 56 private PublicKey key; field in class:CertificateX509Key 61 * @param key the X509Key 63 public CertificateX509Key(PublicKey key) { argument 64 this.key = key; 75 key = X509Key.parse(val); 86 key = X509Key.parse(val); 90 * Return the key a [all...] |
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4396021.java | 44 private static void checkValue(String key, String expected) throws Exception { argument 45 String result = bundle.getString(key); 48 + " - key: " + key + ", expected: " + expected
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | XMLErrorCode.java | 25 * a domain and a message key.</p> 39 /** message key **/ 43 * <p>Constructs an XMLErrorCode with the given domain and key.</p> 46 * @param key The key of the error message. 48 public XMLErrorCode(String domain, String key) { argument 50 fKey = key; 57 * @param key The key of the error message. 59 public void setValues(String domain, String key) { argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/ |
H A D | LazyType.java | 32 private Object key; field in class:LazyType 35 public LazyType(Object key) { argument 36 this(key, 0); 39 private LazyType(Object key, int cvAttributes) { argument 42 Assert.that(key != null, "key must not be null"); 44 this.key = key; 49 public Object getKey() { return key; } 65 return new LazyType(key, cvAttribute [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/util/ |
H A D | CacheMap.java | 67 public V put(K key, V value) { argument 68 cache(key); 69 return super.put(key, value); 72 public V get(Object key) { argument 73 cache(Util.<K>cast(key)); 74 return super.get(key); 85 private void cache(K key) { argument 92 else if (key.equals(key1)) { 107 cache.add(0, new SoftReference<K>(key)); 112 is the most-recently referenced key [all...] |
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | DESKeyGenerator.java | 38 * This class generates a DES key. 55 * Initializes this key generator. 64 * Initializes this key generator with the specified parameter 67 * @param params the key generation parameters 68 * @param random the source of randomness for this key generator 71 * inappropriate for this key generator 77 ("DES key generation does not take any parameters"); 81 * Initializes this key generator for a certain keysize, using the given 86 * @param random the source of randomness for this key generator 97 * Generates the DES key 137 setParityBit(byte[] key, int offset) argument [all...] |
H A D | PBKDF2HmacSHA1Factory.java | 38 * This class implements a key factory for PBE keys derived using 54 * Generates a <code>SecretKey</code> object from the provided key 55 * specification (key material). 57 * @param keySpec the specification (key material) of the secret key 59 * @return the secret key 61 * @exception InvalidKeySpecException if the given key specification 62 * is inappropriate for this key factory to produce a public key. 68 throw new InvalidKeySpecException("Invalid key spe 91 engineGetKeySpec(SecretKey key, Class keySpecCl) argument 123 engineTranslateKey(SecretKey key) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/ |
H A D | Context.java | 45 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);
|
/openjdk7/langtools/test/tools/javac/generics/rawSeparate/ |
H A D | Hashtable.java | 26 public synchronized V put(K key, V value) { argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | AbstractLog.java | 80 * @param key The key for the localized error message. 83 public void error(String key, Object ... args) { argument 84 report(diags.error(source, null, key, args)); 90 * @param key The key for the localized error message. 93 public void error(DiagnosticPosition pos, String key, Object ... args) { argument 94 report(diags.error(source, pos, key, args)); 101 * @param key The key fo 104 error(DiagnosticFlag flag, DiagnosticPosition pos, String key, Object ... args) argument 116 error(int pos, String key, Object ... args) argument 127 error(DiagnosticFlag flag, int pos, String key, Object ... args) argument 139 warning(String key, Object ... args) argument 149 warning(LintCategory lc, String key, Object ... args) argument 159 warning(DiagnosticPosition pos, String key, Object ... args) argument 170 warning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) argument 180 warning(int pos, String key, Object ... args) argument 189 mandatoryWarning(DiagnosticPosition pos, String key, Object ... args) argument 199 mandatoryWarning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) argument 207 note(String key, Object ... args) argument 215 note(DiagnosticPosition pos, String key, Object ... args) argument 223 note(int pos, String key, Object ... args) argument 231 note(JavaFileObject file, String key, Object ... args) argument 239 mandatoryNote(final JavaFileObject file, String key, Object ... args) argument 245 directError(String key, Object... args) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ |
H A D | DistributedPropertySet.java | 111 public Object get(Object key) { argument 114 if(child.supports(key)) 115 return child.get(key); 119 return super.get(key); 123 public Object put(String key, Object value) { argument 126 if(child.supports(key)) 127 return child.put(key,value); 131 return super.put(key,value); 135 public boolean supports(Object key) { argument 138 if(child.supports(key)) 146 remove(Object key) argument [all...] |
/openjdk7/jdk/test/javax/crypto/CryptoPermission/ |
H A D | RC2PermCheck.java | 55 SecretKeySpec key = new SecretKeySpec(new byte[16], "RC2"); 64 c.init(Cipher.ENCRYPT_MODE, key); 67 c.init(Cipher.ENCRYPT_MODE, key, srand); 70 c.init(Cipher.ENCRYPT_MODE, key, 74 c.init(Cipher.ENCRYPT_MODE, key, 78 c.init(Cipher.ENCRYPT_MODE, key, 82 c.init(Cipher.ENCRYPT_MODE, key, 102 c.init(Cipher.ENCRYPT_MODE, key, paramSpec); 105 c.init(Cipher.ENCRYPT_MODE, key, paramSpec, srand); 108 c.init(Cipher.ENCRYPT_MODE, key, para [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | StringToStringTable.java | 85 * @param key String to add to the list 88 public final void put(String key, String value) argument 102 m_map[m_firstFree] = key; 114 * @param key String to look up 118 public final String get(String key) argument 123 if (m_map[i].equals(key)) 133 * @param key String to remove from the table 135 public final void remove(String key) argument 140 if (m_map[i].equals(key)) 157 * @param key Strin 161 getIgnoreCase(String key) argument 214 contains(String key) argument [all...] |
H A D | CharKey.java | 27 * hashtables. You can set the char, then use it as a key. 39 * @param key char value of this object. 41 public CharKey(char key) argument 43 m_char = key;
|
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | BasicMulticastTests.java | 40 * Tests that existing membership key is returned by join methods and that 41 * membership key methods return the expected results 58 // check existing key is returned 59 MembershipKey key = dc.join(group, nif); 61 if (other != key) { 62 throw new RuntimeException("existing key not returned"); 65 // check key 66 if (!key.isValid()) 67 throw new RuntimeException("key is not valid"); 68 if (!key [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | TemplateManager.java | 61 // constant for operation create ("importing" existing key material) 63 // constant for operation generate (generating new key material) 67 final TemplateKey key; field in class:TemplateManager.KeyAndTemplate 70 KeyAndTemplate(TemplateKey key, Template template) { argument 71 this.key = key; 95 TemplateKey key = new TemplateKey(op, objectClass, keyAlgorithm); 98 System.out.println("Adding " + key + " -> " + template); 100 primitiveTemplates.add(new KeyAndTemplate(key, template)); 103 private Template getTemplate(TemplateKey key) { argument 127 buildCompositeTemplate(TemplateKey key) argument 166 appliesTo(TemplateKey key) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/text/ |
H A D | IntHashtable.java | 36 * If a key is not found, the defaultValue is returned. 57 public void put(int key, int value) { argument 61 int index = find(key); 63 keyList[index] = key; 69 public int get(int key) { argument 70 return values[find(key)]; 73 public void remove(int key) { argument 74 int index = find(key); 102 int key = keyList[i]; 103 if (key > MAX_UNUSE 209 putInternal(int key, int value) argument 218 find(int key) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/ |
H A D | XPathException.java | 39 // 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/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CodeSetCache.java | 55 * the byte to char converter Map. A key is the Java 62 * the char to byte converter Map. A key is the Java 68 * Retrieve a CharsetDecoder from the Map using the given key. 70 CharsetDecoder getByteToCharConverter(Object key) { argument 73 return (CharsetDecoder)btcMap.get(key); 77 * Retrieve a CharsetEncoder from the Map using the given key. 79 CharsetEncoder getCharToByteConverter(Object key) { argument 82 return (CharsetEncoder)ctbMap.get(key); 89 CharsetDecoder setConverter(Object key, CharsetDecoder converter) { argument 92 btcMap.put(key, converte 101 setConverter(Object key, CharsetEncoder converter) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/xml/crypto/ |
H A D | KeySelector.java | 35 * A selector that finds and returns a key using the data contained in a 40 * <p>Whether or not the returned key is trusted and the mechanisms 50 * The purpose of the key that is to be selected. 67 * A key for signing. 71 * A key for verifying. 75 * A key for encrypting. 79 * A key for decrypting. 90 * Attempts to find a key that satisfies the specified constraints. 93 * @param purpose the key's purpose ({@link Purpose#SIGN}, 96 * @param method the algorithm method that this key i 127 singletonKeySelector(Key key) argument 132 private final Key key; field in class:KeySelector.SingletonKeySelector 134 SingletonKeySelector(Key key) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | AlgorithmConstraints.java | 32 * 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...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | NavigableMap.java | 44 * greater than or equal, and greater than a given key, returning 45 * {@code null} if there is no such key. Similarly, methods 51 * ascending or descending key order. The {@code descendingMap} 97 * Returns a key-value mapping associated with the greatest key 98 * strictly less than the given key, or {@code null} if there is 99 * no such key. 101 * @param key the key 102 * @return an entry with the greatest key les 109 lowerEntry(K key) argument 123 lowerKey(K key) argument 138 floorEntry(K key) argument 152 floorKey(K key) argument 167 ceilingEntry(K key) argument 181 ceilingKey(K key) argument 196 higherEntry(K key) argument 210 higherKey(K key) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | SecretKeyFactorySpi.java | 36 * 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/management/openmbean/ |
H A D | CompositeData.java | 56 * Returns the value of the item whose name is <tt>key</tt>. 58 * @param key the name of the item. 60 * @return the value associated with this key. 62 * @throws IllegalArgumentException if <tt>key</tt> is a null or empty String. 64 * @throws InvalidKeyException if <tt>key</tt> is not an existing item name for this <tt>CompositeData</tt> instance. 66 public Object get(String key) ; argument 83 * an item whose name is <tt>key</tt>. 84 * If <tt>key</tt> is a null or empty String, this method simply returns false. 86 * @param key the key t 90 containsKey(String key) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jdi/request/ |
H A D | EventRequest.java | 185 * Add an arbitrary key/value "property" to this request. 199 void putProperty(Object key, Object value); argument 202 * Returns the value of the property with the specified key. Only 209 Object getProperty(Object key); argument
|