/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/keyvalues/ |
H A D | RSAKeyValue.java | 79 * @param key 82 public RSAKeyValue(Document doc, Key key) throws IllegalArgumentException { argument 88 if (key instanceof java.security.interfaces.RSAPublicKey ) { 89 this.addBigIntegerElement(((RSAPublicKey) key).getModulus(), 91 this.addBigIntegerElement(((RSAPublicKey) key).getPublicExponent(), 95 key.getClass().getName() };
|
/openjdk7/jdk/src/share/classes/com/sun/rowset/ |
H A D | JdbcRowSetResourceBundle.java | 144 * This method takes the key as an argument and 149 * according to the key passed. 151 public Object handleGetObject(String key) { argument 152 return propResBundle.handleGetObject(key);
|
/openjdk7/jdk/src/share/classes/com/sun/script/util/ |
H A D | BindingsBase.java | 47 public Object remove(Object key) { argument 48 checkKey(key); 49 return removeImpl((String)key); 52 public Object put(String key, Object value) { argument 53 checkKey(key); 54 return putImpl(key, value); 59 String key = entry.getKey(); 60 checkKey(key); 71 protected void checkKey(Object key) { argument 72 if (key [all...] |
/openjdk7/jdk/src/share/classes/java/applet/ |
H A D | AppletContext.java | 148 * Associates the specified stream with the specified key in this 150 * for this key, the old value is replaced. 156 * @param key key with which the specified value is to be associated. 157 * @param stream stream to be associated with the specified key. If this 158 * parameter is <code>null</code>, the specified key is removed 165 public void setStream(String key, InputStream stream)throws IOException; argument 168 * Returns the stream to which specified key is associated within this 170 * no stream for this key. 176 * @return the stream to which this applet context maps the key 180 getStream(String key) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/jdwpgen/ |
H A D | ConstantSetNode.java | 91 public static String getConstant(String key){ argument 92 String com = constantMap.get(key);
|
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/ |
H A D | Element.java | 55 public static String getAttr(final Node node, final String key) { argument 58 final Node name = attrs.getNamedItem(key);
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | DESKey.java | 34 * This class represents a DES key. 44 private byte[] key; field in class:DESKey 47 * Uses the first 8 bytes of the given key as the DES key. 49 * @param key the buffer with the DES key bytes. 52 * the key. 54 DESKey(byte[] key) throws InvalidKeyException { argument 55 this(key, 0); 59 * Uses the first 8 bytes in <code>key</cod 69 DESKey(byte[] key, int offset) argument [all...] |
H A D | DESedeKey.java | 34 * This class represents a DES-EDE key. 44 private byte[] key; field in class:DESedeKey 47 * Creates a DES-EDE key from a given key. 49 * @param key the given key 51 * @exception InvalidKeyException if the given key has a wrong size 53 DESedeKey(byte[] key) throws InvalidKeyException { argument 54 this(key, 0); 58 * Uses the first 24 bytes in <code>key</cod 67 DESedeKey(byte[] key, int offset) argument [all...] |
H A D | DHKeyAgreement.java | 47 * This class implements the Diffie-Hellman key agreement protocol between 70 * Initializes this key agreement with the given key and source of 71 * randomness. The given key is required to contain all the algorithm 72 * parameters required for this key agreement. 74 * <p> If the key agreement algorithm requires random bytes, it gets them 80 * @param key the party's private information. For example, in the case 81 * of the Diffie-Hellman key agreement, this would be the party's own 82 * Diffie-Hellman private key. 85 * @exception InvalidKeyException if the given key i 89 engineInit(Key key, SecureRandom random) argument 115 engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument 180 engineDoPhase(Key key, boolean lastPhase) argument [all...] |
H A D | HmacMD5.java | 63 * Initializes the HMAC with the given secret key and algorithm parameters. 65 * @param key the secret key. 68 * @exception InvalidKeyException if the given key is inappropriate for 73 protected void engineInit(Key key, AlgorithmParameterSpec params) argument 75 hmac.init(key, params); 105 * maintaining the secret key that the HMAC was initialized with. 114 * Resets the HMAC for further use, maintaining the secret key that the
|
H A D | HmacPKCS12PBESHA1.java | 67 * Initializes the HMAC with the given secret key and algorithm parameters. 69 * @param key the secret key. 72 * @exception InvalidKeyException if the given key is inappropriate for 77 protected void engineInit(Key key, AlgorithmParameterSpec params) argument 82 if (key instanceof javax.crypto.interfaces.PBEKey) { 84 (javax.crypto.interfaces.PBEKey) key; 88 } else if (key instanceof SecretKey) { 89 byte[] passwdBytes = key.getEncoded(); 91 !(key [all...] |
H A D | HmacSHA1.java | 63 * Initializes the HMAC with the given secret key and algorithm parameters. 65 * @param key the secret key. 68 * @exception InvalidKeyException if the given key is inappropriate for 73 protected void engineInit(Key key, AlgorithmParameterSpec params) argument 75 hmac.init(key, params); 105 * maintaining the secret key that the HMAC was initialized with. 114 * Resets the HMAC for further use, maintaining the secret key that the
|
H A D | PBEKey.java | 35 * This class represents a PBE key. 44 private byte[] key; field in class:PBEKey 49 * Creates a PBE key from a given PBE key specification. 51 * @param key the given PBE key specification 67 this.key = new byte[passwd.length]; 69 this.key[i] = (byte) (passwd[i] & 0x7f); 75 return (byte[])this.key.clone(); 92 for (int i = 1; i < this.key [all...] |
H A D | PBEKeyFactory.java | 38 * This class implements a key factory for PBE keys according to PKCS#5, 100 * Generates a <code>SecretKey</code> object from the provided key 101 * specification (key material). 103 * @param keySpec the specification (key material) of the secret key 105 * @return the secret key 107 * @exception InvalidKeySpecException if the given key specification 108 * is inappropriate for this key factory to produce a public key. 114 throw new InvalidKeySpecException("Invalid key spe 135 engineGetKeySpec(SecretKey key, Class keySpecCl) argument 175 engineTranslateKey(SecretKey key) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/ |
H A D | EditDistance.java | 55 * <code>key</code> and returns it. 59 public static String findNearest( String key, String[] group ) { argument 60 return findNearest(key, Arrays.asList(group)); 65 * <code>key</code> and returns it. 69 public static String findNearest( String key, Collection<String> group ) { argument 74 int ed = editDistance(key,s);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/util/ |
H A D | Localizer.java | 73 private String getString(String key) { argument 75 return getBundle().getString(key); 79 return parent.getString(key); 85 public String message(String key) { argument 86 return MessageFormat.format(getString(key), new Object[]{}); 89 public String message(String key, Object arg) { argument 90 return MessageFormat.format(getString(key), 94 public String message(String key, Object arg1, Object arg2) { argument 95 return MessageFormat.format(getString(key), new Object[]{ 99 public String message(String key, Objec argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ |
H A D | ResponseContext.java | 69 @SuppressWarnings({"SuspiciousMethodCalls"}) // IDE doesn't like me calling Map methods with key typed as Object 86 public boolean containsKey(Object key) { argument 87 if(packet.supports(key)) 88 return packet.containsKey(key); // strongly typed 90 if(packet.invocationProperties.containsKey(key)) 92 return !packet.getHandlerScopePropertyNames(true).contains(key); 97 public Object get(Object key) { argument 98 if(packet.supports(key)) 99 return packet.get(key); // strongly typed 101 if(packet.getHandlerScopePropertyNames(true).contains(key)) 120 put(String key, Object value) argument 125 remove(Object key) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/ |
H A D | Headers.java | 39 * the value associated with each key is a {@link List}<{@link String}> with one 55 * for the given key</li> 62 * as either a null entry for the key (i.e. the list is null) or where the key 64 * output as a header line containing the key but no associated value. 90 * Adds the given value to the list of headers for the given key. If the 93 * @param key the header name 96 public void add (String key, String value) { argument 97 List<String> list = this.get(key); 100 put(key,lis 112 getFirst(String key) argument 124 set(String key, String value) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/ |
H A D | LocalizableMessage.java | 37 public LocalizableMessage(String bundlename, String key, Object... args) { argument 39 _key = key;
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | GDIHashtable.cpp | 37 void* GDIHashtable::put(void* key, void* value) { argument 39 return Hashtable::put(key, value); 42 void GDIHashtable::release(void* key) { argument 44 void* value = remove(key);
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | DesAPITest.java | 43 public static byte[] key = { field in class:DesAPITest 108 desKeySpec = new DESKeySpec(key); 112 // retrieve the cipher key
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test8013416.java | 82 public void put(K key, V value) { argument 83 this.map.put(key, value);
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | ChangingInterests.java | 70 * Changes the given key's interest set from one set to another and then 71 * checks the selected key set and the key's channel. 73 static void testChange(SelectionKey key, int from, int to) throws IOException { argument 74 Selector sel = key.selector(); 78 key.interestOps(from); 83 key.interestOps(to); 93 assertTrue(k == key, "Unexpected key selected"); 98 System.out.println("key readabl [all...] |
/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | Basic.java | 44 static void checkKey(WatchKey key, Path dir) { argument 45 if (!key.isValid()) 47 if (key.watchable() != dir) 53 WatchKey key; 55 key = watcher.take(); 60 if (key != expected) 61 throw new RuntimeException("removed unexpected key"); 100 // remove key and check that we got the ENTRY_CREATE event 105 System.out.println("reset key"); 107 throw new RuntimeException("key ha [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/ |
H A D | Keywords.java | 67 key = new Token[maxKey+1]; 68 for (int i = 0; i <= maxKey; i++) key[i] = IDENTIFIER; 71 key[tokenName[t.ordinal()].getIndex()] = t; 76 public Token key(Name name) { method in class:Keywords 77 return (name.getIndex() > maxKey) ? IDENTIFIER : key[name.getIndex()]; 83 private final Token[] key; field in class:Keywords
|