HomeSort by relevance Sort by last modified time
    Searched refs:encoding (Results 1 - 25 of 507) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/
PrivateKeyImpl.java 35 private byte[] encoding; field in class:PrivateKeyImpl
51 byte[] toReturn = new byte[encoding.length];
52 System.arraycopy(encoding, 0, toReturn, 0, encoding.length);
61 public void setEncoding(byte[] encoding) {
62 this.encoding = new byte[encoding.length];
63 System.arraycopy(encoding, 0, this.encoding, 0, encoding.length)
    [all...]
PublicKeyImpl.java 35 private byte[] encoding; field in class:PublicKeyImpl
56 byte[] result = new byte[encoding.length];
57 System.arraycopy(encoding, 0, result, 0, encoding.length);
67 public void setEncoding(byte[] encoding) {
68 this.encoding = new byte[encoding.length];
69 System.arraycopy(encoding, 0, this.encoding, 0, encoding.length)
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
ExtensionValue.java 30 protected byte[] encoding; field in class:ExtensionValue
40 public ExtensionValue(byte[] encoding) {
41 this.encoding = encoding;
48 return encoding;
57 if (encoding == null) {
58 encoding = getEncoded();
60 if (encoding == null) {
63 buffer.append(Array.toString(encoding, prefix));
SubjectKeyIdentifier.java 54 public static SubjectKeyIdentifier decode(byte[] encoding)
57 ASN1OctetString.getInstance().decode(encoding));
58 res.encoding = encoding;
67 if (encoding == null) {
68 encoding = ASN1OctetString.getInstance().encode(keyIdentifier);
70 return encoding;
AlternativeName.java 57 public AlternativeName(boolean which, byte[] encoding) throws IOException {
58 super(encoding);
61 (GeneralNames) GeneralNames.ASN1.decode(encoding);
78 if (encoding == null) {
79 encoding = GeneralNames.ASN1.encode(alternativeNames);
81 return encoding;
CRLNumber.java 52 public CRLNumber(byte[] encoding) throws IOException {
53 super(encoding);
54 number = new BigInteger((byte[]) ASN1.decode(encoding));
69 if (encoding == null) {
70 encoding = ASN1.encode(number.toByteArray());
72 return encoding;
InhibitAnyPolicy.java 51 public InhibitAnyPolicy(byte[] encoding) throws IOException {
52 super(encoding);
54 ASN1Integer.getInstance().decode(encoding)).intValue();
69 if (encoding == null) {
70 encoding = ASN1Integer.getInstance()
73 return encoding;
InvalidityDate.java 50 public InvalidityDate(byte[] encoding) throws IOException {
51 super(encoding);
52 date = (Date) ASN1.decode(encoding);
67 if (encoding == null) {
68 encoding = ASN1.encode(date);
70 return encoding;
KeyUsage.java 76 public KeyUsage(byte[] encoding) throws IOException {
77 super(encoding);
78 this.keyUsage = (boolean[]) ASN1.decode(encoding);
90 if (encoding == null) {
91 encoding = ASN1.encode(keyUsage);
93 return encoding;
CertificatePolicies.java 36 * The class encapsulates the ASN.1 DER encoding/decoding work
54 private byte[] encoding; field in class:CertificatePolicies
69 public static CertificatePolicies decode(byte[] encoding)
71 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding));
72 cps.encoding = encoding;
79 // @param encoding: byte[]
81 private CertificatePolicies(List policyInformations, byte[] encoding) {
83 this.encoding = encoding;
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
IESParameters.java 12 private byte[] encoding; field in class:IESParameters
17 * @param encoding the encoding parameter for the KDF function.
22 byte[] encoding,
26 this.encoding = encoding;
37 return encoding;
IESWithCipherParameters.java 11 * @param encoding the encoding parameter for the KDF function.
17 byte[] encoding,
21 super(derivation, encoding, macKeySize);
  /external/webkit/WebCore/css/
CSSCharsetRule.h 32 static PassRefPtr<CSSCharsetRule> create(CSSStyleSheet* parent, const String& encoding)
34 return adoptRef(new CSSCharsetRule(parent, encoding));
39 const String& encoding() const { return m_encoding; } function in class:WebCore::CSSCharsetRule
40 void setEncoding(const String& encoding, ExceptionCode&) { m_encoding = encoding; }
45 CSSCharsetRule(CSSStyleSheet* parent, const String& encoding);
CSSCharsetRule.cpp 26 CSSCharsetRule::CSSCharsetRule(CSSStyleSheet* parent, const String& encoding)
28 , m_encoding(encoding)
CSSCharsetRule.idl 26 readonly attribute [ConvertNullStringTo=Null] DOMString encoding;
28 attribute [ConvertNullStringTo=Null, ConvertNullToNullString] DOMString encoding
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/spec/
IESParameterSpec.java 12 private byte[] encoding; field in class:IESParameterSpec
17 byte[] encoding,
23 this.encoding = new byte[encoding.length];
24 System.arraycopy(encoding, 0, this.encoding, 0, encoding.length);
38 * return the encoding vector.
42 return encoding;
  /dalvik/libcore/xml/src/main/java/org/xml/sax/ext/
Locator2Impl.java 29 private String encoding; field in class:Locator2Impl
43 * <em>encoding</em> and <em>version</em>strings are copied,
55 encoding = l2.getEncoding ();
74 * Returns the current value of the encoding property.
76 * @return the current value of the encoding property.
81 { return encoding; }
98 * Assigns the current value of the encoding property.
100 * @param encoding the new "encoding" value
103 public void setEncoding (String encoding)
    [all...]
  /dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyFailingCertPath.java 7 public MyFailingCertPath(byte[] encoding) {
8 super(encoding);
MyCertPath.java 50 * my cert path the only encoding
52 private final byte[] encoding; field in class:MyCertPath
58 public MyCertPath(byte[] encoding) {
60 this.encoding = encoding;
62 certificates.add(new MyCertificate("MyEncoding", encoding));
81 return encoding.clone();
86 * <code>encoding</code> parameter
88 * if <code>encoding</code> not equals "MyEncoding"
91 public byte[] getEncoded(String encoding)
    [all...]
  /external/webkit/WebCore/platform/text/mac/
CharsetData.h 32 ::TextEncoding encoding; member in struct:WebCore::CharsetEntry
  /packages/apps/Email/src/org/apache/commons/io/output/
FileWriterWithEncoding.java 32 * Writer of files that allows the encoding to be set.
35 * that allows an encoding to be set. Unfortunately, it cannot subclass
40 * The encoding must be specified using either the name of the {@link Charset},
41 * the {@link Charset}, or a {@link CharsetEncoder}. If the default encoding
58 * Constructs a FileWriterWithEncoding with a file encoding.
61 * @param encoding the encoding to use, not null
62 * @throws NullPointerException if the file name or encoding is null
65 public FileWriterWithEncoding(String filename, String encoding) throws IOException {
66 this(new File(filename), encoding, false);
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/
AuthenticatedAttributes.java 37 private byte[] encoding; field in class:AuthenticatedAttributes
40 public AuthenticatedAttributes(byte[] encoding, List authenticatedAttributes) {
41 this.encoding = encoding;
53 if (encoding == null) {
54 encoding = ASN1.encode(this);
56 return encoding;
  /packages/apps/Email/src/org/apache/james/mime4j/field/
ContentTransferEncodingField.java 25 * Represents a <code>Content-Transfer-Encoding</code> field.
32 * The <code>7bit</code> encoding.
36 * The <code>8bit</code> encoding.
40 * The <code>binary</code> encoding.
44 * The <code>quoted-printable</code> encoding.
48 * The <code>base64</code> encoding.
52 private String encoding; field in class:ContentTransferEncodingField
54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) {
56 this.encoding = encoding;
84 final String encoding = body.trim().toLowerCase(); local
    [all...]
  /dalvik/libcore/security/src/test/java/tests/security/cert/
PolicyQualifierInfoTest.java 94 // get valid encoding
95 byte[] encoding = getDerEncoding();
97 encoding[1] = (byte)0x27;
101 new PolicyQualifierInfo(encoding);
107 // get valid encoding
108 encoding = getDerEncoding();
111 encoding[2] = (byte)13;
114 new PolicyQualifierInfo(encoding);
134 // get valid encoding
135 byte[] encoding = getDerEncoding()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
WebView1.java 38 final String encoding = "utf-8"; local
43 wv.loadData("<a href='x'>Hello World! - 1</a>", mimeType, encoding);
46 wv.loadData("<a href='x'>Hello World! - 2</a>", mimeType, encoding);
49 wv.loadData("<a href='x'>Hello World! - 3</a>", mimeType, encoding);
52 wv.loadData("<a href='x'>Hello World! - 4</a>", mimeType, encoding);
55 wv.loadData("<a href='x'>Hello World! - 5</a>", mimeType, encoding);
58 wv.loadData("<a href='x'>Hello World! - 6</a>", mimeType, encoding);
61 wv.loadData("<a href='x'>Hello World! - 7</a>", mimeType, encoding);
64 wv.loadData("<a href='x'>Hello World! - 8</a>", mimeType, encoding);
67 wv.loadData("<a href='x'>Hello World! - 9</a>", mimeType, encoding);
    [all...]

Completed in 881 milliseconds

1 2 3 4 5 6 7 8 91011>>