Searched refs:passwdChars (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DHmacPKCS12PBESHA1.java79 char[] passwdChars;
85 passwdChars = pbeKey.getPassword();
94 passwdChars = new char[passwdBytes.length];
95 for (int i=0; i<passwdChars.length; i++) {
96 passwdChars[i] = (char) (passwdBytes[i] & 0x7f);
142 byte[] derivedKey = PKCS12PBECipherCore.derive(passwdChars, salt,
H A DPBEKeyFactory.java145 char[] passwdChars = new char[passwdBytes.length];
146 for (int i=0; i<passwdChars.length; i++)
147 passwdChars[i] = (char) (passwdBytes[i] & 0x7f);
148 PBEKeySpec ret = new PBEKeySpec(passwdChars);
151 java.util.Arrays.fill(passwdChars, ' ');
H A DPKCS12PBECipherCore.java232 char[] passwdChars = null;
238 passwdChars = pbeKey.getPassword();
247 passwdChars = new char[passwdBytes.length];
248 for (int i=0; i<passwdChars.length; i++) {
249 passwdChars[i] = (char) (passwdBytes[i] & 0x7f);
309 byte[] derivedKey = derive(passwdChars, salt, iCount,
312 byte[] derivedIv = derive(passwdChars, salt, iCount, 8,
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DDes.java234 public static long char_to_key(char[] passwdChars) throws KrbCryptoException { argument
242 cbytes = (new String(passwdChars)).getBytes();
244 cbytes = (new String(passwdChars)).getBytes(CHARSET);
364 public static byte[] string_to_key_bytes(char[] passwdChars) argument
366 return long2octet(char_to_key(passwdChars));

Completed in 295 milliseconds