HomeSort by relevance Sort by last modified time
    Searched full:encoded (Results 1 - 25 of 3881) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
LazyEncodedSequence.java 7 * Note: this class is for processing DER/DL encoded sequences only.
12 private byte[] encoded; field in class:LazyEncodedSequence
15 byte[] encoded)
18 this.encoded = encoded;
23 Enumeration en = new LazyConstructionEnumeration(encoded);
30 encoded = null;
35 if (encoded != null)
45 if (encoded == null)
50 return new LazyConstructionEnumeration(encoded);
    [all...]
LazyConstructionEnumeration.java 12 public LazyConstructionEnumeration(byte[] encoded)
14 aIn = new ASN1InputStream(encoded, true);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerGeneralizedTimeEDTest.java 54 byte[] encoded =
55 new DerOutputStream(gTime, myDate).encoded;
56 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
61 encoded =
62 new DerOutputStream(gTime, myDate).encoded;
63 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
68 encoded =
69 new DerOutputStream(gTime, myDate).encoded;
    [all...]
  /external/chromium_org/base/
base64_unittest.cc 15 std::string encoded; local
19 ok = Base64Encode(kText, &encoded);
21 EXPECT_EQ(kBase64Text, encoded);
23 ok = Base64Decode(encoded, &decoded);
  /libcore/luni/src/main/java/java/security/cert/
