Home
last modified time | relevance | path

Searched refs:encodeBase64 (Results 1 – 25 of 37) sorted by relevance

12

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java640 public static byte[] encodeBase64(byte[] binaryData) { in encodeBase64() method in Base64Codec
641 return encodeBase64(binaryData, false); in encodeBase64()
653 return StringUtils.newStringUtf8(encodeBase64(binaryData, true)); in encodeBase64String()
666 return encodeBase64(binaryData, false, true); in encodeBase64URLSafe()
679 return StringUtils.newStringUtf8(encodeBase64(binaryData, false, true)); in encodeBase64URLSafeString()
690 return encodeBase64(binaryData, true); in encodeBase64Chunked()
765 public static byte[] encodeBase64(byte[] binaryData, boolean isChunked) { in encodeBase64() method in Base64Codec
766 return encodeBase64(binaryData, isChunked, false); in encodeBase64()
783 public static byte[] encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe) { in encodeBase64() method in Base64Codec
784 return encodeBase64(binaryData, isChunked, urlSafe, Integer.MAX_VALUE); in encodeBase64()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java159 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
164 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
173 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
182 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
187 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestEC.java73 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
77 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DKeyPairGeneratorTest.java350 TestUtils.encodeBase64(encoded), in test_KeyWithAllKeyFactories()
351 TestUtils.encodeBase64(privKey.getEncoded())); in test_KeyWithAllKeyFactories()
359 TestUtils.encodeBase64(encoded), in test_KeyWithAllKeyFactories()
360 TestUtils.encodeBase64(pubKey.getEncoded())); in test_KeyWithAllKeyFactories()
DAlgorithmParametersTestDES.java60 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestDESede.java71 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestAES.java72 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestDSA.java138 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestGCM.java86 String encoded = TestUtils.encodeBase64(params.getEncoded()); in testEncoding()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java155 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
160 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
169 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
178 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
183 TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestEC.java70 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
74 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DKeyPairGeneratorTest.java347 TestUtils.encodeBase64(encoded), in test_KeyWithAllKeyFactories()
348 TestUtils.encodeBase64(privKey.getEncoded())); in test_KeyWithAllKeyFactories()
356 TestUtils.encodeBase64(encoded), in test_KeyWithAllKeyFactories()
357 TestUtils.encodeBase64(pubKey.getEncoded())); in test_KeyWithAllKeyFactories()
DAlgorithmParametersTestDES.java56 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestAES.java69 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestDESede.java67 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestDSA.java134 assertEquals(ENCODED_DATA, TestUtils.encodeBase64(params.getEncoded())); in testEncoding()
DAlgorithmParametersTestGCM.java82 String encoded = TestUtils.encodeBase64(params.getEncoded()); in testEncoding()
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java182 public static byte[] encodeBase64(byte[] binaryData) { in encodeBase64() method in Base64
183 return encodeBase64(binaryData, false); in encodeBase64()
194 return encodeBase64(binaryData, true); in encodeBase64Chunked()
237 public static byte[] encodeBase64(byte[] binaryData, boolean isChunked) { in encodeBase64() method in Base64
526 return encodeBase64(pArray, false); in encode()
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DByteString.kt28 import okio.encodeBase64 in <lambda>()
49 internal inline fun ByteString.commonBase64(): String = data.encodeBase64() in commonBase64()
52 internal inline fun ByteString.commonBase64Url() = data.encodeBase64(map = BASE64_URL_SAFE) in commonBase64()
/external/llvm-project/llvm/unittests/Support/
DBase64Test.cpp23 auto Res = encodeBase64(Input); in TestBase64()
/external/llvm-project/llvm/include/llvm/Support/
DBase64.h20 template <class InputBytes> std::string encodeBase64(InputBytes const &Bytes) { in encodeBase64() function
/external/apache-http/src/org/apache/commons/codec/net/
DBCodec.java85 return Base64.encodeBase64(bytes); in doEncoding()
/external/apache-http/src/org/apache/http/impl/auth/
DBasicScheme.java175 byte[] base64password = Base64.encodeBase64( in authenticate()
/external/okio/okio/src/commonMain/kotlin/okio/
D-Base64.kt115 internal fun ByteArray.encodeBase64(map: ByteArray = BASE64): String { in encodeBase64() method
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java165 return new String(Base64Codec.encodeBase64(outputStream.toByteArray())); in serializeTriggersToString()

12