/external/openssh/openbsd-compat/ |
D | base64.c | 65 static const char Base64[] = variable 154 target[datalength++] = Base64[output[0]]; in b64_ntop() 155 target[datalength++] = Base64[output[1]]; in b64_ntop() 156 target[datalength++] = Base64[output[2]]; in b64_ntop() 157 target[datalength++] = Base64[output[3]]; in b64_ntop() 173 target[datalength++] = Base64[output[0]]; in b64_ntop() 174 target[datalength++] = Base64[output[1]]; in b64_ntop() 178 target[datalength++] = Base64[output[2]]; in b64_ntop() 213 pos = strchr(Base64, ch); in b64_pton() 222 target[tarindex] = (pos - Base64) << 2; in b64_pton() [all …]
|
/external/owasp/sanitizer/lib/commons-codec-1.4/ |
D | RELEASE-NOTES.txt | 10 such as Base64 and Hexadecimal. In addition to these widely used encoders and 25 o [CODEC-69] Streaming Base64 (Base64InputStream and Base64OutputStream added). 26 o [CODEC-59] Add methods to Base64 which work with String instead of byte[] 30 o [CODEC-77] Base64 bug with empty input (new byte[0]). 32 o [CODEC-71] Base64.isArrayByteBase64() method is inefficient for large byte arrays. 36 o [CODEC-61] Base64.encodeBase64() throws NegativeArraySizeException on large files. 37 o [CODEC-58] Character set used by Base64 not documented. 42 o [CODEC-22] Base64.isArrayByteBase64() throws an ArrayIndexOutOfBoundsException for negative octets 43 o [CODEC-78] Base64: Improve Code Coverage 44 o [CODEC-81] Base64's new constructor parameters ignored [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBase64.java | 6 import org.apache.commons.codec.binary.Base64; 8 @Implements(android.util.Base64.class) 13 Base64 base64 = new Base64(); in encodeToString() 19 Base64 base64 = new Base64(); in decode()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/provider/cert/ |
D | CertFactoryTestData.java | 26 import org.apache.harmony.luni.util.Base64; 298 return Base64.decode(certPathPKCS7Base64.getBytes("UTF-8")); in getCertPathPKCS7Encoding() 302 return Base64.decode(certPathPkiPathBase64.getBytes("UTF-8")); in getCertPathPkiPathEncoding() 306 return Base64.decode(certEncodingBase64.getBytes("UTF-8")); in getCertEncoding() 318 return Base64.decode(crlEncodingBase64.getBytes("UTF-8")); in getCRLEncoding()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | Base64Test.java | 3 import android.util.Base64; 21 String result = Base64.encodeToString(base64Decoded.getBytes(), Base64.DEFAULT); in testEncodeToString() 28 byte[] result = Base64.decode(base64Encoded, Base64.DEFAULT); in testDecode()
|
/external/libvncserver/webclients/novnc/include/ |
D | base64.js | 47 var Base64 = { variable 56 chrTable = Base64.toBase64Table.split(''), 57 pad = Base64.base64Pad, 100 var binTable = Base64.toBinaryTable, 101 pad = Base64.base64Pad,
|
D | websock.js | 171 return Base64.encode(sQ); 177 rQ = rQ.concat(Base64.decode(data, 0));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateFactory_ImplTest.java | 36 import org.apache.harmony.luni.util.Base64; 216 Base64.decode(b64PublicKeySpec.getBytes("UTF-8"))); 262 Base64.decode(pkcs7so.getBytes("UTF-8"))); in testGenerateCRLs() 286 Base64.decode(pkcs7so.getBytes("UTF-8"))); in testGenerateCRL() 292 bais = new ByteArrayInputStream(Base64.decode(pkcs7so.getBytes("UTF-8"))); in testGenerateCRL() 409 data[asn_x509] = Base64.decode(x509crl.getBytes("UTF-8")); in testGenerateBase64CRLs() 411 data[asn_pkcs] = Base64.decode(pkcs7so.getBytes("UTF-8")); in testGenerateBase64CRLs() 509 data[asn_x509] = Base64.decode(x509cert.getBytes("UTF-8")); in testGenerateBase64Certificates() 511 data[asn_pkcs] = Base64.decode(pkcs7so.getBytes("UTF-8")); in testGenerateBase64Certificates() 753 Base64.decode(pkcs7so.getBytes("UTF-8"))); in testGenerateCertificates() [all …]
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
D | DigitalSignatureTest.java | 34 import org.apache.harmony.luni.util.Base64; 80 .generatePrivate(new PKCS8EncodedKeySpec(Base64 in test_Sign() 83 .generatePublic(new X509EncodedKeySpec(Base64 in test_Sign()
|
/external/apache-http/src/org/apache/commons/codec/net/ |
D | BCodec.java | 24 import org.apache.commons.codec.binary.Base64; 85 return Base64.encodeBase64(bytes); in doEncoding() 92 return Base64.decodeBase64(bytes); in doDecoding()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
D | MarshalBase64.java | 37 return Base64.decode(parser.nextText()); in readInstance() 41 writer.text(Base64.encode((byte[]) obj)); in writeInstance()
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | OAuthSignatureMethod.java | 36 import android.util.Base64; 198 return Base64.decode(s, Base64.DEFAULT); in decodeBase64() 202 return Base64.encodeToString(b, Base64.DEFAULT); in base64Encode()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertificateTest.java | 37 import org.apache.harmony.luni.util.Base64; 267 is = new ByteArrayInputStream(Base64.decode(base64cert.getBytes("UTF-8"))); in testGetExtensionValue() 272 is = new ByteArrayInputStream(Base64.decode(base64crl.getBytes("UTF-8"))); in testGetExtensionValue()
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
D | PinFailureLogger.java | 22 import libcore.io.Base64; 56 sb.append(Base64.encode(cert.getEncoded())); in writeToLog()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPUtils.java | 12 import com.adobe.xmp.impl.Base64; 483 return new String(Base64.encode(buffer)); in encodeBase64() 499 return Base64.decode(base64String.getBytes()); in decodeBase64()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | PEMUtil.java | 7 import org.bouncycastle.util.encoders.Base64; 78 return ASN1Sequence.getInstance(Base64.decode(pemBuf.toString())); in readPEMObject()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
D | PemReader.java | 9 import org.bouncycastle.util.encoders.Base64; 84 return new PemObject(type, headers, Base64.decode(buf.toString())); in loadObject()
|
D | PemWriter.java | 8 import org.bouncycastle.util.encoders.Base64; 102 bytes = Base64.encode(bytes); in writeEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PEMUtil.java | 9 import org.bouncycastle.util.encoders.Base64; 83 ASN1Primitive o = new ASN1InputStream(Base64.decode(pemBuf.toString())).readObject(); in readPEMObject()
|
/external/apache-http/src/org/apache/http/impl/auth/ |
D | BasicScheme.java | 33 import org.apache.commons.codec.binary.Base64; 175 byte[] base64password = Base64.encodeBase64( in authenticate()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Base64.java | 25 final class Base64 { class 26 private Base64() { in Base64() method in Base64
|
D | ByteString.java | 102 return Base64.encode(data); in base64() 128 return Base64.encodeUrl(data); in base64Url() 137 byte[] decoded = Base64.decode(base64); in decodeBase64()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
D | JsonMessageBuilder.java | 285 byte[] secretBytes = Base64.decode( in getSecretMessage() 303 byte[] secretBytes = Base64.decode( in getSecretAckMessage() 500 bytesStr = new String(Base64.encode(message.getSecret(), charsetName)); in toJson() 519 bytesStr = new String(Base64.encode(message.getSecret(), charsetName)); in toJson()
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
D | dynamic-dnsmasq.pl | 38 use MIME::Base64; 125 my ($user,$pass) = split ":", MIME::Base64::decode($1);
|
/external/apache-http/android/src/android/net/http/ |
D | AndroidHttpClient.java | 55 import android.util.Base64; 448 String base64 = Base64.encodeToString(stream.toByteArray(), Base64.NO_WRAP); in toCurl()
|