Searched refs:protectedKey (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DKeyProtector.java268 byte[] protectedKey = encrInfo.getEncryptedData();
272 * <code>protectedKey</code>)
275 System.arraycopy(protectedKey, 0, salt, 0, SALT_LEN);
278 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
284 System.arraycopy(protectedKey, SALT_LEN, encrKey, 0, encrKeyLen);
317 * of <code>protectedKey</code>. If the two digest values are
327 if (digest[i] != protectedKey[SALT_LEN + encrKeyLen + i]) {
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DKeyProtector.java213 private byte[] recover(byte[] protectedKey) argument
225 // <code>protectedKey</code>)
227 System.arraycopy(protectedKey, 0, salt, 0, SALT_LEN);
230 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
237 System.arraycopy(protectedKey, SALT_LEN, encrKey, 0, encrKeyLen);
276 // of <code>protectedKey</code>. If the two digest values are
285 if (digest[i] != protectedKey[SALT_LEN + encrKeyLen + i]) {
H A DJceKeyStore.java70 byte[] protectedKey; field in class:JceKeyStore.PrivateKeyEntry
122 byte[] encrBytes = ((PrivateKeyEntry)entry).protectedKey;
260 entry.protectedKey = keyProtector.protect((PrivateKey)key);
319 entry.protectedKey = (byte[])key.clone();
583 dos.writeInt(pentry.protectedKey.length);
584 dos.write(pentry.protectedKey);
740 entry.protectedKey = new byte[dis.readInt()];
744 dis.readFully(entry.protectedKey);

Completed in 399 milliseconds