Home
last modified time | relevance | path

Searched defs:cipher (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java97 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testAvailable() local
106 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testDecrypt_NullInput_Discarded() local
119 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testEncrypt() local
131 Cipher cipher = Cipher.getInstance("RC4"); in testEncrypt_RC4() local
143 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testDecrypt() local
151 Cipher cipher = Cipher.getInstance("RC4"); in testDecrypt_RC4() local
159 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testSkip() local
176 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testCipherInputStream_TruncatedInput_Failure() local
184 Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); in testCipherInputStream_NullInputStream_Failure() local
DCipherTest.java1396 Cipher cipher = Cipher.getInstance("RSA"); in assertCipherInitWithKeyUsage() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSealedObjectTest.java109 Cipher cipher = Cipher.getInstance("DES/CBC/PKCS5Padding"); in testSealedObject1() local
138 Cipher cipher = new NullCipher(); in testSealedObject2() local
160 Cipher cipher = Cipher.getInstance(algorithm); in testGetAlgorithm() local
175 Cipher cipher = Cipher.getInstance(algorithm); in testGetAlgorithmAfterSerialization() local
208 Cipher cipher = Cipher.getInstance("DES/CBC/PKCS5Padding"); in testGetObject1() local
252 Cipher cipher = Cipher.getInstance("DES/CBC/PKCS5Padding"); in testGetObject2() local
296 Cipher cipher = Cipher.getInstance("DES"); in testGetObject3() local
330 Cipher cipher = Cipher.getInstance("DES"); in testDeserialization() local
DCipherTest.java92 Cipher cipher = Cipher.getInstance("DESede/CBC/PKCS5Padding"); in test_getInstanceLjava_lang_String() local
114 Cipher cipher = Cipher.getInstance("DES", providers[i].getName()); in test_getInstanceLjava_lang_StringLjava_lang_String() local
148 Cipher cipher = Cipher.getInstance("DES", providers[i]); in test_getInstanceLjava_lang_StringLjava_security_Provider() local
176 Cipher cipher = Cipher.getInstance("AES", provider.getName()); in test_getProvider() local
190 Cipher cipher = Cipher.getInstance(algorithm); in test_getAlgorithm() local
201 Cipher cipher = Cipher.getInstance(algorithm); in test_getBlockSize() local
210 Cipher cipher = Cipher.getInstance(ALGORITHM_3DES + "/ECB/PKCS5Padding"); in test_getOutputSizeI() local
233 Cipher cipher = Cipher.getInstance(ALGORITHM_3DES + "/ECB/PKCS5Padding"); in test_initWithKey() local
250 Cipher cipher = Cipher.getInstance(ALGORITHM_3DES + "/ECB/PKCS5Padding"); in test_initWithSecureRandom() local
268 Cipher cipher = Cipher.getInstance(ALGORITHM_3DES + "/CBC/PKCS5Padding"); in test_initWithAlgorithmParameterSpec() local
[all …]
/libcore/luni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java240 public PKCS8EncodedKeySpec getKeySpec(Cipher cipher) in getKeySpec()
284 Cipher cipher = Cipher.getInstance(algName); in getKeySpec() local
343 Cipher cipher = Cipher.getInstance(algName, providerName); in getKeySpec() local
397 Cipher cipher = Cipher.getInstance(algName, provider); in getKeySpec() local
DSealedObject.java173 Cipher cipher = Cipher.getInstance(sealAlg); in getObject() local
261 Cipher cipher = Cipher.getInstance(sealAlg, provider); in getObject() local
DCipherOutputStream.java37 private final Cipher cipher; field in CipherOutputStream
DCipherInputStream.java38 private final Cipher cipher; field in CipherInputStream
/libcore/support/src/test/java/tests/security/
DCipherHelper.java43 Cipher cipher = null; in test() local
73 public byte[] crypt(Cipher cipher, byte[] input) { in crypt()
DAlgorithmParameterAsymmetricHelper.java56 Cipher cipher = null; in test() local
DAlgorithmParameterSymmetricHelper.java64 Cipher cipher = null; in test() local
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java1127 public static Set<String> getModesForCipher(String cipher) { in getModesForCipher()
1134 public static Set<String> getPaddingsForCipher(String cipher) { in getPaddingsForCipher()