Home
last modified time | relevance | path

Searched refs:NullCipher (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DNullCipherTest.java30 import javax.crypto.NullCipher;
45 c = new NullCipher(); in setUp()
192 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE); in testUpdatebyteArrayintint2()
214 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE, in testDoFinalbyteArrayintintbyteArray2()
227 new NullCipher().update(new byte[1], 0, 1, new byte[0]); in testDoFinalbyteArrayintintbyteArray3()
249 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE, in testDoFinalbyteArrayintintbyteArrayint2()
262 new NullCipher().update(new byte[1], 0, 1, in testDoFinalbyteArrayintintbyteArrayint3()
DCipherInputStream1Test.java34 import javax.crypto.NullCipher;
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()
DCipherOutputStream1Test.java43 import javax.crypto.NullCipher;
90 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); in testWrite1()
108 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); in testWrite2()
130 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); in testWrite3()
147 …new CipherOutputStream(new BufferedOutputStream((OutputStream) null), new NullCipher()).write(new … in testWrite4()
158 NullCipher nc = new NullCipher(); in testWrite5()
DSealedObjectTest.java42 import javax.crypto.NullCipher;
72 SealedObject so = new SealedObject(secret, new NullCipher()); in testReadObject()
83 secret, so_des.getObject(new NullCipher())); in testReadObject()
138 Cipher cipher = new NullCipher(); in testSealedObject2()
239 new SealedObject("secret string", new NullCipher()) in testGetObject2()
278 new SealedObject("secret string", new NullCipher()).getObject( in testGetObject3()
286 new SealedObject("secret string", new NullCipher()).getObject( in testGetObject3()
DCipherInputStreamTest.java28 import javax.crypto.NullCipher;
37 CipherInputStream stream = new CipherInputStream(null, new NullCipher()); in testReadBII()
/libcore/ojluni/src/main/java/javax/crypto/
DNullCipher.java39 public class NullCipher extends Cipher { class
44 public NullCipher() { in NullCipher() method in NullCipher
DCipherOutputStream.java109 cipher = new NullCipher(); in CipherOutputStream()
DCipherInputStream.java180 cipher = new NullCipher(); in CipherInputStream()
DCipher.java867 if (!initialized && !(this instanceof NullCipher)) { in getOutputSize()
1657 if (!(this instanceof NullCipher)) { in checkCipherState()
2396 if (!(this instanceof NullCipher)) { in wrap()
2443 if (!(this instanceof NullCipher)) { in unwrap()
/libcore/luni/src/test/java/libcore/java/io/
DFilterInputStreamNullSourceTest.java34 import javax.crypto.NullCipher;
49 InputStream in = new CipherInputStream(null, new NullCipher()); in testCipherInputStream()
/libcore/
Dopenjdk_java_files.bp1304 "ojluni/src/main/java/javax/crypto/NullCipher.java",
DEXPECTED_UPSTREAM1297 …luni/src/main/java/javax/crypto/NullCipher.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/j…
/libcore/api/
Dcurrent.txt19144 public class NullCipher extends javax.crypto.Cipher {
19145 ctor public NullCipher();