/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | CertificateFactorySpi.java | 96 * default encoding scheme is applied. 112 * InputStream} in the specified encoding. 116 * encoding. 117 * @param encoding 118 * the encoding of the data in the input stream. 125 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) argument 133 * encoding is the default encoding. 152 * (as Strings). The first element is the default encoding.
|
H A D | CertificateFactory.java | 210 * (as Strings). The first element is the default encoding scheme to apply. 221 * {@code InputStream}. The default encoding scheme is applied. 240 * {@code InputStream} and the specified encoding scheme. 244 * specified encoding. 245 * @param encoding 246 * encoding of the data in the input stream. 253 public final CertPath generateCertPath(InputStream inStream, String encoding) argument 255 return spiImpl.engineGenerateCertPath(inStream, encoding); 260 * encoding is the default encoding [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | ToSAXHandler.java | 49 String encoding) 53 setEncoding(encoding); 55 public ToSAXHandler(ContentHandler handler, String encoding) argument 58 setEncoding(encoding); 46 ToSAXHandler( ContentHandler hdlr, LexicalHandler lex, String encoding) argument
|
H A D | XSLOutputAttributes.java | 36 * encoding 73 * @return the character encoding to be used in the output document. 146 * Sets the character encoding coming from the xsl:output encoding stylesheet attribute. 147 * @param encoding the character encoding 149 public void setEncoding(String encoding); argument 190 * <li> "encoding" 213 * <li> "encoding" 228 * <li> "encoding" [all...] |
H A D | ToTextSAXHandler.java | 67 public ToTextSAXHandler(ContentHandler hdlr, LexicalHandler lex, String encoding) argument 69 super(hdlr, lex, encoding); 75 public ToTextSAXHandler(ContentHandler handler, String encoding) argument 77 super(handler,encoding);
|
H A D | ToTextStream.java | 277 final String encoding = getEncoding(); 305 new Object[] { integralValue, encoding }); 316 // not in the encoding and not a high char in 318 if (encoding != null) { 319 /* The output encoding is known, 323 // not in the encoding, so write out a character reference 334 new Object[] { integralValue, encoding }); 341 /* The output encoding is not known,
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | Util.java | 40 String encoding = System.getProperty("file.encoding"); 42 if (encoding != null) { 44 "".getBytes(encoding); 46 encoding = null; 49 defaultEncoding = encoding; 53 * Get bytes from String using default encoding; default encoding can 54 * be changed via "os.encoding" property 69 * Get bytes from String with UTF8 encoding 292 decode(String s, boolean convertPlus, String encoding) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CRLImpl.java | 84 private byte[] encoding; field in class:X509CRLImpl 132 public X509CRLImpl(byte[] encoding) throws IOException { argument 133 this((CertificateList) CertificateList.ASN1.decode(encoding)); 145 if (encoding == null) { 146 encoding = crl.getEncoded(); 148 byte[] result = new byte[encoding.length]; 149 System.arraycopy(encoding, 0, result, 0, encoding.length);
|
H A D | X509CertImpl.java | 97 // encoding of the certificate 99 private volatile byte[] encoding; field in class:X509CertImpl 138 * @param encoding byte array containing ASN.1 encoded form of certificate. 141 public X509CertImpl(byte[] encoding) throws IOException { argument 142 this((Certificate) Certificate.ASN1.decode(encoding)); 473 if (encoding == null) { 474 encoding = certificate.getEncoded(); 476 byte[] result = new byte[encoding.length]; 477 System.arraycopy(encoding, 0, result, 0, encoding [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertificateFactorySpi.java | 111 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) argument 116 if (encoding.length() == 0) {
|
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlSerializer.java | 92 * Set to use binary output stream with given encoding. 94 void setOutput (OutputStream os, String encoding) argument 99 * <p><b>WARNING</b> no information about encoding is available! 105 * Write <?xml declaration with encoding (if encoding not null) 109 void startDocument (String encoding, Boolean standalone) argument
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | Extension.java | 38 * The class encapsulates the ASN.1 DER encoding/decoding work 98 private byte[] encoding; field in class:Extension 170 // @param encoding: byte[] 173 byte[] rawExtnValue, byte[] encoding, 177 this.encoding = encoding; 226 if (encoding == null) { 227 encoding = Extension.ASN1.encode(this); 229 return encoding; 419 // second - raw encoding o 172 Extension(int[] extnID, boolean critical, byte[] extnValue, byte[] rawExtnValue, byte[] encoding, ExtensionValue decodedExtValue) argument [all...] |
H A D | Extensions.java | 42 * The class encapsulates the ASN.1 DER encoding/decoding work 72 private byte[] encoding; field in class:Extensions 341 encoding = null; 367 if (encoding == null) { 368 encoding = ASN1.encode(this); 370 return encoding;
|
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
H A D | XMLFormatter.java | 29 * {@code XMLFormatter} uses the output handler's encoding if it is specified, 30 * otherwise the default platform encoding is used instead. UTF-8 is the 31 * recommended encoding. 167 * strings, using the output handler's encoding if it is defined, otherwise 168 * using the default platform encoding. 177 String encoding = null; 179 encoding = h.getEncoding(); 181 if (null == encoding) { 182 encoding = getSystemProperty("file.encoding"); [all...] |
H A D | StreamHandler.java | 35 * <li>java.util.logging.StreamHandler.encoding specifies the encoding this 36 * handler will use to encode log messages. Default is the encoding used by the 189 * Sets the character encoding used by this handler. A {@code null} value 190 * indicates that the default encoding should be used. 192 * @param encoding 193 * the character encoding to set. 198 * if the specified encoding is not supported by the runtime. 201 public void setEncoding(String encoding) throws SecurityException, argument 203 // flush first before set new encoding [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | PrintStream.java | 33 * confused with DataOutputStream which is used for encoding common data types 54 private String encoding; field in class:PrintStream 102 * stream and using the character encoding {@code enc} while writing. The 112 * the non-null string describing the desired character encoding. 116 * if the encoding specified by {@code enc} is not supported. 132 encoding = enc; 137 * virtual machine's default character set is used for character encoding. 154 * character set named {@code csn} is used for character encoding. 160 * the name of the character set used for character encoding. 169 * if the encoding specifie [all...] |
H A D | OutputStreamWriter.java | 35 * provided character converter. The default encoding is taken from the 36 * "file.encoding" system property. {@code OutputStreamWriter} contains a buffer 52 * stream to write converted characters to. The default character encoding 61 String encoding = AccessController 63 "file.encoding", "ISO8859_1")); //$NON-NLS-1$ //$NON-NLS-2$ 64 encoder = Charset.forName(encoding).newEncoder(); 72 * encoding. If the encoding cannot be found, an 78 * the string describing the desired character encoding. 82 * if the encoding specifie [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatReader.java | 274 String encoding = input.getEncoding(); 277 parse(in, encoding, input.getPublicId(), input.getSystemId()); 293 parse(in, encoding, input.getPublicId(), systemId); 311 private void parse(InputStream in, String encoding, String publicId, argument 314 encoding,
|
H A D | ExpatPullParser.java | 716 final String encoding; field in class:ExpatPullParser.Document 723 Document(String encoding, boolean processNamespaces) { argument 724 this.encoding = encoding; 731 encoding, xmlReader, processNamespaces, null, null); 824 return this.encoding; 942 ByteDocument(InputStream in, String encoding, argument 944 super(encoding, processNamespaces);
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | DSAPrivateKeyImpl.java | 109 byte encoding[] = keySpec.getEncoded(); 115 .decode(encoding); 141 setEncoding(encoding);
|
H A D | DSAPublicKeyImpl.java | 117 byte encoding[] = keySpec.getEncoded(); 123 .decode(encoding); 151 setEncoding(encoding);
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/ |
H A D | Name.java | 48 //ASN.1 DER encoding of Name 64 * Creates new <code>Name</code> instance from its DER encoding 66 * @param encoding - ASN.1 DER encoding 67 * @throws IOException - if encoding is wrong 69 public Name(byte[] encoding) throws IOException { argument 71 DerInputStream in = new DerInputStream(encoding); 73 if (in.getEndOffset() != encoding.length) { 229 * @return return encoding, no copying is performed
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URLConnection.java | 206 * Gets the content encoding type specified by the response header field 207 * {@code content-encoding} or {@code null} if this field is not set. 209 * @return the value of the response header field {@code content-encoding}. 684 // Check for Unicode BOM encoding indicators 685 String encoding = "ASCII"; 689 encoding = "UTF-16LE"; 694 encoding = "UTF-16BE"; 701 encoding = "UTF-8"; 708 encoding = "UTF-32BE"; 715 encoding [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | String.java | 139 * Converts the byte array to a string using the default encoding as 140 * specified by the file.encoding system property. If the system property is 141 * not defined, the default encoding is ISO8859_1 (ISO-Latin-1). If 8859-1 142 * is not available, an ASCII encoding is used. 170 * Converts the byte array to a string using the default encoding as 171 * specified by the file.encoding system property. If the system property is 172 * not defined, the default encoding is ISO8859_1 (ISO-Latin-1). If 8859-1 173 * is not available, an ASCII encoding is used. 248 * Converts the byte array to a string using the specified encoding. 256 * @param encoding 266 String(byte[] data, int start, int length, final String encoding) argument 428 String(byte[] data, String encoding) argument 954 getBytes(String encoding) argument 962 getCharset(final String encoding) argument [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 51 private static final byte[] encoding = { 1, 2, 3 }; field in class:TimestampTest 53 private CertPath cpath = new MyCertPath(encoding);
|