Searched refs:byteArrayOutputStream (Results 1 – 1 of 1) sorted by relevance
555 final ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testEncryptsAndDecryptsUsingCipherStreams() local557 new CipherOutputStream(byteArrayOutputStream, cipher); in testEncryptsAndDecryptsUsingCipherStreams()571 byte[] ciphertext = byteArrayOutputStream.toByteArray(); in testEncryptsAndDecryptsUsingCipherStreams()578 new ByteArrayInputStream(byteArrayOutputStream.toByteArray()); in testEncryptsAndDecryptsUsingCipherStreams()