HomeSort by relevance Sort by last modified time
    Searched defs:Base64 (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /frameworks/base/services/core/java/com/android/server/updates/
TZInfoInstallReceiver.java 19 import android.util.Base64;
31 super.install(Base64.decode(encodedContent, Base64.DEFAULT), version);
  /external/smack/src/org/xbill/DNS/utils/
base64.java 8 * Routines for converting between Strings of base64-encoded data and arrays of
14 public class base64 { class
16 private static final String Base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
19 base64() {} method in class:base64
22 * Convert binary data to a base64-encoded String
56 os.write(Base64.charAt(t[j]));
62 * Formats data into a nicely formatted base64 encoded String
90 * Convert a base64-encoded String to binary data
115 s[j] = (short) Base64.indexOf(in[i*4+j]);
  /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 9 public class Base64
58 throw new EncoderException("exception encoding base64 string: " + e.getMessage(), e);
109 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e);
132 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()));
  /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));
  /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/src/main/java/okio/
Base64.java 26 final class Base64 {
27 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...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
base64.h 3 //* C_Base64 - a simple base64 encoder and decoder.
20 class Base64
24 DO_PARSE_STRICT = 1, // Parse only base64 characters
25 DO_PARSE_WHITE = 2, // Parse only base64 and whitespace characters
51 // Expects the |ch| be a base64 char.
56 // Determines whether the given string consists entirely of valid base64
  /external/chromium_org/third_party/webrtc/base/
base64.h 3 //* C_Base64 - a simple base64 encoder and decoder.
20 class Base64
24 DO_PARSE_STRICT = 1, // Parse only base64 characters
25 DO_PARSE_WHITE = 2, // Parse only base64 and whitespace characters
51 // Expects the |ch| be a base64 char.
56 // Determines whether the given string consists entirely of valid base64
  /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 
  /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 $
36 public class Base64 implements BinaryEncoder, BinaryDecoder {
95 // Create arrays to hold the base64 characters and a
96 // lookup for base64 chars
146 * only valid characters within the Base64 alphabet.
149 * @return true if all bytes are valid characters in the Base64
158 // shouldn't a 0 length array be valid base64 data?
171 * Encodes binary data using the base64 algorithm bu
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/mhtml/
MHTMLParser.cpp 40 #include "wtf/text/Base64.h"
53 Base64,
163 if (encoding == "base64")
164 return Base64;
341 case MIMEHeader::Base64:
343 WTF_LOG_ERROR("Invalid base64 content for MHTML part.");
  /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...]
  /external/smack/src/org/jivesoftware/smack/util/
Base64.java 10 * <p>Encodes and decodes to and from Base64 notation.</p>
11 * This code was obtained from <a href="http://iharder.net/base64">http://iharder.net/base64</a></p>
18 public class Base64
39 /** Don't break lines when encoding (violates strict Base64 specification) */
43 * Encode using Base64-like encoding that is URL- and Filename-safe as described
46 * It is important to note that data encoded this way is <em>not</em> officially valid Base64,
47 * or at the very least should not be called Base64 without also specifying that is
54 * Encode using the special "ordered" dialect of Base64 described here:
63 /** Maximum line length (76) of Base64 output. */
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
plexus-cipher-1.7.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/plexus/plexus-cipher/1.7/
plexus-cipher-1.7.jar 

Completed in 628 milliseconds

1 2 3 4