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

12345

/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/util/
H A DHash.java41 * The class <code>Hash</code> provides generic methods to hash data.
55 public static String hash(String string) { method in class:Hash
63 debug.warning("Hash.hash:", ex);
76 System.out.println(hash(args[0]));
80 System.out.println(hash(passwd.trim()));
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/util/
H A DHash.java41 * The class <code>Hash</code> provides generic methods to hash data.
55 public static String hash(String string) { method in class:Hash
63 debug.warning("Hash.hash:", ex);
76 System.out.println(hash(args[0]));
80 System.out.println(hash(passwd.trim()));
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DHash.java38 * The class <code>Hash</code> provides generic methods to hash data.
49 public static String hash(String string) { method in class:Hash
57 debug.warning("Hash.hash:", ex);
70 System.out.println(hash(args[0]));
74 System.out.println(hash(passwd.trim()));
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/
H A Dcrypto.js46 exports.hash = function (value, algorithm) {
51 return openidm.hash(value, algorithm);
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DHash.java38 * The class <code>Hash</code> provides generic methods to hash data.
49 public static String hash(String string) { method in class:Hash
57 debug.warning("Hash.hash:", ex);
70 System.out.println(hash(args[0]));
74 System.out.println(hash(passwd.trim()));
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/manifest/
H A DUtils.java46 * Run the hash with the pass in MessageDigest and InputStream
65 * Calculate and return the hash value with byte array.
69 * @return The hash value in byte array.
85 * @param hash The byte array of hash value.
86 * @return The string of the hash value in Hex.
89 public static String translateHashToString(byte[] hash){ argument
91 for (int i = 0; i < hash.length; i++) {
92 hashBuffer.append(Character.forDigit((hash[i] >> 4) & 0x0F, 16));
93 hashBuffer.append(Character.forDigit(hash[
[all...]
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/crypto/
H A DCryptoService.java84 JsonValue hash(JsonValue value, String algorithm) throws JsonException, JsonCryptoException; method in interface:CryptoService
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/manifest/
H A DUtils.java46 * Run the hash with the pass in MessageDigest and InputStream
65 * Calculate and return the hash value with byte array.
69 * @return The hash value in byte array.
85 * @param hash The byte array of hash value.
86 * @return The string of the hash value in Hex.
89 public static String translateHashToString(byte[] hash){ argument
91 for (int i = 0; i < hash.length; i++) {
92 hashBuffer.append(Character.forDigit((hash[i] >> 4) & 0x0F, 16));
93 hashBuffer.append(Character.forDigit(hash[
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthThreadManager.java131 debug.message("Setting hash... : " + currentThread);
154 debug.message("Timed ut hash has : " + timedOutHash);
169 * @param thread will be removed from the hash
175 thread + "from hash : " + hashName);
192 void removeHash(Hashtable hash,Thread thread) { argument
193 if ((hash == null) || hash.isEmpty()) {
197 hash.remove(thread);
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/tamper/
H A DTamperDetectionUtils.java72 byte[] hash = null;
75 hash = TamperDetectionUtils.getHash(alg, in);
83 checksumList.setProperty(filePath, translateHashToString(hash));
104 private static String translateHashToString(byte[] hash) { argument
106 for (int i = 0; i < hash.length; i++) {
107 hashBuffer.append(Character.forDigit((hash[i] >> 4) & 0x0F, 16));
108 hashBuffer.append(Character.forDigit(hash[i] & 0x0F, 16));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthThreadManager.java134 debug.message("Setting hash... : " + currentThread);
157 debug.message("Timed ut hash has : " + timedOutHash);
172 * @param thread will be removed from the hash
178 thread + "from hash : " + hashName);
195 void removeHash(Hashtable hash,Thread thread) { argument
196 if ((hash == null) || hash.isEmpty()) {
200 hash.remove(thread);
/forgerock/opendj-b2.6/src/server/org/opends/server/tasks/
H A DBackupTask.java129 private boolean hash; field in class:BackupTask
231 hash = TaskUtils.getBoolean(attrList, false);
319 // If the signHash option was provided, then make sure that the hash option
321 if (signHash && (! hash))
490 backupConfig.setHashData(hash);
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/
H A DBackUpDB.java140 private BooleanArgument hash = null; field in class:BackUpDB
261 hash = new BooleanArgument(
262 "hash", 'A', "hash",
264 argParser.addArgument(hash);
419 // If the signHash option was provided, then make sure that the hash option
421 if (signHash.isPresent() && (! hash.isPresent()))
425 hash.getLongIdentifier());
480 if (hash.getValue() != null &&
481 !hash
[all...]
/forgerock/opendj2/src/server/org/opends/server/tasks/
H A DBackupTask.java128 private boolean hash; field in class:BackupTask
230 hash = TaskUtils.getBoolean(attrList, false);
318 // If the signHash option was provided, then make sure that the hash option
320 if (signHash && (! hash))
489 backupConfig.setHashData(hash);
/forgerock/opendj2/src/server/org/opends/server/tools/
H A DBackUpDB.java142 private BooleanArgument hash = null; field in class:BackUpDB
246 hash = new BooleanArgument(
247 "hash", 'A', "hash",
249 argParser.addArgument(hash);
404 // If the signHash option was provided, then make sure that the hash option
406 if (signHash.isPresent() && (! hash.isPresent()))
410 hash.getLongIdentifier());
466 if (hash.getValue() != null &&
467 !hash
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/tasks/
H A DBackupTask.java129 private boolean hash; field in class:BackupTask
231 hash = TaskUtils.getBoolean(attrList, false);
319 // If the signHash option was provided, then make sure that the hash option
321 if (signHash && (! hash))
490 backupConfig.setHashData(hash);
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/
H A DBackUpDB.java140 private BooleanArgument hash = null; field in class:BackUpDB
261 hash = new BooleanArgument(
262 "hash", 'A', "hash",
264 argParser.addArgument(hash);
419 // If the signHash option was provided, then make sure that the hash option
421 if (signHash.isPresent() && (! hash.isPresent()))
425 hash.getLongIdentifier());
480 if (hash.getValue() != null &&
481 !hash
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tasks/
H A DBackupTask.java129 private boolean hash; field in class:BackupTask
231 hash = TaskUtils.getBoolean(attrList, false);
319 // If the signHash option was provided, then make sure that the hash option
321 if (signHash && (! hash))
490 backupConfig.setHashData(hash);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/
H A DBackUpDB.java140 private BooleanArgument hash = null; field in class:BackUpDB
261 hash = new BooleanArgument(
262 "hash", 'A', "hash",
264 argParser.addArgument(hash);
419 // If the signHash option was provided, then make sure that the hash option
421 if (signHash.isPresent() && (! hash.isPresent()))
425 hash.getLongIdentifier());
480 if (hash.getValue() != null &&
481 !hash
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/tasks/
H A DBackupTask.java128 private boolean hash; field in class:BackupTask
230 hash = TaskUtils.getBoolean(attrList, false);
318 // If the signHash option was provided, then make sure that the hash option
320 if (signHash && (! hash))
489 backupConfig.setHashData(hash);
/forgerock/opendj2-hg/src/server/org/opends/server/tools/
H A DBackUpDB.java142 private BooleanArgument hash = null; field in class:BackUpDB
246 hash = new BooleanArgument(
247 "hash", 'A', "hash",
249 argParser.addArgument(hash);
404 // If the signHash option was provided, then make sure that the hash option
406 if (signHash.isPresent() && (! hash.isPresent()))
410 hash.getLongIdentifier());
466 if (hash.getValue() != null &&
467 !hash
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tasks/
H A DBackupTask.java101 private boolean hash; field in class:BackupTask
176 hash = TaskUtils.getBoolean(attrList, false);
257 // If the signHash option was provided, then make sure that the hash option
259 if (signHash && !hash)
413 backupConfig.setHashData(hash);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/
H A DBackUpDB.java148 private BooleanArgument hash; field in class:BackUpDB
254 hash = new BooleanArgument(
255 "hash", 'A', "hash",
257 argParser.addArgument(hash);
370 // If the signHash option was provided, then make sure that the hash option
372 if (signHash.isPresent() && !hash.isPresent())
375 ERR_BACKUPDB_SIGN_REQUIRES_HASH.get(signHash.getLongIdentifier(), hash.getLongIdentifier()));
402 addIfHasValue(attributes, ATTR_TASK_BACKUP_HASH, hash);
812 backupConfig.setHashData(hash
[all...]
/forgerock/openidm-v4/openidm-crypto/src/main/java/org/forgerock/openidm/crypto/impl/
H A DCryptoServiceImpl.java298 public JsonValue hash(JsonValue value, String algorithm) throws JsonException, JsonCryptoException { method in class:CryptoServiceImpl
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/server/
H A DSMSAuthModule.java163 addUserToCache(name, Hash.hash(passwd));
229 String hash = (String) users.get(username);
242 if (hash != null && hash.equals(Hash.hash(password))) {
269 hash = (String) users.get(username);
270 if (hash != null && hash.equals(Hash.hash(password))) {
276 } else if (hash !
380 addUserToCache(String name, String hash) argument
[all...]

Completed in 971 milliseconds

12345