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

1 2 3

  /frameworks/base/services/java/com/android/server/updates/
TZInfoInstallReceiver.java 19 import android.util.Base64;
32 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/netbsd/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/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/crypto/src/main/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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
Base64.java 11 * Basic Base64 Support.
16 public class Base64
110 throw new IOException("Illegal char in base64 code.");
121 throw new IOException("Unexpected '=' in base64 code.");
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/
Base64.java 29 * <a href="http://www.ietf.org/rfc/rfc2045.txt">Base64</a> encoder/decoder.
32 public final class Base64 {
33 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/mms/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/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
48 // Determines whether the given string consists entirely of valid base64
  /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
  /packages/apps/Email/src/com/android/email/mail/transport/
SmtpSender.java 20 import android.util.Base64;
268 // Lines 2-5 of the conversation contain base64-encoded information. The same conversation, with base64 strings decoded, reads:
283 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP),
286 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP),
300 data = Base64.encode(data, Base64.NO_WRAP);
  /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;
219 writeHeader(writer, "Content-Transfer-Encoding", "base64");
233 // Set up input stream and write it out via base64
261 // switch to output stream for base64 text output
264 out, Base64.CRLF | Base64.NO_CLOSE);
265 // copy base64 data and close up
358 * Note this always uses base64, even when not required. Slightly less efficient for
380 writeHeader(writer, "Content-Transfer-Encoding", "base64");
384 out.write(Base64.encode(textBytes, Base64.CRLF))
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
KnownHosts.java 22 import ch.ethz.ssh2.crypto.Base64;
169 String base64_salt = new String(Base64.encode(salt));
170 String base64_hash = new String(Base64.encode(hash));
217 salt = Base64.decode(salt_base64.toCharArray());
218 hash = Base64.decode(hash_base64.toCharArray());
444 byte[] msg = Base64.decode(arr[2].toCharArray());
774 writer.write(Base64.encode(serverHostKey));
  /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...]
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java 60 import android.util.Base64;
    [all...]
  /prebuilts/devtools/tools/lib/
jobb.jar 

Completed in 2530 milliseconds

1 2 3