/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1Object.java | 18 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()
|
D | DERUniversalString.java | 83 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local 84 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString() 95 byte[] string = bOut.toByteArray(); in getString()
|
D | BERConstructedOctetString.java | 22 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local 30 bOut.write(o.getOctets()); in toBytes() 42 return bOut.toByteArray(); in toBytes()
|
D | BEROctetString.java | 21 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local 29 bOut.write(o.getOctets()); in toBytes() 41 return bOut.toByteArray(); in toBytes()
|
D | DERApplicationSpecific.java | 73 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()
|
D | DERBitString.java | 246 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local 247 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString() 258 byte[] string = bOut.toByteArray(); in getString()
|
D | ASN1Set.java | 387 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 388 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded() 399 return bOut.toByteArray(); in getEncoded()
|
D | DERObjectIdentifier.java | 285 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/ |
D | Hex.java | 49 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()
|
D | Base64.java | 50 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/ |
D | NullDigest.java | 11 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/ |
D | CipherSpi.java | 49 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/ |
D | CMSSignedDataGenerator.java | 145 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/ |
D | PKCS12BagAttributeCarrierImpl.java | 86 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/ |
D | Strings.java | 92 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/ |
D | X509CertificateObject.java | 179 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/ |
D | X509CertificateObject.java | 177 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()
|
D | CertPathValidatorUtilities.java | 389 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/ |
D | BcKeyStoreSpi.java | 144 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/ |
D | PKCS12KeyStoreSpi.java | 1578 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/ |
D | pngfix.c | 2289 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/ |
D | bcprov.patch | 3130 - 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();
|