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

/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java722 public void testInputPKCS1Padding() throws Exception { method in class:CipherTest
724 testInputPKCS1Padding(provider);
728 private void testInputPKCS1Padding(String provider) throws Exception { method in class:CipherTest
729 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_01_PADDED_PLAIN_TEXT, getEncryptKey("RSA"), getDecryptKey("RSA"));
731 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_02_PADDED_PLAIN_TEXT, getEncryptKey("RSA"), getDecryptKey("RSA"));
736 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_01_PADDED_PLAIN_TEXT, getDecryptKey("RSA"), getEncryptKey("RSA"));
740 testInputPKCS1Padding(provider, PKCS1_BLOCK_TYPE_02_PADDED_PLAIN_TEXT, getDecryptKey("RSA"), getEncryptKey("RSA"));
743 private void testInputPKCS1Padding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) throws Exception { method in class:CipherTest

Completed in 23 milliseconds