Searched defs:hash (Results 1 - 11 of 11) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/
H A DSSHA.java75 * Compute a salted SHA hash.
79 * @return Byte array of length 20 bytes containing hash result.
91 byte[] hash = null;
107 hash = md.digest(buff);
112 md.update(hash);
113 hash = md.digest();
117 assert (hash.length == 20); // SHA output is 20 bytes
120 assert (hash.length == 32); //SHA-256 output is 32 bytes
122 return hash;
127 * Compute a salted SHA hash
157 encode(byte[] salt, byte[] hash, String algo) argument
272 verify(byte[] salt, byte[] hash, byte[] password, String algo) argument
[all...]
H A DFileRealmHelper.java73 * <li>password - A salted SHA hash (SSHA) of the user password or "RESET"
738 byte[] hash = new byte[resultLength];
739 byte[] salt = SSHA.decode(pwdInfo, hash, algo);
741 ud.setHash(hash);
795 * really stored so a salt is generated, hash computed, and these two
822 byte[] hash = SSHA.compute(salt, pwdBytes, algo);
823 user.setHash(hash);
834 private byte[] hash; field in class:FileRealmHelper.User
853 * @param hash SSHA password hash
856 User(String name, String[] groups, String realm, byte[] salt, byte[] hash, String algo) argument
898 setHash(byte[] hash) argument
[all...]
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DWeakHashSet.java164 private int hash; /* Hashcode of key, stored here since the key field in class:WeakHashSet.WeakElement
170 hash = o.hashCode();
176 hash = o.hashCode();
208 return hash;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ssl/
H A DJarSigner.java106 * @return the hash.
108 private String hash(String content) { method in class:JarSigner
118 * @return resulting hash
120 private String hash(JarFile jf, JarEntry je) throws IOException { method in class:JarSigner
167 me.append(digestAlgorithm).append("-Digest: ").append(hash(jf, je)).append("\r\n");
173 sigFileEntries.append(digestAlgorithm).append("-Digest: ").append(hash(me.toString())).append("\r\n\r\n");
179 StringBuilder sigFile = new StringBuilder("Signature-Version: 1.0\r\n").append(digestAlgorithm).append("-Digest-Manifest-Main-Attributes: ").append(hash(manifestHeader.toString())).append("\r\n").append("Created-By: ").append(System.getProperty("java.version")).append(" (").append(System.getProperty("java.vendor")).append(")\r\n");
182 sigFile.append(digestAlgorithm).append("-Digest-Manifest: ").append(hash(manifestHeader.toString())).append("\r\n\r\n");
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DSubCoordinator.java112 int hash = 0; field in class:SubCoordinator
152 // Cache the hash code.
154 hash = superInfo.globalTID.hashCode();
230 // Cache the hash code.
232 hash = superInfo.globalTID.hashCode();
641 * Returns a hash value based on the transaction associated with the target
646 * @return The hash value for the transaction.
652 int result = hash;
664 * Returns a hash value based on the top-level ancestor of the transaction
669 * @return The hash valu
[all...]
H A DTopCoordinator.java137 int hash = 0; field in class:TopCoordinator
208 // Cache the hash value of the Coordinator.
210 hash = superInfo.globalTID.hashCode();
305 // Cache the hash value of the Coordinator.
307 hash = superInfo.globalTID.hashCode();
486 // Cache the hash value of the Coordinator.
488 hash = superInfo.globalTID.hashCode();
570 // Cache the hash value of the Coordinator.
572 hash = superInfo.globalTID.hashCode();
1107 * Returns a hash valu
[all...]
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Dzip_util.h156 * In-memory hash table cell.
160 * but merely remember a 32 bit hash.
164 unsigned int hash; /* 32 bit hashcode on name */ member in struct:jzcell
166 unsigned short next; /* hash chain: index into jzfile->entries */
184 jzcell *entries; /* array of hash cells */
187 jint tablelen; /* number of hash eads */
210 * Index representing end of hash chain
H A Dzip_util.c218 * Returns a hash code value for the specified string.
221 hash(const char *s) function
364 /* Allocate hash table */
444 * Record the LOC offset and the name hash in our hash cell.
448 zc->hash = hash(name);
469 * Finally we can add the entry to the hash table
471 hsh = zc->hash % tablelen;
621 * Read a LOC corresponding to a given hash cel
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DBaseCache.java120 // cache entries hash table
252 * Returns a hash code for non-null Object x.
255 protected int hash(Object x) { method in class:BaseCache
368 return getIndex(hash(key));
377 int hashCode = hash(key);
383 * get the item stored at the given pre-computed hash code and the key.
436 int hashCode = hash(key);
520 int hashCode = hash(key);
533 int hashCode = hash(key);
544 int hashCode = hash(ke
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java109 // cache entries hash table
199 * Returns a hash code for non-null Object x.
202 protected int hash(Object x) { method in class:BaseCache
315 return getIndex(hash(key));
324 int hashCode = hash(key);
330 * get the item stored at the given pre-computed hash code and the key.
381 int hashCode = hash(key);
466 int hashCode = hash(key);
479 int hashCode = hash(key);
490 int hashCode = hash(ke
[all...]
/glassfish-3.1.2/tests/jbi/lib/
H A Dreporter.jar ... boolean inTestcaseID boolean gotStatus static java.util.Hashtable hash static java.util.Vector[] fileDiffs String key String ...

Completed in 140 milliseconds