Home
last modified time | relevance | path

Searched refs:inStream (Results 1 – 14 of 14) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertificateFactorySpi.java66 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
68 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificate()
75 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
77 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificates()
83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
84 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRL()
91 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
93 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRLs()
99 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument
101 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertPath()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateFactory.java359 public final Certificate generateCertificate(InputStream inStream) in generateCertificate() argument
362 return certFacSpi.engineGenerateCertificate(inStream); in generateCertificate()
398 public final CertPath generateCertPath(InputStream inStream) in generateCertPath() argument
401 return(certFacSpi.engineGenerateCertPath(inStream)); in generateCertPath()
421 public final CertPath generateCertPath(InputStream inStream, in generateCertPath() argument
424 return(certFacSpi.engineGenerateCertPath(inStream, encoding)); in generateCertPath()
484 (InputStream inStream) throws CertificateException { in generateCertificates() argument
485 return certFacSpi.engineGenerateCertificates(inStream); in generateCertificates()
517 public final CRL generateCRL(InputStream inStream) in generateCRL() argument
520 return certFacSpi.engineGenerateCRL(inStream); in generateCRL()
[all …]
DCertificateFactorySpi.java104 public abstract Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
124 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument
149 public CertPath engineGenerateCertPath(InputStream inStream, in engineGenerateCertPath() argument
245 engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
277 public abstract CRL engineGenerateCRL(InputStream inStream) in engineGenerateCRL() argument
314 (InputStream inStream) throws CRLException; in engineGenerateCRLs() argument
/libcore/ojluni/src/main/java/sun/misc/
DCharacterEncoder.java141 public void encode(InputStream inStream, OutputStream outStream) in encode() argument
150 numBytes = readFully(inStream, tmpbuffer); in encode()
178 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encode() local
179 encode(inStream, aStream); in encode()
188 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encode() local
191 encode(inStream, outStream); in encode()
276 public void encodeBuffer(InputStream inStream, OutputStream outStream) in encodeBuffer() argument
285 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer()
311 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encodeBuffer() local
312 encodeBuffer(inStream, aStream); in encodeBuffer()
[all …]
DBASE64Decoder.java105 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) in decodeAtom() argument
115 i = inStream.read(); in decodeAtom()
122 i = readFully(inStream, decode_buffer, 1, rem-1); in decodeAtom()
DCharacterDecoder.java188 ByteArrayInputStream inStream;
192 inStream = new ByteArrayInputStream(inputBuffer);
194 decodeBuffer(inStream, outStream); in decodeBuffer() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestInputStream2Test.java29 ByteArrayInputStream inStream; field in DigestInputStream2Test
42 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_ConstructorLjava_io_InputStreamLjava_security_MessageDigest()
52 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_getMessageDigest()
64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); in test_onZ()
77 dis = new DigestInputStream(inStream, digest); in test_onZ()
94 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read()
110 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read$BII()
111 int bytesToRead = inStream.available(); in test_read$BII()
137 DigestInputStream is = new DigestInputStream(inStream, digest); in test_read$BII_Exception()
209 DigestInputStream dis = new DigestInputStream(inStream, null); in test_setMessageDigestLjava_security_MessageDigest()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactorySpiTest.java395 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
397 if (inStream == null) { in engineGenerateCertificate()
404 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
406 if (inStream == null) { in engineGenerateCertificates()
412 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
413 if (inStream == null) { in engineGenerateCRL()
420 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
422 if (inStream == null) { in engineGenerateCRLs()
/libcore/ojluni/src/main/java/java/util/
DProperties.java341 public synchronized void load(InputStream inStream) throws IOException { in load() argument
342 load0(new LineReader(inStream)); in load()
404 public LineReader(InputStream inStream) { in LineReader() argument
405 this.inStream = inStream; in LineReader()
419 InputStream inStream; field in Properties.LineReader
435 inLimit = (inStream==null)?reader.read(inCharBuf) in readLine()
436 :inStream.read(inByteBuf); in readLine()
445 if (inStream != null) { in readLine()
504 inLimit = (inStream==null) in readLine()
506 :inStream.read(inByteBuf); in readLine()
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java183 public static final X509Certificate getInstance(InputStream inStream) in getInstance() argument
185 return getInst((Object)inStream); in getInstance()
/libcore/ojluni/src/main/java/sun/security/provider/
DX509Factory.java231 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument
234 if (inStream == null) { in engineGenerateCertPath()
238 byte[] encoding = readOneBlock(inStream); in engineGenerateCertPath()
262 public CertPath engineGenerateCertPath(InputStream inStream, in engineGenerateCertPath() argument
265 if (inStream == null) { in engineGenerateCertPath()
269 byte[] data = readOneBlock(inStream); in engineGenerateCertPath()
/libcore/ojluni/src/main/java/java/io/
DConsole.java537 private Console(InputStream inStream, OutputStream outStream) { in Console() argument
555 inStream, in Console()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java647 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
656 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
664 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
/libcore/ojluni/src/main/java/java/security/
DProvider.java229 public synchronized void load(InputStream inStream) throws IOException { in load() argument
235 tempProperties.load(inStream); in load()