Searched refs:encryptKey (Results 1 - 4 of 4) sorted by relevance

/libcore/support/src/test/java/tests/security/
H A DKeyAgreementHelper.java39 void test(PrivateKey encryptKey, PublicKey decryptKey) { argument
49 keyAgreement.init(encryptKey);
H A DSignatureHelper.java42 public void test(PrivateKey encryptKey, PublicKey decryptKey) { argument
52 signature.initSign(encryptKey);
H A DCipherHelper.java42 public void test(Key encryptKey, Key decryptKey) { argument
52 cipher.init(mode1, encryptKey);
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java1237 Key encryptKey = getEncryptKey(algorithm);
1258 test_Cipher_init_NullParameters(c, encryptMode, encryptKey);
1260 c.init(encryptMode, encryptKey, encryptSpec);
1274 test_Cipher_init_Decrypt_NullParameters(c, decryptMode, encryptKey, decryptSpec != null);
1276 c.init(decryptMode, encryptKey, decryptSpec);
1335 c.init(Cipher.WRAP_MODE, encryptKey, encryptSpec);
1345 + " encryptKey.getEncoded()=" + Arrays.toString(sk.getEncoded())
1351 c.init(Cipher.ENCRYPT_MODE, encryptKey, encryptSpec);
1385 private void test_Cipher_init_NullParameters(Cipher c, int encryptMode, Key encryptKey) argument
1388 c.init(encryptMode, encryptKey, (AlgorithmParameterSpe
1420 test_Cipher_init_Decrypt_NullParameters(Cipher c, int decryptMode, Key encryptKey, boolean needsParameters) argument
1488 testInputPKCS1Padding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) argument
1521 testOutputPKCS1Padding(String provider, byte expectedBlockType, Key encryptKey, Key decryptKey) argument
[all...]

Completed in 2152 milliseconds