/openjdk9/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);
|
/openjdk9/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...] |
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | DESedeWrapCipher.java | 69 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 D | HmacPKCS12PBESHA1.java | 132 SecretKey cipherKey = new SecretKeySpec(derivedKey, "HmacSHA1"); 133 super.engineInit(cipherKey, null);
|
H A D | PBMAC1Core.java | 184 SecretKey cipherKey = new SecretKeySpec(derivedKey, kdfAlgo); 186 super.engineInit(cipherKey, null);
|
H A D | PBES2Core.java | 257 SecretKeySpec cipherKey = null; 284 cipherKey = new SecretKeySpec(derivedKey, cipherAlgo); 287 cipher.init(opmode, cipherKey, ivSpec, random);
|
H A D | PBECipherCore.java | 246 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0, 253 cipher.init(opmode, cipherKey, ivSpec, random);
|
H A D | PBES1Core.java | 246 SecretKeySpec cipherKey = new SecretKeySpec(derivedKey, 0, 253 cipher.init(opmode, cipherKey, ivSpec, random);
|
H A D | PKCS12PBECipherCore.java | 340 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 D | NISTWrapKAT.java | 77 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 D | DesAPITest.java | 40 SecretKey cipherKey = null; field in class:DesAPITest 109 cipherKey = factory.generateSecret(desKeySpec); 125 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, params);
|
H A D | PaddingTest.java | 42 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 D | PerformanceTest.java | 41 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 D | Krb5Context.java | 368 EncryptionKey cipherKey = null; 370 cipherKey = (getKey() == null) ? ckey: getKey(); 371 cipherHelper = new CipherHelper(cipherKey);
|