/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1Object.java | 23 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()
|
D | DLApplicationSpecific.java | 95 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 101 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DL)); in getEncodedVector() 108 return bOut.toByteArray(); in getEncodedVector()
|
D | DERApplicationSpecific.java | 95 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()
|
D | BERApplicationSpecific.java | 81 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()
|
D | DERUniversalString.java | 89 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local 90 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString() 101 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 | 36 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local 44 bOut.write(o.getOctets()); in toBytes() 56 return bOut.toByteArray(); in toBytes()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1Object.java | 31 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 32 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded() 36 return bOut.toByteArray(); in getEncoded() 53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 54 DEROutputStream dOut = new DEROutputStream(bOut); in getEncoded() 58 return bOut.toByteArray(); in getEncoded() 62 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 63 DLOutputStream dOut = new DLOutputStream(bOut); in getEncoded() 67 return bOut.toByteArray(); in getEncoded()
|
D | DERApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | BERApplicationSpecific.java | 83 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 89 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.BER)); in getEncodedVector() 96 return bOut.toByteArray(); in getEncodedVector()
|
D | DLApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DL)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | DERUniversalString.java | 91 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local 92 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString() 103 byte[] string = bOut.toByteArray(); in getString()
|
D | BERConstructedOctetString.java | 24 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local 32 bOut.write(o.getOctets()); in toBytes() 44 return bOut.toByteArray(); in toBytes()
|
D | BEROctetString.java | 38 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local 46 bOut.write(o.getOctets()); in toBytes() 58 return bOut.toByteArray(); in toBytes()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
D | Hex.java | 52 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()
|
D | Base64.java | 53 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/ |
D | Hex.java | 54 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local 58 encoder.encode(data, off, length, bOut); in encode() 65 return bOut.toByteArray(); in encode() 104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 108 encoder.decode(data, 0, data.length, bOut); in decode() 115 return bOut.toByteArray(); in decode() 126 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 130 encoder.decode(data, bOut); in decode() 137 return bOut.toByteArray(); in decode()
|
D | Base64.java | 55 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local 59 encoder.encode(data, off, length, bOut); in encode() 66 return bOut.toByteArray(); in encode() 106 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 110 encoder.decode(data, 0, data.length, bOut); in decode() 117 return bOut.toByteArray(); in decode() 129 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 133 encoder.decode(data, bOut); in decode() 140 return bOut.toByteArray(); in decode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
D | NullDigest.java | 12 private OpenByteArrayOutputStream bOut = new OpenByteArrayOutputStream(); field in NullDigest 21 return bOut.size(); in getDigestSize() 26 bOut.write(in); in update() 31 bOut.write(in, inOff, len); in update() 36 int size = bOut.size(); in doFinal() 38 bOut.copy(out, outOff); in doFinal() 47 bOut.reset(); in reset()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/ |
D | NullDigest.java | 16 private OpenByteArrayOutputStream bOut = new OpenByteArrayOutputStream(); field in NullDigest 25 return bOut.size(); in getDigestSize() 30 bOut.write(in); in update() 35 bOut.write(in, inOff, len); in update() 40 int size = bOut.size(); in doFinal() 42 bOut.copy(out, outOff); in doFinal() 51 bOut.reset(); in reset()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 57 private ErasableOutputStream bOut = new ErasableOutputStream(); field in CipherSpi 357 bOut.reset(); in engineInit() 421 bOut.write(input, inputOffset, inputLen); in engineUpdate() 425 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 432 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 448 bOut.write(input, inputOffset, inputLen); in engineUpdate() 452 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 459 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 476 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 481 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 61 private ErasableOutputStream bOut = new ErasableOutputStream(); field in CipherSpi 361 bOut.reset(); in engineInit() 425 bOut.write(input, inputOffset, inputLen); in engineUpdate() 429 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 436 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 452 bOut.write(input, inputOffset, inputLen); in engineUpdate() 456 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 463 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 480 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 485 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 | 85 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in writeObject() local 86 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in writeObject() 98 out.writeObject(bOut.toByteArray()); in writeObject()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | PKCS12BagAttributeCarrierImpl.java | 89 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in writeObject() local 90 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in writeObject() 102 out.writeObject(bOut.toByteArray()); in writeObject()
|