Searched refs:Base64 (Results 1 – 16 of 16) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | 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()); 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 …]
|
D | LibcoreIoDerivedBase64Test.java | 29 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/ |
D | AKISerialNumberTest.java | 41 import java.util.Base64; 108 private static Base64.Decoder b64Decoder = Base64.getMimeDecoder();
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestEntryVerifier.java | 34 import java.util.Base64; 148 Base64.getMimeDecoder().decode((String)se.getValue())); in setEntry()
|
D | SignatureFileVerifier.java | 40 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/ |
D | CertBlacklistTest.java | 22 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/ |
D | SSLServerSocketTest.java | 30 import java.util.Base64; 397 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | HandshakeCompletedEventTest.java | 28 import java.util.Base64; 538 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | SSLSocketTest.java | 28 import java.util.Base64; 593 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyManagers()
|
D | SSLSessionTest.java | 29 import java.util.Base64; 609 byte[] bytes = Base64.getDecoder().decode(keys.getBytes()); in getKeyStore()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Base64.java | 36 class Base64 { class
|
D | AbstractPreferences.java | 641 put(key, Base64.byteArrayToBase64(value)); in putByteArray() 666 result = Base64.base64ToByteArray(value); in getByteArray()
|
D | FileSystemPreferences.java | 840 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/ |
D | PrintStreamTest.java | 34 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/ |
D | Base64.java | 77 public class Base64 { class 79 private Base64() {} in Base64() method in Base64
|
/libcore/ |
D | openjdk_java_files.bp | 870 "ojluni/src/main/java/java/util/Base64.java", 1139 "ojluni/src/main/java/java/util/prefs/Base64.java",
|