Searched refs:CipherOutputStream (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherOutputStreamTest.java22 import javax.crypto.CipherOutputStream;
27 * javax.crypto.CipherOutputStream#close()
32 new CipherOutputStream((OutputStream) null, Cipher
39 CipherOutputStream ch = new CipherOutputStream((OutputStream) null) {};
41 new CipherOutputStream(ch, Cipher
H A DCipherOutputStream1Test.java44 import javax.crypto.CipherOutputStream;
67 * CipherOutputStream(OutputStream os) method testing. Tests that
68 * CipherOutputStream uses NullCipher if Cipher is not specified
74 CipherOutputStream cos = new CipherOutputStream(tos){};
90 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
97 fail("CipherOutputStream wrote incorrect data.");
108 CipherOutputStream cos = new CipherOutputStream(to
[all...]
/libcore/ojluni/src/main/java/javax/crypto/
H A DCipherOutputStream.java31 * A CipherOutputStream is composed of an OutputStream and a Cipher so
34 * initialized before being used by a CipherOutputStream.
37 * CipherOutputStream will attempt to encrypt data before writing out the
52 * CipherOutputStream.
63 public class CipherOutputStream extends FilterOutputStream { class in inherits:FilterOutputStream
82 * Constructs a CipherOutputStream from an OutputStream and a
91 public CipherOutputStream(OutputStream os, Cipher c) { method in class:CipherOutputStream
98 * Constructs a CipherOutputStream from an OutputStream without
100 * CipherOutputStream using a NullCipher.
106 protected CipherOutputStream(OutputStrea method in class:CipherOutputStream
[all...]
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherOutputStreamTest.java29 import javax.crypto.CipherOutputStream;
36 // From b/36636576. CipherOutputStream had a bug where it would ignore exceptions
70 CipherOutputStream cos = new CipherOutputStream(new ByteArrayOutputStream(), cipher);
/libcore/
H A Dopenjdk_java_files.mk1214 ojluni/src/main/java/javax/crypto/CipherOutputStream.java \

Completed in 1027 milliseconds