Home
last modified time | relevance | path

Searched refs:Base64 (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java29 import java.util.Base64;
30 import java.util.Base64.Decoder;
31 import java.util.Base64.Encoder;
71 checkAlphabet(TABLE_1, "", Base64.getEncoder()); in testAlphabet_plain()
75 checkAlphabet(TABLE_1, "\r\n", Base64.getMimeEncoder()); in testAlphabet_mime()
79 checkAlphabet(TABLE_2, "", Base64.getUrlEncoder()); in testAlphabet_url()
112 Decoder basicDecoder = Base64.getDecoder(); // uses Table 1 in testDecoder_extraChars_basic()
127 Decoder urlDecoder = Base64.getUrlDecoder(); // uses Table 2 in testDecoder_extraChars_url()
216 Decoder mimeDecoder = Base64.getMimeDecoder(); in testDecoder_extraChars_mime()
297 checkDecoder_nonPrintableBytes_table1(Base64.getDecoder()); in testDecoder_nonPrintableBytes_basic()
[all …]
DLibcoreIoDerivedBase64Test.java29 import java.util.Base64;
30 import java.util.Base64.Decoder;
265 Decoder decoder = Base64.getDecoder(); in decode()
274 return Base64.getEncoder().encodeToString(data); in encode()
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java41 import java.util.Base64;
108 private static Base64.Decoder b64Decoder = Base64.getMimeDecoder();
/libcore/ojluni/src/main/java/sun/security/util/
DManifestEntryVerifier.java34 import java.util.Base64;
148 Base64.getMimeDecoder().decode((String)se.getValue())); in setEntry()
DSignatureFileVerifier.java40 import java.util.Base64;
374 Base64.getMimeDecoder().decode((String)se.getValue()); in verifyManifestHash()
418 Base64.getMimeDecoder().decode((String)se.getValue()); in verifyManifestMainAttrs()
493 Base64.getMimeDecoder().decode((String)se.getValue()); in verifySection()
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/
DCertBlacklistTest.java22 import com.android.org.bouncycastle.util.encoders.Base64;
218 byte[] derCert = Base64.decode(cert.getBytes()); in createPublicKey()
225 byte[] derCert = Base64.decode(cert.getBytes()); in createSerialNumber()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLServerSocketTest.java30 import java.util.Base64;
397 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DHandshakeCompletedEventTest.java28 import java.util.Base64;
538 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DSSLSocketTest.java28 import java.util.Base64;
593 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
DSSLSessionTest.java29 import java.util.Base64;
609 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyStore()
/libcore/ojluni/src/main/java/java/util/prefs/
DBase64.java36 class Base64 { class
DAbstractPreferences.java641 put(key, Base64.byteArrayToBase64(value)); in putByteArray()
666 result = Base64.base64ToByteArray(value); in getByteArray()
DFileSystemPreferences.java840 return "_" + Base64.byteArrayToAltBase64(byteArray(nodeName));
866 byte a[] = Base64.altBase64ToByteArray(dirName.substring(1));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintStreamTest.java34 import java.util.Base64;
763 String message = "Expected " + Base64.getEncoder().encodeToString(expected) + ", got: " in assertByteArraysEqual()
764 + Base64.getEncoder().encodeToString(actual); in assertByteArraysEqual()
/libcore/ojluni/src/main/java/java/util/
DBase64.java77 public class Base64 { class
79 private Base64() {} in Base64() method in Base64
/libcore/
Dopenjdk_java_files.bp870 "ojluni/src/main/java/java/util/Base64.java",
1139 "ojluni/src/main/java/java/util/prefs/Base64.java",