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

1 2 3 4 5 6 7 8 9

  /bionic/libc/upstream-openbsd/lib/libc/net/
base64.c 1 /* $OpenBSD: base64.c,v 1.8 2015/01/16 16:48:51 deraadt Exp $ */
58 static const char Base64[] =
75 of which is translated into a single digit in the base64 alphabet.
81 Table 1: The Base64 Alphabet
109 Since all base64 input is an integral number of octets, only the
150 target[datalength++] = Base64[output[0]];
151 target[datalength++] = Base64[output[1]];
152 target[datalength++] = Base64[output[2]];
153 target[datalength++] = Base64[output[3]];
169 target[datalength++] = Base64[output[0]]
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
base64.c 81 base64.c,v 1.1.1.1 2003/11/19 01:51:25 kyu3 Exp
100 static const char Base64[] =
117 of which is translated into a single digit in the base64 alphabet.
123 Table 1: The Base64 Alphabet
151 Since all base64 input is an integral number of octets, only the
192 target[datalength++] = Base64[output[0]];
193 target[datalength++] = Base64[output[1]];
194 target[datalength++] = Base64[output[2]];
195 target[datalength++] = Base64[output[3]];
214 target[datalength++] = Base64[output[0]];
    [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);
171 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e);
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
TextBody.java 18 import android.util.Base64;
37 out.write(Base64.encode(bytes, Base64.CRLF));
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
TextBody.java 22 import android.util.Base64;
40 out.write(Base64.encode(bytes, Base64.CRLF));
  /development/samples/ApiDemos/src/com/example/android/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/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/base/core/java/android/provider/
FontRequest.java 19 import android.util.Base64;
129 builder.append(Base64.encodeToString(array, Base64.DEFAULT));
  /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/webrtc/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
  /frameworks/support/compat/src/main/java/androidx/core/provider/
FontRequest.java 21 import android.util.Base64;
160 builder.append(Base64.encodeToString(array, Base64.DEFAULT));
  /packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
UiFactory.java 35 import android.util.Base64;
227 writer.println(Base64.encodeToString(
228 out.toByteArray(), Base64.NO_WRAP | Base64.NO_PADDING));
  /developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
MainActivity.java 28 import android.util.Base64;
168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
  /developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
MainActivity.java 28 import android.util.Base64;
168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
  /development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
MainActivity.java 28 import android.util.Base64;
168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
  /external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
Decoder.java 25 import org.ksoap2.kobjects.base64.Base64;
182 if ("base64".equals(getHeader("Content-Transfer-Encoding"))) {
191 Base64.decode(line, os);
  /frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
KeyChainSnapshotSerializer.java 50 import android.util.Base64;
187 xmlSerializer.text(Base64.encodeToString(propertyValue, /*flags=*/ Base64.DEFAULT));
  /libcore/ojluni/src/main/java/java/util/prefs/
Base64.java 29 * Static methods for translating Base64 encoded strings to byte arrays
36 class Base64 {
38 * Translates the specified byte array into a Base64 string as per
47 * Base64 string. This non-standard variant uses an alphabet that does
63 // Translate all full groups from byte array elements to Base64
97 * index values into their "Base64 Alphabet" equivalents as specified
110 * index values into their "Alternate Base64 Alphabet" equivalents.
111 * This is NOT the real Base64 Alphabet as per in Table 1 of RFC 2045.
124 * Translates the specified Base64 string (as per Preferences.get(byte[]))
127 * @throw IllegalArgumentException if <tt>s</tt> is not a valid Base64
    [all...]
  /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...]
  /libcore/luni/src/test/java/libcore/java/util/
Base64Test.java 29 import java.util.Base64;
30 import java.util.Base64.Decoder;
31 import java.util.Base64.Encoder;
71 checkAlphabet(TABLE_1, "", Base64.getEncoder());
75 checkAlphabet(TABLE_1, "\r\n", Base64.getMimeEncoder());
79 checkAlphabet(TABLE_2, "", Base64.getUrlEncoder());
84 assertEquals("Base64 alphabet size must be 64 characters", 64, expectedAlphabet.size());
112 Decoder basicDecoder = Base64.getDecoder(); // uses Table 1
127 Decoder urlDecoder = Base64.getUrlDecoder(); // uses Table 2
216 Decoder mimeDecoder = Base64.getMimeDecoder()
    [all...]

Completed in 561 milliseconds

1 2 3 4 5 6 7 8 9