/external/libvncserver/webclients/novnc/include/ |
base64.js | 47 var Base64 = { 49 /* Convert data (an array of integers) to a Base64 string. */ 56 chrTable = Base64.toBase64Table.split(''), 57 pad = Base64.base64Pad, 85 /* Convert Base64 data to a string */ 100 var binTable = Base64.toBinaryTable, 101 pad = Base64.base64Pad, 138 // If there are any bits left, the base64 string was corrupted 140 throw {name: 'Base64-Error', 141 message: 'Corrupted base64 string'} [all...] |
/bionic/libc/dns/net/ |
base64.c | 1 /* $NetBSD: base64.c,v 1.8 2002/11/11 01:15:17 thorpej Exp $ */ 47 __RCSID("$NetBSD: base64.c,v 1.8 2002/11/11 01:15:17 thorpej Exp $"); 69 static const char Base64[] = 86 of which is translated into a single digit in the base64 alphabet. 92 Table 1: The Base64 Alphabet 120 Since all base64 input is an integral number of octets, only the 170 target[datalength++] = Base64[output[0]]; 171 target[datalength++] = Base64[output[1]]; 172 target[datalength++] = Base64[output[2]]; 173 target[datalength++] = Base64[output[3]] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 10 * Utility class for converting Base64 data to bytes and back again. 12 public class Base64 61 throw new EncoderException("exception encoding base64 string: " + e.getMessage(), e); 112 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); 135 throw new DecoderException("unable to decode base64 string: " + e.getMessage(), e);
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
PinFailureLogger.java | 22 import libcore.io.Base64; 56 sb.append(Base64.encode(cert.getEncoded()));
|
/external/openssh/openbsd-compat/ |
base64.c | 1 /* $OpenBSD: base64.c,v 1.5 2006/10/21 09:55:03 otto Exp $ */ 45 /* OPENBSD ORIGINAL: lib/libc/net/base64.c */ 63 #include "base64.h" 65 static const char Base64[] = 82 of which is translated into a single digit in the base64 alphabet. 88 Table 1: The Base64 Alphabet 116 Since all base64 input is an integral number of octets, only the 154 target[datalength++] = Base64[output[0]]; 155 target[datalength++] = Base64[output[1]]; 156 target[datalength++] = Base64[output[2]] [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Base64.java | 28 * <a href="http://www.ietf.org/rfc/rfc2045.txt">Base64</a> encoder/decoder. 31 public final class Base64 { 32 private Base64() {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
TextBody.java | 22 import android.util.Base64; 40 out.write(Base64.encode(bytes, Base64.CRLF));
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
TextBody.java | 18 import android.util.Base64; 39 out.write(Base64.encode(bytes, Base64.CRLF));
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/ |
Base64.java | 21 package org.ksoap2.kobjects.base64; 25 public class Base64 { 36 len to the Base64 format. The encoded data is appended to the 115 /** Decodes the given Base64 encoded String to a new byte array.
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Base64.java | 25 final class Base64 { 26 private Base64() {
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 16 * A utility class to perform base64 encoding and decoding as specified 21 public class Base64 31 private static byte[] base64 = { field in class:Base64 59 for (int idx = 0; idx < base64.length; idx++) 61 ascii[base64[idx]] = (byte) idx; 78 * @return the base64-encoded data. 92 * @return the base64-encoded data. 125 dst[didx++] = base64[bits6]; 127 dst[didx++] = base64[bits6]; 129 dst[didx++] = base64[bits6] [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
Base64.java | 20 * dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/Base64.java 33 * This class implements Base64 encoding/decoding functionality 36 public class Base64 {
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
Decoder.java | 25 import org.ksoap2.kobjects.base64.*; 182 if ("base64".equals(getHeader("Content-Transfer-Encoding"))) { 191 Base64.decode(line, os);
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 20 import android.util.Base64; 282 // Lines 2-5 of the conversation contain base64-encoded information. The same conversation, with base64 strings decoded, reads: 297 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP), 300 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP), 314 data = Base64.encode(data, Base64.NO_WRAP); 342 byte[] data = Base64.encode(authPhrase.getBytes(), Base64.NO_WRAP) [all...] |
/prebuilts/tools/common/mkidentity/ |
mkidentity-prebuilt.jar | |
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
MainActivity.java | 30 import android.util.Base64; 189 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
MainActivity.java | 30 import android.util.Base64; 189 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/ |
MainActivity.java | 30 import android.util.Base64; 189 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
Base64.java | 25 * Provides Base64 encoding and decoding as defined by RFC 2045. 27 * <p>This class implements section <cite>6.8. Base64 Content-Transfer-Encoding</cite> 34 * @version $Id: Base64.java,v 1.20 2004/05/24 00:21:24 ggregory Exp $ 41 public class Base64 implements BinaryEncoder, BinaryDecoder { 100 // Create arrays to hold the base64 characters and a 101 // lookup for base64 chars 151 * only valid characters within the Base64 alphabet. 154 * @return true if all bytes are valid characters in the Base64 163 // shouldn't a 0 length array be valid base64 data? 176 * Encodes binary data using the base64 algorithm bu [all...] |
/frameworks/base/core/java/android/util/ |
Base64.java | 22 * Utilities for encoding and decoding the Base64 representation of 27 public class Base64 { 54 * filename safe" variant of Base64 (see RFC 3548 section 4) where 103 * Decode the Base64-encoded data in input and return the data in 112 * Pass {@code DEFAULT} to decode standard Base64. 122 * Decode the Base64-encoded data in input and return the data in 130 * Pass {@code DEFAULT} to decode standard Base64. 140 * Decode the Base64-encoded data in input and return the data in 150 * Pass {@code DEFAULT} to decode standard Base64. 179 * Base64 alphabet [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 22 import android.util.Base64; 218 writeHeader(writer, "Content-Transfer-Encoding", "base64"); 232 // Set up input stream and write it out via base64 260 // switch to output stream for base64 text output 263 out, Base64.CRLF | Base64.NO_CLOSE); 264 // copy base64 data and close up 357 * Note this always uses base64, even when not required. Slightly less efficient for 379 writeHeader(writer, "Content-Transfer-Encoding", "base64"); 383 out.write(Base64.encode(textBytes, Base64.CRLF)) [all...] |
/external/mdnsresponder/mDNSCore/ |
DNSDigest.c | [all...] |