Searched refs:cis (Results 1 – 3 of 3) sorted by relevance
67 CipherInputStream cis = new CipherInputStream(tis){}; in testCipherInputStream() local70 if ((byte) cis.read() != data[i]) { in testCipherInputStream()75 if (cis.read() != -1) { in testCipherInputStream()87 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead1() local90 if ((res = (byte) cis.read()) != data[i]) { in testRead1()95 if (cis.read() != -1) { in testRead1()108 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead2() local114 int got = cis.read(result); // the number of got bytes in testRead2()128 got += cis.read(result); in testRead2()131 if (cis.read(result) != -1) { in testRead2()[all …]
72 private InputStream cis; field in Resource76 if (cis == null) { in cachedInputStream()77 cis = getInputStream(); in cachedInputStream()79 return cis; in cachedInputStream()
225 CipherInputStream cis = new CipherInputStream(mockIs, cipher); in testCloseTwice() local226 cis.close(); in testCloseTwice()227 cis.close(); in testCloseTwice()327 CipherInputStream cis = new CipherInputStream( in testDecryptCorruptGCM() local330 cis.read(unencrypted); in testDecryptCorruptGCM()331 cis.close(); in testDecryptCorruptGCM()