PolicyQualifierInfo.java 31 private final byte[] encoded; field in class:PolicyQualifierInfo
36 // DER encoding of the policy qualifier - part of encoded
40 * Creates a new {@code PolicyQualifierInfo} from the specified encoded
43 * @param encoded
44 * the DER encoded policy qualifier.
48 public PolicyQualifierInfo(byte[] encoded) throws IOException {
49 if (encoded == null) {
50 throw new NullPointerException("encoded == null");
52 if (encoded.length == 0) {
53 throw new IOException("encoded.length == 0")
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
X509PublicKey.java 31 private final byte[] encoded; field in class:X509PublicKey
33 public X509PublicKey(String algorithm, byte[] encoded) {
35 this.encoded = encoded;
50 return encoded;
55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded)
64 result = prime * result + Arrays.hashCode(encoded);
82 if (!Arrays.equals(encoded, other.encoded))
    [all...]
OpenSSLSecretKey.java 33 private final byte[] encoded; field in class:OpenSSLSecretKey
37 public OpenSSLSecretKey(String algorithm, byte[] encoded) {
39 this.encoded = encoded;
42 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
50 encoded = null;
82 return encoded;
116 return Arrays.equals(encoded, other.getEncoded());
127 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
  /external/chromium/chrome/browser/metrics/
metrics_log_unittest.cc 56 std::string encoded; local
58 ASSERT_TRUE(log.GetEncodedLog(WriteInto(&encoded, size + 1), size));
59 TrimWhitespaceASCII(encoded, TRIM_ALL, &encoded);
60 NormalizeBuildtime(&encoded);
63 ASSERT_EQ(expected_output, encoded);
80 std::string encoded; local
82 ASSERT_TRUE(log.GetEncodedLog(WriteInto(&encoded, size + 1), size));
83 TrimWhitespaceASCII(encoded, TRIM_ALL, &encoded);
131 std::string encoded; local
160 std::string encoded; local
190 std::string encoded; local
226 std::string encoded; local
    [all...]
  /cts/tools/dex-tools/
TODO.txt 5 Add support for big endian encoded files
  /external/chromium/base/
base64_unittest.cc 19 std::string encoded, decoded; local
22 ok = base::Base64Encode(kText, &encoded);
24 EXPECT_EQ(kBase64Text, encoded);
26 ok = base::Base64Decode(encoded, &decoded);
  /external/chromium/net/base/
escape_icu.cc 17 // behavior is wrong when the character can't be encoded properly.
18 std::string encoded; local
20 base::OnStringConversionError::SKIP, &encoded))
23 escaped->assign(UTF8ToUTF16(EscapeQueryParamValue(encoded, use_plus)));
  /external/chromium_org/ui/gfx/image/
image_util_unittest.cc 17 std::vector<unsigned char> encoded; local
18 ASSERT_TRUE(gfx::JPEG1xEncodedDataFromImage(original, 80, &encoded));
21 gfx::ImageFrom1xJPEGEncodedData(&encoded.front(), encoded.size());
  /libcore/luni/src/main/java/java/security/spec/
EncodedKeySpec.java 21 * The abstract key specification for a public or a private key in encoded
25 // Encoded key
29 * Creates a new {@code EncodedKeySpec} with the specified encoded key bytes.
32 * the encoded key bytes.
43 * Returns the encoded key bytes.
45 * @return the encoded key bytes.
56 * Returns the name of the encoding format of this encoded key
59 * @return the name of the encoding format of this encoded key
PKCS8EncodedKeySpec.java 21 * The key specification for an encoded private key in ASN.1 format as defined
27 * Creates a new {@code PKCS8EncodedKeySpec} with the specified encoded key
31 * the encoded key bytes.
39 * Returns a copy of the encoded key bytes.
41 * @return a copy of the encoded key bytes.
49 * Returns the name of the encoding format of this encoded key
X509EncodedKeySpec.java 21 * The key specification of an X.509 encoded key in ASN.1 format.
26 * Creates a new {@code X509EncodedKeySpec} with the specified encoded key
30 * the encoded key bytes.
38 * Returns the encoded key bytes.
40 * @return the encoded key bytes.
48 * Returns the name of the encoding format of this encoded key
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
PublicKeyStub.java 39 byte [] encoded = null; field in class:PublicKeyStub
44 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
47 this.encoded = encoded;
66 * returns encoded
70 return encoded;
PrivateKeyStub.java 36 byte [] encoded = null; field in class:PrivateKeyStub
44 * @param encoded
46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
49 this.encoded = encoded;
69 * Returns encoded form
73 return encoded;
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BerOutputStream.java 33 /** Encoded byte array */
34 public byte[] encoded; field in class:BerOutputStream
39 /** Current encoded length */
42 /** Current encoded content */
46 encoded[offset++] = (byte) tag; //FIXME long form?
55 encoded[offset] = (byte) (numOctets | 0x80);
61 encoded[numOffset - i] = (byte) eLen; //FIXME long value?
65 encoded[offset++] = (byte) length;
70 System.arraycopy(content, 0, encoded, offset, length);
77 encoded[offset] = (byte) bStr.unusedBits
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
PublicKeyStub.java 40 byte [] encoded = null; field in class:PublicKeyStub
45 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
48 this.encoded = encoded;
67 * returns encoded
71 return encoded;
PrivateKeyStub.java 37 byte [] encoded = null; field in class:PrivateKeyStub
45 * @param encoded
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
50 this.encoded = encoded;
70 * Returns encoded form
74 return encoded;
  /external/chromium_org/ui/gfx/codec/
png_codec_unittest.cc 269 std::vector<unsigned char> encoded; local
273 &encoded));
278 ASSERT_TRUE(PNGCodec::Decode(&encoded[0], encoded.size(),
298 std::vector<unsigned char> encoded; local
302 &encoded));
307 ASSERT_TRUE(PNGCodec::Decode(&encoded[0], encoded.size(),
327 std::vector<unsigned char> encoded; local
331 &encoded));
357 std::vector<unsigned char> encoded; local
402 std::vector<unsigned char> encoded; local
445 std::vector<unsigned char> encoded; local
488 std::vector<unsigned char> encoded; local
521 std::vector<unsigned char> encoded; local
558 std::vector<unsigned char> encoded; local
594 std::vector<unsigned char> encoded; local
632 std::vector<unsigned char> encoded; local
670 std::vector<unsigned char> encoded; local
699 std::vector<unsigned char> encoded; local
728 std::vector<unsigned char> encoded; local
765 std::vector<unsigned char> encoded; local
802 std::vector<unsigned char> encoded; local
833 std::vector<unsigned char> encoded; local
866 std::vector<unsigned char> encoded; local
936 std::vector<unsigned char> encoded; local
995 std::vector<unsigned char> encoded; local
1022 std::vector<unsigned char> encoded; local
1049 std::vector<unsigned char> encoded; local
1088 std::vector<unsigned char> encoded; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseCipherSpi.java 105 byte[] encoded = key.getEncoded();
106 if (encoded == null)
115 return engineDoFinal(encoded, 0, encoded.length);
119 return wrapEngine.wrap(encoded, 0, encoded.length);
134 byte[] encoded;
139 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
143 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
161 return new SecretKeySpec(encoded, wrappedKeyAlgorithm)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Hex.java 24 byte[] encoded = encode(data, off, length);
25 return Strings.fromByteArray(encoded);
29 * encode the input data producing a Hex encoded byte array.
31 * @return a byte array containing the Hex encoded data.
40 * encode the input data producing a Hex encoded byte array.
42 * @return a byte array containing the Hex encoded data.
92 * decode the Hex encoded input data. It is assumed the input data is valid.
114 * decode the Hex encoded String data - whitespace will be ignored.
136 * decode the Hex encoded String data writing it to the given output stream,
  /external/chromium/net/tools/testserver/
asn1der.py 25 encoded TLV value.
38 encoded TLV value.
49 encoded TLV value.
57 values: the list of values, must be strings holding already encoded data.
59 encoded TLV value.
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
UrlUtils.java 32 // URLEncoder encodes into application/x-www-form-encoded, so
35 String encoded = local
38 encoded = encoded.replace("+", "%20");
39 return encoded;

Completed in 3317 milliseconds

1 2 3 4 5 6 7 8 91011>>