Lines Matching refs:bytes
24 * @param password the password converted into bytes (see below).
106 byte[] bytes = new byte[password.length];
108 for (int i = 0; i != bytes.length; i++)
110 bytes[i] = (byte)password[i];
113 return bytes;
131 * PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
142 // +1 for extra 2 pad bytes.
143 byte[] bytes = new byte[(password.length + 1) * 2];
147 bytes[i * 2] = (byte)(password[i] >>> 8);
148 bytes[i * 2 + 1] = (byte)password[i];
151 return bytes;