Searched defs:passwordBytes (Results 1 - 23 of 23) sorted by relevance

/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/
H A DPBKDF2PasswordStorageScheme.java533 * @param passwordBytes The bytes that make up the clear-text password.
540 public static String encodeOffline(byte[] passwordBytes) argument
552 passwordBytes.toString().toCharArray(), saltBytes,
H A DSaltedSHA1PasswordStorageScheme.java516 * @param passwordBytes The bytes that make up the clear-text password.
523 public static String encodeOffline(byte[] passwordBytes) argument
529 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
530 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
531 passwordBytes.length);
532 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java520 * @param passwordBytes The bytes that make up the clear-text password.
527 public static String encodeOffline(byte[] passwordBytes) argument
533 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
534 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
535 passwordBytes.length);
536 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
/forgerock/opendj2/src/server/org/opends/server/extensions/
H A DSaltedSHA1PasswordStorageScheme.java538 * @param passwordBytes The bytes that make up the clear-text password.
545 public static String encodeOffline(byte[] passwordBytes) argument
551 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
552 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
553 passwordBytes.length);
554 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java542 * @param passwordBytes The bytes that make up the clear-text password.
549 public static String encodeOffline(byte[] passwordBytes) argument
555 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
556 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
557 passwordBytes.length);
558 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DPBKDF2PasswordStorageScheme.java320 * @param passwordBytes The bytes that make up the clear-text password.
325 public static String encodeOffline(byte[] passwordBytes) argument
331 final ByteString password = ByteString.wrap(passwordBytes);
H A DPKCS5S2PasswordStorageScheme.java285 * @param passwordBytes The bytes that make up the clear-text password.
290 public static String encodeOffline(byte[] passwordBytes) argument
294 byte[] digestBytes = encodeWithRandomSalt(ByteString.wrap(passwordBytes), saltBytes);
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/
H A DPBKDF2PasswordStorageScheme.java533 * @param passwordBytes The bytes that make up the clear-text password.
540 public static String encodeOffline(byte[] passwordBytes) argument
552 passwordBytes.toString().toCharArray(), saltBytes,
H A DSaltedSHA1PasswordStorageScheme.java516 * @param passwordBytes The bytes that make up the clear-text password.
523 public static String encodeOffline(byte[] passwordBytes) argument
529 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
530 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
531 passwordBytes.length);
532 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java520 * @param passwordBytes The bytes that make up the clear-text password.
527 public static String encodeOffline(byte[] passwordBytes) argument
533 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
534 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
535 passwordBytes.length);
536 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DPBKDF2PasswordStorageScheme.java533 * @param passwordBytes The bytes that make up the clear-text password.
540 public static String encodeOffline(byte[] passwordBytes) argument
552 passwordBytes.toString().toCharArray(), saltBytes,
H A DSaltedSHA1PasswordStorageScheme.java516 * @param passwordBytes The bytes that make up the clear-text password.
523 public static String encodeOffline(byte[] passwordBytes) argument
529 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
530 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
531 passwordBytes.length);
532 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java520 * @param passwordBytes The bytes that make up the clear-text password.
527 public static String encodeOffline(byte[] passwordBytes) argument
533 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
534 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
535 passwordBytes.length);
536 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
/forgerock/opendj2-hg/src/server/org/opends/server/extensions/
H A DSaltedSHA1PasswordStorageScheme.java538 * @param passwordBytes The bytes that make up the clear-text password.
545 public static String encodeOffline(byte[] passwordBytes) argument
551 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
552 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
553 passwordBytes.length);
554 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java542 * @param passwordBytes The bytes that make up the clear-text password.
549 public static String encodeOffline(byte[] passwordBytes) argument
555 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
556 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
557 passwordBytes.length);
558 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DPBKDF2PasswordStorageScheme.java320 * @param passwordBytes The bytes that make up the clear-text password.
325 public static String encodeOffline(byte[] passwordBytes) argument
331 final ByteString password = ByteString.wrap(passwordBytes);
H A DPKCS5S2PasswordStorageScheme.java285 * @param passwordBytes The bytes that make up the clear-text password.
290 public static String encodeOffline(byte[] passwordBytes) argument
294 byte[] digestBytes = encodeWithRandomSalt(ByteString.wrap(passwordBytes), saltBytes);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DPKCS5S2PasswordStorageScheme.java255 * @param passwordBytes The bytes that make up the clear-text password.
259 public static String encodeOffline(byte[] passwordBytes) argument
263 byte[] digestBytes = encodeWithRandomSalt(ByteString.wrap(passwordBytes), saltBytes);
H A DSaltedSHA1PasswordStorageScheme.java482 * @param passwordBytes The bytes that make up the clear-text password.
489 public static String encodeOffline(byte[] passwordBytes) argument
495 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
496 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
497 passwordBytes.length);
498 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DSaltedSHA512PasswordStorageScheme.java489 * @param passwordBytes The bytes that make up the clear-text password.
496 public static String encodeOffline(byte[] passwordBytes) argument
502 byte[] passwordPlusSalt = new byte[passwordBytes.length + NUM_SALT_BYTES];
503 System.arraycopy(passwordBytes, 0, passwordPlusSalt, 0,
504 passwordBytes.length);
505 System.arraycopy(saltBytes, 0, passwordPlusSalt, passwordBytes.length,
H A DPBKDF2PasswordStorageScheme.java287 * @param passwordBytes The bytes that make up the clear-text password.
291 public static String encodeOffline(byte[] passwordBytes) argument
297 final ByteString password = ByteString.wrap(passwordBytes);
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/authnsvc/mechanism/
H A DCramMD5MechanismHandler.java265 byte[] passwordBytes = null;
267 passwordBytes = password.getBytes("UTF-8");
275 serverDigest = generateHMACMD5(passwordBytes, challengeBytes);
464 private static String generateHMACMD5(byte[] passwordBytes, argument
469 if(passwordBytes.length > BLOCK_LENGTH) {
470 passwordBytes = messagedigest.digest(passwordBytes);
475 for(int i = 0; i < passwordBytes.length; i++) {
477 abyte2[i] = (byte)(passwordBytes[i] ^ IPAD_BYTE);
478 abyte3[i] = (byte)(passwordBytes[
[all...]
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/authnsvc/mechanism/
H A DCramMD5MechanismHandler.java268 byte[] passwordBytes = null;
270 passwordBytes = password.getBytes("UTF-8");
278 serverDigest = generateHMACMD5(passwordBytes, challengeBytes);
467 private static String generateHMACMD5(byte[] passwordBytes, argument
472 if(passwordBytes.length > BLOCK_LENGTH) {
473 passwordBytes = messagedigest.digest(passwordBytes);
478 for(int i = 0; i < passwordBytes.length; i++) {
480 abyte2[i] = (byte)(passwordBytes[i] ^ IPAD_BYTE);
481 abyte3[i] = (byte)(passwordBytes[
[all...]

Completed in 1526 milliseconds