Home
last modified time | relevance | path

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

12

/external/okhttp/okio/okio/src/test/java/okio/
DByteStringTest.java197 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 …]
DInflaterSourceTest.java32 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/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java175 return getPublicKeyFromDer(decodeBase64(publicKeyObject)); in getPublicKeyFromPem()
187 return getPrivateKeyFromDer(decodeBase64(privateKeyObject)); in getPrivateKeyFromPem()
206 return verify(decodeBase64(signature), in isValid()
DHMAC_SHA1.java53 byte[] actual = decodeBase64(signature); in isValid()
DOAuthSignatureMethod.java197 public static byte[] decodeBase64(String s) { in decodeBase64() method in OAuthSignatureMethod
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBase64.java20 return base64.decodeBase64(str); in decode()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java829 public static byte[] decodeBase64(String base64String) { in decodeBase64() method in Base64Codec
840 public static byte[] decodeBase64(byte[] base64Data) { in decodeBase64() method in Base64Codec
992 return new BigInteger(1, decodeBase64(pArray)); in decodeInteger()
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java225 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/
DBCodec.java92 return Base64.decodeBase64(bytes); in doDecoding()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java152 new ByteArrayInputStream(Base64Codec.decodeBase64(triggers.getBytes())); in deserializeTriggersFromString()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPUtils.java495 public static byte[] decodeBase64(String base64String) throws XMPException in decodeBase64() method in XMPUtils
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCertificatePinner.java258 ByteString decodedPin = ByteString.decodeBase64(pin.substring("sha1/".length())); in add()
DCache.java628 bytes.write(ByteString.decodeBase64(line)); in readCertificateList()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCertificatePinnerTest.java74 return ByteString.decodeBase64(pin.substring("sha1/".length())); in pinToBase64()
/external/okhttp/okio/okio/src/main/java/okio/
DByteString.java137 public static ByteString decodeBase64(String base64) { in decodeBase64() method in ByteString
/external/owasp/sanitizer/lib/commons-codec-1.4/
Dcommons-codec-1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/src/tests/org/owasp/html/
DAntiSamyTest.java390 Base64.decodeBase64(BASE64_BAD_XML_STRINGS[i]),
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java223 conn.write(Base64Codec.decodeBase64(base64)); in bluetoothRfcommWriteBinary()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.codec_1.3.0.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.security_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v1/lib/main/
Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaImpl.java1411 value = XMPUtils.decodeBase64(rawValue);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java1297 byte[] trailingCompressedBytes = ByteString.decodeBase64(frame).toByteArray();
/external/guice/lib/build/
Dbnd-0.0.384.jarMETA-INF/MANIFEST.MF LICENSE OSGI-OPT/ OSGI-OPT/bnd.bnd ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12