/libcore/luni/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...] |
/libcore/luni/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 | 53 public static SubjectKeyIdentifier decode(byte[] encoding) 56 ASN1OctetString.getInstance().decode(encoding)); 57 res.encoding = encoding; 66 if (encoding == null) { 67 encoding = ASN1OctetString.getInstance().encode(keyIdentifier); 69 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 | 51 public CRLNumber(byte[] encoding) throws IOException { 52 super(encoding); 53 number = new BigInteger((byte[]) ASN1.decode(encoding)); 68 if (encoding == null) { 69 encoding = ASN1.encode(number.toByteArray()); 71 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 | 49 public InvalidityDate(byte[] encoding) throws IOException { 50 super(encoding); 51 date = (Date) ASN1.decode(encoding); 66 if (encoding == null) { 67 encoding = ASN1.encode(date); 69 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 | 35 * The class encapsulates the ASN.1 DER encoding/decoding work 53 private byte[] encoding; field in class:CertificatePolicies 68 public static CertificatePolicies decode(byte[] encoding) 70 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding)); 71 cps.encoding = encoding; 78 // @param encoding: byte[] 80 private CertificatePolicies(List policyInformations, byte[] encoding) { 82 this.encoding = encoding; [all...] |
/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
|
/libcore/luni/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...] |
/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...] |
/hardware/ril/mock-ril/src/cpp/ |
node_util.cpp | 23 enum encoding ParseEncoding(v8::Handle<v8::Value> encoding_v, enum encoding _default) { 28 v8::String::Utf8Value encoding(encoding_v->ToString()); 30 if (strcasecmp(*encoding, "utf8") == 0) { 32 } else if (strcasecmp(*encoding, "utf-8") == 0) { 34 } else if (strcasecmp(*encoding, "ascii") == 0) { 36 } else if (strcasecmp(*encoding, "binary") == 0) { 38 } else if (strcasecmp(*encoding, "raw") == 0) { 42 } else if (strcasecmp(*encoding, "raws") == 0) { 43 fprintf(stderr, "'raws' encoding has been renamed to 'binary'. [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessageDecoder.java | 26 * A decorator that handles Content-Encoding. 40 String encoding = getEncoding(message); local 41 if (encoding != null) { 42 return new HttpMessageDecoder(message, encoding); 53 String encoding = message.getHeader(CONTENT_ENCODING); local 54 if (encoding == null) { 56 } else if (GZIP.equalsIgnoreCase(encoding) 57 || ("x-" + GZIP).equalsIgnoreCase(encoding)) { 59 } else if (DEFLATE.equalsIgnoreCase(encoding)) { 65 private HttpMessageDecoder(HttpResponseMessage in, String encoding) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
AuthenticatedAttributes.java | 36 private byte[] encoding; field in class:AuthenticatedAttributes 39 public AuthenticatedAttributes(byte[] encoding, List authenticatedAttributes) { 40 this.encoding = encoding; 52 if (encoding == null) { 53 encoding = ASN1.encode(this); 55 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...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentEncoding.java | 34 * Content encoding part of a content encoding header list. 38 *14.11 Content-Encoding 40 * The Content-Encoding entity-header field is used as a modifier to the 44 * referenced by the Content-Type header field. Content-Encoding is 48 * Content-Encoding = "Content-Encoding" ":" 1#content-coding 52 * Content-Encoding: gzip 56 * encoding and is only decoded before rendering or analogous usage. 62 * response MUST include a Content-Encoding entity-header (sectio [all...] |
/external/nist-sip/java/javax/sip/header/ |
Encoding.java | 5 public interface Encoding { 7 void setEncoding(String encoding) throws ParseException;
|
/libcore/luni/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...] |