Searched defs:protectedKey (Results 1 - 2 of 2) sorted by relevance

/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 32 milliseconds