Searched refs:CipherInputStream (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherInputStream1Test.java | 35 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()
|
D | CipherInputStreamTest.java | 27 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/ |
D | CipherInputStreamTest.java | 34 import javax.crypto.CipherInputStream; 113 InputStream cin = new CipherInputStream(in, cipher); in testAvailable() 121 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt_NullInput_Discarded() 134 InputStream in = new CipherInputStream( in testEncrypt() 146 InputStream in = new CipherInputStream( in testEncrypt_RC4() 158 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt() 166 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); in testDecrypt_RC4() 174 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testSkip() 191 InputStream is = new CipherInputStream(new ByteArrayInputStream(new byte[31]), cipher); in testCipherInputStream_TruncatedInput_Failure() 199 InputStream is = new CipherInputStream(null, cipher); in testCipherInputStream_NullInputStream_Failure() [all …]
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherInputStream.java | 70 public class CipherInputStream extends FilterInputStream { class 163 public CipherInputStream(InputStream is, Cipher c) { in CipherInputStream() method in CipherInputStream 177 protected CipherInputStream(InputStream is) { in CipherInputStream() method in CipherInputStream
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CipherInputStreamBenchmark.java | 24 import javax.crypto.CipherInputStream; 72 InputStream is = new CipherInputStream(new ByteArrayInputStream(DATA), cipherEncrypt); in timeEncrypt()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FilterInputStreamNullSourceTest.java | 33 import javax.crypto.CipherInputStream; 49 InputStream in = new CipherInputStream(null, new NullCipher()); in testCipherInputStream()
|
/libcore/ |
D | openjdk_java_files.bp | 1215 "ojluni/src/main/java/javax/crypto/CipherInputStream.java",
|