Home | History | Annotate | Download | only in crypto

Lines Matching refs:tos

73         TestOutputStream tos = new TestOutputStream();
74 CipherOutputStream cos = new CipherOutputStream(tos){};
77 byte[] result = tos.toByteArray();
89 TestOutputStream tos = new TestOutputStream();
90 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
95 byte[] result = tos.toByteArray();
107 TestOutputStream tos = new TestOutputStream();
108 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
111 byte[] result = tos.toByteArray();
129 TestOutputStream tos = new TestOutputStream();
130 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
135 byte[] result = tos.toByteArray();
172 TestOutputStream tos = new TestOutputStream();
173 CipherOutputStream cos = new CipherOutputStream(tos){};
176 byte[] result = tos.toByteArray();
188 TestOutputStream tos = new TestOutputStream();
189 CipherOutputStream cos = new CipherOutputStream(tos){};
192 byte[] result = tos.toByteArray();
197 + "of its underlying output stream.", tos.wasClosed());