Home
last modified time | relevance | path

Searched refs:CipherInputStream (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherInputStream1Test.java35 import javax.crypto.CipherInputStream;
67 CipherInputStream cis = new CipherInputStream(tis){}; in testCipherInputStream()
87 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead1()
108 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead2()
146 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead3()
184 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testSkip()
222 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testAvailable()
234 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testClose()
246 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testMarkSupported()
262 CipherInputStream cis = new CipherInputStream(bais, c); in test_ConstructorLjava_io_InputStreamLjavax_crypto_Cipher()
DCipherInputStreamTest.java27 import javax.crypto.CipherInputStream;
37 CipherInputStream stream = new CipherInputStream(null, new NullCipher()); in testReadBII()
52 new CipherInputStream(new ByteArrayInputStream(new byte[] { 1 }), in testClose()
59 new CipherInputStream(new BufferedInputStream((InputStream) null), in testClose()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java27 import javax.crypto.CipherInputStream;
100 InputStream cin = new CipherInputStream(in, cipher); in testAvailable()
108 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt_NullInput_Discarded()
121 InputStream in = new CipherInputStream( in testEncrypt()
133 InputStream in = new CipherInputStream( in testEncrypt_RC4()
145 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt()
153 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); in testDecrypt_RC4()
161 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testSkip()
178 InputStream is = new CipherInputStream(new ByteArrayInputStream(new byte[31]), cipher); in testCipherInputStream_TruncatedInput_Failure()
186 InputStream is = new CipherInputStream(null, cipher); in testCipherInputStream_NullInputStream_Failure()
/libcore/luni/src/main/java/javax/crypto/
DCipherInputStream.java37 public class CipherInputStream extends FilterInputStream { class
58 public CipherInputStream(InputStream is, Cipher c) { in CipherInputStream() method in CipherInputStream
77 protected CipherInputStream(InputStream is) { in CipherInputStream() method in CipherInputStream
/libcore/benchmarks/src/benchmarks/regression/
DCipherInputStreamBenchmark.java28 import javax.crypto.CipherInputStream;
80 InputStream is = new CipherInputStream(new ByteArrayInputStream(DATA), cipherEncrypt); in timeEncrypt()
/libcore/luni/src/test/java/libcore/java/io/
DFilterInputStreamNullSourceTest.java33 import javax.crypto.CipherInputStream;
49 InputStream in = new CipherInputStream(null, new NullCipher()); in testCipherInputStream()