Home
last modified time | relevance | path

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

/external/okhttp/okio/src/test/java/okio/
DByteStringTest.java115 assertEquals("", ByteString.decodeBase64("====").utf8()); in ignoreUnnecessaryPadding()
116 assertEquals("\u0000\u0000\u0000", ByteString.decodeBase64("AAAA====").utf8()); in ignoreUnnecessaryPadding()
119 @Test public void decodeBase64() { in decodeBase64() method in ByteStringTest
120 assertEquals("", ByteString.decodeBase64("").utf8()); in decodeBase64()
121 assertEquals(null, ByteString.decodeBase64("/===")); // Can't do anything with 6 bits! in decodeBase64()
122 assertEquals(ByteString.decodeHex("ff"), ByteString.decodeBase64("//==")); in decodeBase64()
123 assertEquals(ByteString.decodeHex("ffff"), ByteString.decodeBase64("///=")); in decodeBase64()
124 assertEquals(ByteString.decodeHex("ffffff"), ByteString.decodeBase64("////")); in decodeBase64()
125 assertEquals(ByteString.decodeHex("ffffffffffff"), ByteString.decodeBase64("////////")); in decodeBase64()
127 ByteString.decodeBase64("V2hhdCdzIHRvIGJlIHNjYXJlZCBhYm91dD8gSXQncyBqdXN0IGEgbGl0dGxlIGhpY2" in decodeBase64()
[all …]
DInflaterSourceTest.java31 OkBuffer deflated = decodeBase64("eJxzz09RyEjNKVAoLdZRKE9VL0pVyMxTKMlIVchIzEspVshPU0jNS8/MS00tK" in inflate()
38 OkBuffer deflated = decodeBase64("eJxzz09RyEjNKVAoLdZRKE9VL0pVyMxTKMlIVchIzEspVshPU0jNS8/MS00tK" in inflateTruncated()
48 OkBuffer deflated = decodeBase64("eJztwTEBAAAAwqCs61/CEL5AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" in inflateWellCompressed()
77 private OkBuffer decodeBase64(String s) { in decodeBase64() method in InflaterSourceTest
78 return new OkBuffer().write(ByteString.decodeBase64(s)); in decodeBase64()
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/
DSoundSettings.java41 return StringUtils.decodeBase64(incomingSound); in getIncomingSoundBytes()
45 return StringUtils.decodeBase64(outgoingSound); in getOutgoingSoundBytes()
/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/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBase64.java20 return base64.decodeBase64(str); in decode()
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/
DDataPacketExtension.java116 this.decodedData = StringUtils.decodeBase64(data); in getDecodedData()
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java220 return decodeBase64(pArray); in decode()
372 public static byte[] decodeBase64(byte[] base64Data) { in decodeBase64() method in Base64
/external/apache-http/src/org/apache/commons/codec/net/
DBCodec.java87 return Base64.decodeBase64(bytes); in doDecoding()
/external/okhttp/okio/src/main/java/okio/
DByteString.java86 public static ByteString decodeBase64(String base64) { in decodeBase64() method in ByteString
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPUtils.java495 public static byte[] decodeBase64(String base64String) throws XMPException in decodeBase64() method in XMPUtils
/external/smack/src/org/jivesoftware/smack/sasl/
DSASLMechanism.java139 response = sc.evaluateChallenge(StringUtils.decodeBase64(challenge)); in challengeReceived()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Dcrypto-aes.js320 function decodeBase64(str) { function
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dcrypto-aes.js320 function decodeBase64(str) { function
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Dcrypto-aes.js320 function decodeBase64(str) { function
/external/owasp/sanitizer/src/tests/org/owasp/html/
DAntiSamyTest.java390 Base64.decodeBase64(BASE64_BAD_XML_STRINGS[i]),
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpResponseCache.java528 byte[] bytes = ByteString.decodeBase64(line).toByteArray(); in readCertificateList()
/external/smack/src/org/jivesoftware/smack/util/
DStringUtils.java713 public static byte[] decodeBase64(String data) { in decodeBase64() method in StringUtils
DPacketParserUtils.java638 byte [] bytes = StringUtils.decodeBase64(valueText); in parseProperties()
DPacketParserUtils.java.orig639 byte [] bytes = StringUtils.decodeBase64(valueText);
/external/smack/src/org/jivesoftware/smackx/packet/
DVCard.java420 return StringUtils.decodeBase64(photoBinval); in getAvatar()
/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/spdy/
DSpdyConnectionTest.java1418 peer.sendFrame(ByteString.decodeBase64(frame).toByteArray());