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

/openjdk9/jdk/test/javax/crypto/SealedObject/
H A DNullKeySealedObject.java41 SecretKey cipherKey = new SecretKeySpec(new byte[8], "DES");
44 c.init(Cipher.ENCRYPT_MODE, cipherKey);
/openjdk9/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...]
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DDESedeWrapCipher.java69 private Key cipherKey = null; field in class:DESedeWrapCipher
246 cipherKey = key;
390 String algo = cipherKey.getAlgorithm();
468 cipher.init(false, cipherKey.getAlgorithm(),
469 cipherKey.getEncoded(), IV2);
479 cipher.init(decrypting, cipherKey.getAlgorithm(),
480 cipherKey.getEncoded(), iv);
527 cipher.init(true, cipherKey.getAlgorithm(), cipherKey.getEncoded(),
541 cipher.init(decrypting, cipherKey
[all...]
H A DHmacPKCS12PBESHA1.java132 SecretKey cipherKey = new SecretKeySpec(derivedKey, "HmacSHA1");
133 super.engineInit(cipherKey, null);
H A DPBMAC1Core.java184 SecretKey cipherKey = new SecretKeySpec(derivedKey, kdfAlgo);
186 super.engineInit(cipherKey, null);
H A DPBES2Core.java257 SecretKeySpec cipherKey = null;
284 cipherKey = new SecretKeySpec(derivedKey, cipherAlgo);
287 cipher.init(opmode, cipherKey, ivSpec, random);
H A DPBECipherCore.java246 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0,
253 cipher.init(opmode, cipherKey, ivSpec, random);
H A DPBES1Core.java246 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0,
253 cipher.init(opmode, cipherKey, ivSpec, random);
H A DPKCS12PBECipherCore.java340 SecretKey cipherKey = new SecretKeySpec(derivedKey, algo);
343 ((ARCFOURCipher)cipherImpl).engineInit(opmode, cipherKey, random);
351 cipher.init(opmode, cipherKey, ivSpec, random);
/openjdk9/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);
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DDesAPITest.java40 SecretKey cipherKey = null; field in class:DesAPITest
109 cipherKey = factory.generateSecret(desKeySpec);
125 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
H A DPaddingTest.java42 SecretKey cipherKey = null; field in class:PaddingTest
131 cipherKey = factory.generateSecret(desKeySpec);
152 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
171 cipher.init(Cipher.DECRYPT_MODE, cipherKey, params);
H A DPerformanceTest.java41 SecretKey cipherKey = null; field in class:PerformanceTest
163 cipherKey = factory.generateSecret(desKeySpec);
175 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
/openjdk9/jdk/src/java.security.jgss/share/classes/sun/security/jgss/krb5/
H A DKrb5Context.java368 EncryptionKey cipherKey = null;
370 cipherKey = (getKey() == null) ? ckey: getKey();
371 cipherHelper = new CipherHelper(cipherKey);

Completed in 159 milliseconds