/external/okhttp/okio/okio/src/test/java/okio/ |
D | ByteStringTest.java | 197 assertEquals("", ByteString.decodeBase64("====").utf8()); in ignoreUnnecessaryPadding() 198 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AAAA====").utf8()); in ignoreUnnecessaryPadding() 201 @Test public void decodeBase64() { in decodeBase64() method in ByteStringTest 202 assertEquals("", ByteString.decodeBase64("").utf8()); in decodeBase64() 203 assertEquals(null, ByteString.decodeBase64("/===")); // Can't do anything with 6 bits! in decodeBase64() 204 assertEquals(ByteString.decodeHex("ff"), ByteString.decodeBase64("//==")); in decodeBase64() 205 assertEquals(ByteString.decodeHex("ff"), ByteString.decodeBase64("__==")); in decodeBase64() 206 assertEquals(ByteString.decodeHex("ffff"), ByteString.decodeBase64("///=")); in decodeBase64() 207 assertEquals(ByteString.decodeHex("ffff"), ByteString.decodeBase64("___=")); in decodeBase64() 208 assertEquals(ByteString.decodeHex("ffffff"), ByteString.decodeBase64("////")); in decodeBase64() [all …]
|
D | InflaterSourceTest.java | 32 Buffer deflated = decodeBase64("eJxzz09RyEjNKVAoLdZRKE9VL0pVyMxTKMlIVchIzEspVshPU0jNS8/MS00tK" in inflate() 39 Buffer deflated = decodeBase64("eJxzz09RyEjNKVAoLdZRKE9VL0pVyMxTKMlIVchIzEspVshPU0jNS8/MS00tK" in inflateTruncated() 49 Buffer deflated = decodeBase64("eJztwTEBAAAAwqCs61/CEL5AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" in inflateWellCompressed() 81 Buffer deflated = decodeBase64( in inflateIntoNonemptySink() 91 private Buffer decodeBase64(String s) { in decodeBase64() method in InflaterSourceTest 92 return new Buffer().write(ByteString.decodeBase64(s)); in decodeBase64()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/ |
D | AlgorithmParametersTestOAEP.java | 179 params.init(TestUtils.decodeBase64(ENCODED_DATA_ALL_DEFAULTS)); in testEncoding() 192 params.init(TestUtils.decodeBase64(ENCODED_DATA_EXPLICIT_DEFAULTS)); in testEncoding() 205 params.init(TestUtils.decodeBase64(ENCODED_DATA_NON_DEFAULTS)); in testEncoding() 218 params.init(TestUtils.decodeBase64(ENCODED_DATA_MIXED)); in testEncoding() 231 params.init(TestUtils.decodeBase64(ENCODED_DATA_MIXED_EXPLICIT_DEFAULTS)); in testEncoding()
|
D | AlgorithmParametersTestGCM.java | 79 params.init(TestUtils.decodeBase64(ENCODED_DATA_NO_TLEN)); in testEncoding() 91 params.init(TestUtils.decodeBase64(ENCODED_DATA_TLEN)); in testEncoding()
|
D | AlgorithmParametersTestAES.java | 66 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestDES.java | 64 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestDESede.java | 64 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestDSA.java | 141 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/ |
D | AlgorithmParametersTestOAEP.java | 183 params.init(TestUtils.decodeBase64(ENCODED_DATA_ALL_DEFAULTS)); in testEncoding() 196 params.init(TestUtils.decodeBase64(ENCODED_DATA_EXPLICIT_DEFAULTS)); in testEncoding() 209 params.init(TestUtils.decodeBase64(ENCODED_DATA_NON_DEFAULTS)); in testEncoding() 222 params.init(TestUtils.decodeBase64(ENCODED_DATA_MIXED)); in testEncoding() 235 params.init(TestUtils.decodeBase64(ENCODED_DATA_MIXED_EXPLICIT_DEFAULTS)); in testEncoding()
|
D | AlgorithmParametersTestGCM.java | 83 params.init(TestUtils.decodeBase64(ENCODED_DATA_NO_TLEN)); in testEncoding() 95 params.init(TestUtils.decodeBase64(ENCODED_DATA_TLEN)); in testEncoding()
|
D | AlgorithmParametersTestDESede.java | 68 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestDES.java | 68 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestAES.java | 70 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
D | AlgorithmParametersTestDSA.java | 145 params.init(TestUtils.decodeBase64(ENCODED_DATA)); in testEncoding()
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 175 return getPublicKeyFromDer(decodeBase64(publicKeyObject)); in getPublicKeyFromPem() 187 return getPrivateKeyFromDer(decodeBase64(privateKeyObject)); in getPrivateKeyFromPem() 206 return verify(decodeBase64(signature), in isValid()
|
D | HMAC_SHA1.java | 53 byte[] actual = decodeBase64(signature); in isValid()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 828 public static byte[] decodeBase64(String base64String) { in decodeBase64() method in Base64Codec 839 public static byte[] decodeBase64(byte[] base64Data) { in decodeBase64() method in Base64Codec 991 return new BigInteger(1, decodeBase64(pArray)); in decodeInteger()
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 225 return decodeBase64(pArray); in decode() 377 public static byte[] decodeBase64(byte[] base64Data) { in decodeBase64() method in Base64
|
/external/apache-http/src/org/apache/commons/codec/net/ |
D | BCodec.java | 92 return Base64.decodeBase64(bytes); in doDecoding()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/ |
D | TriggerRepository.java | 150 new ByteArrayInputStream(Base64Codec.decodeBase64(triggers.getBytes())); in deserializeTriggersFromString()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPUtils.java | 495 public static byte[] decodeBase64(String base64String) throws XMPException in decodeBase64() method in XMPUtils
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiJsonParser.java | 116 scanIe.bytes = Base64Codec.decodeBase64(jIe.getString("bytes")); in getScanResult()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | CertificatePinner.java | 258 ByteString decodedPin = ByteString.decodeBase64(pin.substring("sha1/".length())); in add()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | CertificatePinner.java | 261 ByteString decodedPin = ByteString.decodeBase64(pin.substring("sha1/".length())); in add()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 248 byte[] valid = TestUtils.decodeBase64(VALID_CERTIFICATE_DER_BASE64); in test_generateCertificate() 471 valid = TestUtils.decodeBase64(VALID_CERTIFICATE_DER_BASE64); in test_generateCertificate_PartialInput()
|