Home
last modified time | relevance | path

Searched refs:bOut (Results 1 – 25 of 25) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Object.java23 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
24 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded()
28 return bOut.toByteArray(); in getEncoded()
44 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
45 DEROutputStream dOut = new DEROutputStream(bOut); in getEncoded()
49 return bOut.toByteArray(); in getEncoded()
53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
54 DLOutputStream dOut = new DLOutputStream(bOut); in getEncoded()
58 return bOut.toByteArray(); in getEncoded()
DBERApplicationSpecific.java81 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local
87 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.BER)); in getEncodedVector()
94 return bOut.toByteArray(); in getEncodedVector()
DDERApplicationSpecific.java95 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local
101 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in getEncodedVector()
108 return bOut.toByteArray(); in getEncodedVector()
DDERUniversalString.java88 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
89 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
100 byte[] string = bOut.toByteArray(); in getString()
DBERConstructedOctetString.java22 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local
30 bOut.write(o.getOctets()); in toBytes()
42 return bOut.toByteArray(); in toBytes()
DBEROctetString.java21 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local
29 bOut.write(o.getOctets()); in toBytes()
41 return bOut.toByteArray(); in toBytes()
DASN1BitString.java137 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
138 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
149 byte[] string = bOut.toByteArray(); in getString()
DASN1ObjectIdentifier.java313 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getBody() local
315 doOutput(bOut); in getBody()
317 body = bOut.toByteArray(); in getBody()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DHex.java52 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local
56 encoder.encode(data, off, length, bOut); in encode()
63 return bOut.toByteArray(); in encode()
102 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
106 encoder.decode(data, 0, data.length, bOut); in decode()
113 return bOut.toByteArray(); in decode()
124 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
128 encoder.decode(data, bOut); in decode()
135 return bOut.toByteArray(); in decode()
DBase64.java53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local
57 encoder.encode(data, off, length, bOut); in encode()
64 return bOut.toByteArray(); in encode()
104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
108 encoder.decode(data, 0, data.length, bOut); in decode()
115 return bOut.toByteArray(); in decode()
127 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
131 encoder.decode(data, bOut); in decode()
138 return bOut.toByteArray(); in decode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DNullDigest.java11 private ByteArrayOutputStream bOut = new ByteArrayOutputStream(); field in NullDigest
20 return bOut.size(); in getDigestSize()
25 bOut.write(in); in update()
30 bOut.write(in, inOff, len); in update()
35 byte[] res = bOut.toByteArray(); in doFinal()
46 bOut.reset(); in reset()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java52 private ByteArrayOutputStream bOut = new ByteArrayOutputStream(); field in CipherSpi
332 bOut.reset(); in engineInit()
396 bOut.write(input, inputOffset, inputLen); in engineUpdate()
400 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
407 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
423 bOut.write(input, inputOffset, inputLen); in engineUpdate()
427 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
434 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
451 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
456 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedDataGenerator.java145 ByteArrayOutputStream bOut = null; in generate() local
149 bOut = new ByteArrayOutputStream(); in generate()
152 OutputStream cOut = CMSUtils.attachSignersToOutputStream(signerGens, bOut); in generate()
170 octs = new BEROctetString(bOut.toByteArray()); in generate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DPKCS12BagAttributeCarrierImpl.java85 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in writeObject() local
86 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in writeObject()
98 out.writeObject(bOut.toByteArray()); in writeObject()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPReq.java252 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
253 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded()
257 return bOut.toByteArray(); in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java128 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toUTF8ByteArray() local
132 toUTF8ByteArray(string, bOut); in toUTF8ByteArray()
139 return bOut.toByteArray(); in toUTF8ByteArray()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java181 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getIssuerX500Principal() local
182 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getIssuerX500Principal()
186 return new X500Principal(bOut.toByteArray()); in getIssuerX500Principal()
203 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getSubjectX500Principal() local
204 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getSubjectX500Principal()
208 return new X500Principal(bOut.toByteArray()); in getSubjectX500Principal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java179 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getIssuerX500Principal() local
180 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getIssuerX500Principal()
184 return new X500Principal(bOut.toByteArray()); in getIssuerX500Principal()
201 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getSubjectX500Principal() local
202 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getSubjectX500Principal()
206 return new X500Principal(bOut.toByteArray()); in getSubjectX500Principal()
DCertPathValidatorUtilities.java369 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getQualifierSet() local
370 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getQualifierSet()
380 pq.add(new PolicyQualifierInfo(bOut.toByteArray())); in getQualifierSet()
387 bOut.reset(); in getQualifierSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java150 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in StoreEntry() local
151 DataOutputStream dOut = new DataOutputStream(bOut); in StoreEntry()
166 obj = bOut.toByteArray(); in StoreEntry()
287 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getObject()
288 DataOutputStream dOut = new DataOutputStream(bOut); in getObject()
303 obj = bOut.toByteArray(); in getObject()
/external/parameter-framework/upstream/remote-processor/
DMessage.cpp130 CMessage::Result CMessage::serialize(Socket &&socket, bool bOut, string &strError) in serialize() argument
134 if (bOut) { in serialize()
DMessage.h74 Result serialize(Socket &&socket, bool bOut, std::string &strError);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java1604 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in doStore() local
1608 asn1Out = new DEROutputStream(bOut); in doStore()
1612 asn1Out = new BEROutputStream(bOut); in doStore()
1617 byte[] pkg = bOut.toByteArray(); in doStore()
/external/libpng/contrib/tools/
Dpngfix.c2295 png_byte bOut; in zlib_advance() local
2358 zlib->z.next_out = &bOut; in zlib_advance()
2372 zlib->z.next_out = &bOut, in zlib_advance()
/external/bouncycastle/patches/
Dbcprov.patch3630 - ByteArrayOutputStream bOut = new ByteArrayOutputStream();
3631 - PemWriter pWrt = new PemWriter(new OutputStreamWriter(bOut));
3647 - return bOut.toByteArray();
3652 + // ByteArrayOutputStream bOut = new ByteArrayOutputStream();
3653 + // PemWriter pWrt = new PemWriter(new OutputStreamWriter(bOut));
3669 + // return bOut.toByteArray();