HomeSort by relevance Sort by last modified time
    Searched refs:NullCipher (Results 1 - 25 of 25) sorted by null

  /libcore/luni/src/main/java/javax/crypto/
NullCipher.java 35 public class NullCipher extends Cipher {
38 * Creates a new {@code NullCipher} instance.
40 public NullCipher() {
CipherOutputStream.java 57 * A {@code NullCipher} is created to process the data.
63 this(os, new NullCipher());
CipherInputStream.java 72 * A {@code NullCipher} is created and used to process the data.
78 this(is, new NullCipher());
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherOutputStreamTest.java 28 import javax.crypto.NullCipher;
51 * CipherOutputStream uses NullCipher if Cipher is not specified
62 fail("NullCipher should be used " + "if Cipher is not specified.");
73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
106 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
123 new CipherOutputStream(new BufferedOutputStream((OutputStream) null), new NullCipher()).write(new byte[] { 0 }, 1, Integer.MAX_VALUE);
134 NullCipher nc = new NullCipher();
CipherInputStreamTest.java 25 import javax.crypto.NullCipher;
52 * CipherInputStream uses NullCipher if Cipher is not specified
62 fail("NullCipher should be used "
67 fail("NullCipher should be used if Cipher is not specified.");
78 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
99 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
137 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
175 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
213 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
225 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
    [all...]
SealedObjectTest.java 33 import javax.crypto.NullCipher;
52 SealedObject so = new SealedObject(secret, new NullCipher());
63 secret, so_des.getObject(new NullCipher()));
97 Cipher cipher = new NullCipher();
161 new SealedObject("secret string", new NullCipher())
193 new SealedObject("secret string", new NullCipher()).getObject(
202 new SealedObject("secret string", new NullCipher()).getObject(
228 new NullCipher()).getObject((Key) null);
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherInputStreamTest.java 28 import javax.crypto.NullCipher;
37 CipherInputStream stream = new CipherInputStream(null, new NullCipher());
NullCipherTest.java 28 import javax.crypto.NullCipher;
34 * Tests for NullCipher
42 c = new NullCipher();
190 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE);
212 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE,
225 new NullCipher().update(new byte[1], 0, 1, new byte[0]);
247 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE,
260 new NullCipher().update(new byte[1], 0, 1,
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherInputStreamTest.java 28 import javax.crypto.NullCipher;
37 CipherInputStream stream = new CipherInputStream(null, new NullCipher());
CipherOutputStream1Test.java 37 import javax.crypto.NullCipher;
61 * CipherOutputStream uses NullCipher if Cipher is not specified
72 fail("NullCipher should be used " + "if Cipher is not specified.");
83 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
101 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
123 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
140 new CipherOutputStream(new BufferedOutputStream((OutputStream) null), new NullCipher()).write(new byte[] {0}, 1, Integer.MAX_VALUE);
151 NullCipher nc = new NullCipher();
NullCipherTest.java 30 import javax.crypto.NullCipher;
37 * Tests for NullCipher
45 c = new NullCipher();
192 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE);
214 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE,
227 new NullCipher().update(new byte[1], 0, 1, new byte[0]);
249 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE,
262 new NullCipher().update(new byte[1], 0, 1,
CipherInputStream1Test.java 34 import javax.crypto.NullCipher;
61 * CipherInputStream uses NullCipher if Cipher is not specified
71 fail("NullCipher should be used "
76 fail("NullCipher should be used if Cipher is not specified.");
87 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
108 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
146 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
184 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
222 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
234 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
    [all...]
SealedObjectTest.java 42 import javax.crypto.NullCipher;
72 SealedObject so = new SealedObject(secret, new NullCipher());
83 secret, so_des.getObject(new NullCipher()));
138 Cipher cipher = new NullCipher();
239 new SealedObject("secret string", new NullCipher())
278 new SealedObject("secret string", new NullCipher()).getObject(
286 new SealedObject("secret string", new NullCipher()).getObject(
  /libcore/luni/src/test/java/libcore/java/io/
FilterInputStreamNullSourceTest.java 34 import javax.crypto.NullCipher;
49 InputStream in = new CipherInputStream(null, new NullCipher());
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
pdfjs.js     [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 1290 milliseconds