Searched defs:getDecryptKey (Results 1 - 1 of 1) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java269 private synchronized static Key getDecryptKey(String algorithm) throws Exception { method in class:CipherTest
1339 c.init(Cipher.UNWRAP_MODE, getDecryptKey(algorithm), decryptSpec);
1363 c.init(Cipher.DECRYPT_MODE, getDecryptKey(algorithm), decryptSpec);
1474 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_01_PADDED_PLAIN_TEXT, getEncryptKey("RSA"), getDecryptKey("RSA"));
1476 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_02_PADDED_PLAIN_TEXT, getEncryptKey("RSA"), getDecryptKey("RSA"));
1481 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_01_PADDED_PLAIN_TEXT, getDecryptKey("RSA"), getEncryptKey("RSA"));
1485 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_02_PADDED_PLAIN_TEXT, getDecryptKey("RSA"), getEncryptKey("RSA"));
1517 testOutputPKCS1Padding(provider, (byte) 1, getEncryptKey("RSA"), getDecryptKey("RSA"));
1518 testOutputPKCS1Padding(provider, (byte) 2, getDecryptKey("RSA"), getEncryptKey("RSA"));

Completed in 19 milliseconds