/openjdk7/jdk/test/javax/crypto/SealedObject/ |
H A D | NullKeySealedObject.java | 41 SecretKey cipherKey = new SecretKeySpec(new byte[8], "DES"); 44 c.init(Cipher.ENCRYPT_MODE, cipherKey);
|
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/ |
H A D | GetKeySpec.java | 117 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 D | GetKeySpecInvalidEncoding.java | 116 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 D | GetKeySpecException.java | 42 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 D | DESedeWrapCipher.java | 67 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 D | HmacPKCS12PBESHA1.java | 144 SecretKey cipherKey = new SecretKeySpec(derivedKey, "HmacSHA1"); 145 hmac.init(cipherKey, null);
|
H A D | PBECipherCore.java | 251 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0, 258 cipher.init(opmode, cipherKey, ivSpec, random);
|
H A D | PKCS12PBECipherCore.java | 311 SecretKey cipherKey = new SecretKeySpec(derivedKey, algo); 317 cipher.init(opmode, cipherKey, ivSpec, random);
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/ |
H A D | NISTWrapKAT.java | 77 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 D | DesAPITest.java | 41 SecretKey cipherKey = null; field in class:DesAPITest 113 cipherKey = factory.generateSecret(desKeySpec); 129 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
|
H A D | PaddingTest.java | 41 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 D | PerformanceTest.java | 45 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 D | Krb5Context.java | 354 EncryptionKey cipherKey = null; 356 cipherKey = (getKey() == null) ? ckey: getKey(); 357 cipherHelper = new CipherHelper(cipherKey);
|