Searched refs:cipherKey (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/test/javax/crypto/SealedObject/
H A DNullKeySealedObject.java41 SecretKey cipherKey = new SecretKeySpec(new byte[8], "DES");
44 c.init(Cipher.ENCRYPT_MODE, cipherKey);
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpec.java117 SecretKey cipherKey = skf.generateSecret(pbeKeySpec);
119 cipher.init(Cipher.DECRYPT_MODE, cipherKey, GOOD_PARAMS);
129 pkcs8Spec = epki.getKeySpec(cipherKey);
138 pkcs8Spec = epki.getKeySpec(cipherKey, p.getName());
147 pkcs8Spec = epki.getKeySpec(cipherKey, p);
H A DGetKeySpecInvalidEncoding.java116 SecretKey cipherKey = skf.generateSecret(pbeKeySpec);
118 cipher.init(Cipher.DECRYPT_MODE, cipherKey, GOOD_PARAMS);
128 pkcs8Spec = epki.getKeySpec(cipherKey);
137 pkcs8Spec = epki.getKeySpec(cipherKey, p.getName());
146 pkcs8Spec = epki.getKeySpec(cipherKey, p);
H A DGetKeySpecException.java42 private static SecretKey cipherKey; field in class:GetKeySpecException
65 cipherKey = skf.generateSecret(keySpec);
150 pkcs8Spec = epkiBad.getKeySpec(cipherKey);
158 pkcs8Spec = epki.getKeySpec(cipherKey);
173 pkcs8Spec = epki.getKeySpec(cipherKey, (String)null);
185 pkcs8Spec = epkiBad.getKeySpec(cipherKey, "SunJCE");
191 pkcs8Spec = epki.getKeySpec(cipherKey, "SUN");
199 pkcs8Spec = epki.getKeySpec(cipherKey, "SunJCE");
214 pkcs8Spec = epki.getKeySpec(cipherKey, (Provider)null);
226 pkcs8Spec = epkiBad.getKeySpec(cipherKey, sunjc
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESedeWrapCipher.java67 private Key cipherKey = null; field in class:DESedeWrapCipher
246 cipherKey = key;
392 String algo = cipherKey.getAlgorithm();
473 cipher.init(false, cipherKey.getAlgorithm(),
474 cipherKey.getEncoded(), IV2);
483 cipher.init(decrypting, cipherKey.getAlgorithm(),
484 cipherKey.getEncoded(), iv);
531 cipher.init(true, cipherKey.getAlgorithm(), cipherKey.getEncoded(),
544 cipher.init(decrypting, cipherKey
[all...]
H A DHmacPKCS12PBESHA1.java144 SecretKey cipherKey = new SecretKeySpec(derivedKey, "HmacSHA1");
145 hmac.init(cipherKey, null);
H A DPBECipherCore.java251 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0,
258 cipher.init(opmode, cipherKey, ivSpec, random);
H A DPKCS12PBECipherCore.java311 SecretKey cipherKey = new SecretKeySpec(derivedKey, algo);
317 cipher.init(opmode, cipherKey, ivSpec, random);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DNISTWrapKAT.java77 SecretKey cipherKey = new SecretKeySpec(keyVal, "AES");
78 c.init(Cipher.WRAP_MODE, cipherKey);
93 c.init(Cipher.UNWRAP_MODE, cipherKey);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DDesAPITest.java41 SecretKey cipherKey = null; field in class:DesAPITest
113 cipherKey = factory.generateSecret(desKeySpec);
129 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
H A DPaddingTest.java41 SecretKey cipherKey = null; field in class:PaddingTest
135 cipherKey = factory.generateSecret(desKeySpec);
159 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
177 cipher.init(Cipher.DECRYPT_MODE, cipherKey, params);
H A DPerformanceTest.java45 SecretKey cipherKey = null; field in class:PerformanceTest
169 cipherKey = factory.generateSecret(desKeySpec);
181 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5Context.java354 EncryptionKey cipherKey = null;
356 cipherKey = (getKey() == null) ? ckey: getKey();
357 cipherHelper = new CipherHelper(cipherKey);

Completed in 51 milliseconds