Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Object.java18 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
19 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded()
23 return bOut.toByteArray(); in getEncoded()
39 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
40 DEROutputStream dOut = new DEROutputStream(bOut); in getEncoded()
44 return bOut.toByteArray(); in getEncoded()
48 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
49 DLOutputStream dOut = new DLOutputStream(bOut); in getEncoded()
53 return bOut.toByteArray(); in getEncoded()
DDERUniversalString.java83 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
84 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
95 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()
DDERApplicationSpecific.java73 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in DERApplicationSpecific() local
79 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in DERApplicationSpecific()
86 this.octets = bOut.toByteArray(); in DERApplicationSpecific()
DDERBitString.java246 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
247 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
258 byte[] string = bOut.toByteArray(); in getString()
DASN1Set.java387 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
388 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded()
399 return bOut.toByteArray(); in getEncoded()
DDERObjectIdentifier.java285 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getBody() local
287 doOutput(bOut); in getBody()
289 body = bOut.toByteArray(); in getBody()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DHex.java49 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local
53 encoder.encode(data, off, length, bOut); in encode()
60 return bOut.toByteArray(); in encode()
99 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
103 encoder.decode(data, 0, data.length, bOut); in decode()
110 return bOut.toByteArray(); in decode()
121 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
125 encoder.decode(data, bOut); in decode()
132 return bOut.toByteArray(); in decode()
DBase64.java50 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local
54 encoder.encode(data, off, length, bOut); in encode()
61 return bOut.toByteArray(); in encode()
101 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
105 encoder.decode(data, 0, data.length, bOut); in decode()
112 return bOut.toByteArray(); in decode()
124 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
128 encoder.decode(data, bOut); in decode()
135 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.java49 private ByteArrayOutputStream bOut = new ByteArrayOutputStream(); field in CipherSpi
329 bOut.reset(); in engineInit()
393 bOut.write(input, inputOffset, inputLen); in engineUpdate()
397 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
404 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
420 bOut.write(input, inputOffset, inputLen); in engineUpdate()
424 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
431 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
448 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
453 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.java86 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in writeObject() local
87 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in writeObject()
99 out.writeObject(bOut.toByteArray()); in writeObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java92 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toUTF8ByteArray() local
96 toUTF8ByteArray(string, bOut); in toUTF8ByteArray()
103 return bOut.toByteArray(); in toUTF8ByteArray()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java177 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getIssuerX500Principal() local
178 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getIssuerX500Principal()
182 return new X500Principal(bOut.toByteArray()); in getIssuerX500Principal()
199 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getSubjectX500Principal() local
200 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getSubjectX500Principal()
204 return new X500Principal(bOut.toByteArray()); in getSubjectX500Principal()
DCertPathValidatorUtilities.java389 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getQualifierSet() local
390 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getQualifierSet()
400 pq.add(new PolicyQualifierInfo(bOut.toByteArray())); in getQualifierSet()
407 bOut.reset(); in getQualifierSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java144 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in StoreEntry() local
145 DataOutputStream dOut = new DataOutputStream(bOut); in StoreEntry()
160 obj = bOut.toByteArray(); in StoreEntry()
281 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getObject()
282 DataOutputStream dOut = new DataOutputStream(bOut); in getObject()
297 obj = bOut.toByteArray(); in getObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java1578 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in doStore() local
1582 asn1Out = new DEROutputStream(bOut); in doStore()
1586 asn1Out = new BEROutputStream(bOut); in doStore()
1591 byte[] pkg = bOut.toByteArray(); in doStore()
/external/libpng/contrib/tools/
Dpngfix.c2289 png_byte bOut; in zlib_advance() local
2351 zlib->z.next_out = &bOut; in zlib_advance()
2365 zlib->z.next_out = &bOut, in zlib_advance()
/external/bouncycastle/patches/
Dbcprov.patch3130 - ByteArrayOutputStream bOut = new ByteArrayOutputStream();
3131 - PemWriter pWrt = new PemWriter(new OutputStreamWriter(bOut));
3147 - return bOut.toByteArray();
3152 + // ByteArrayOutputStream bOut = new ByteArrayOutputStream();
3153 + // PemWriter pWrt = new PemWriter(new OutputStreamWriter(bOut));
3169 + // return bOut.toByteArray();