/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | IssuingDistributionPoint.java | 68 public static IssuingDistributionPoint decode(byte[] encoding) argument 71 (IssuingDistributionPoint) ASN1.decode(encoding); 72 idp.encoding = encoding; 152 if (encoding == null) { 153 encoding = ASN1.encode(this); 155 return encoding; 208 idp.encoding = in.getEncoded();
|
H A D | GeneralSubtree.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 62 private byte[] encoding; field in class:GeneralSubtree 122 if (encoding == null) { 123 encoding = ASN1.encode(this); 125 return encoding;
|
H A D | NameConstraints.java | 39 * The class encapsulates the ASN.1 DER encoding/decoding work 67 private byte[] encoding; field in class:NameConstraints 109 // @param encoding: byte[] 112 GeneralSubtrees excludedSubtrees, byte[] encoding) { 114 this.encoding = encoding; 117 public static NameConstraints decode(byte[] encoding) throws IOException { argument 118 return (NameConstraints) ASN1.decode(encoding); 126 if (encoding == null) { 127 encoding 111 NameConstraints(GeneralSubtrees permittedSubtrees, GeneralSubtrees excludedSubtrees, byte[] encoding) argument [all...] |
H A D | TBSCertList.java | 44 * The class encapsulates the ASN.1 DER encoding/decoding work 87 private byte[] encoding; field in class:TBSCertList 96 private byte[] encoding; field in class:TBSCertList.RevokedCertificate 138 if (encoding == null) { 139 encoding = ASN1.encode(this); 141 return encoding; 259 // Constructs the object with associated ASN.1 encoding 263 byte[] encoding) { 271 this.encoding = encoding; 260 TBSCertList(int version, AlgorithmIdentifier signature, Name issuer, Date thisUpdate, Date nextUpdate, List revokedCertificates, Extensions crlExtensions, byte[] encoding) argument [all...] |
H A D | CertificateIssuer.java | 55 public CertificateIssuer(byte[] encoding) { argument 56 super(encoding); 79 // incorrect extension value encoding
|
H A D | TBSCertificate.java | 39 * The class encapsulates the ASN.1 DER encoding/decoding work 87 byte[] encoding; field in class:TBSCertificate 151 // @param encoding: byte[] 158 Extensions extensions, byte[] encoding) { 161 this.encoding = encoding; 249 if (encoding == null) { 250 encoding = ASN1.encode(this); 252 return encoding; 153 TBSCertificate(int version, BigInteger serialNumber, AlgorithmIdentifier signature, Name issuer, Validity validity, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, boolean[] issuerUniqueID, boolean[] subjectUniqueID, Extensions extensions, byte[] encoding) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1Encodable.java | 24 String encoding) 27 if (encoding.equals(DER)) 41 * Return the DER encoding of the object, null if the DER encoding can not be made. 23 getEncoded( String encoding) argument
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/ |
H A D | DOMOutputImpl.java | 75 * writable stream of bytes. If the application knows the character encoding
76 * of the byte stream, it should set the encoding attribute. Setting the
77 * encoding in this way will override any encoding specified in an XML
87 * writable stream of bytes. If the application knows the character encoding
88 * of the byte stream, it should set the encoding attribute. Setting the
89 * encoding in this way will override any encoding specified in an XML
123 * destination. If the application knows the character encoding of the
124 * object pointed to by the system identifier, it can set the encoding
173 setEncoding(String encoding) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | output_unknown.properties | 29 encoding=UTF-8 40 # <xsl:output method="html" encoding="UTF-8"
|
H A D | EncodingInfo.java | 25 * Holds information about a given encoding, which is the Java name for the 26 * encoding, the equivalent ISO name. 40 * will answer if a character is in the encoding, and do so for a given 49 * Actually figuring out if a code point is in the encoding is expensive. So the 64 * Not all characters in an encoding are in on contiguous group, 69 * definately in the encoding, although for chars 70 * above this point they might be in the encoding. 73 * are in the encoding. 79 * The ISO encoding name. 92 * is in this encoding 343 EncodingImpl(String encoding, int first, int last, int codePoint) argument 425 inEncoding(char ch, String encoding) argument 464 inEncoding(char high, char low, String encoding) argument [all...] |
H A D | output_xml.properties | 28 encoding=UTF-8 39 # <xsl:output method="html" encoding="UTF-8"
|
/dalvik/libcore/xml/src/main/java/org/w3c/dom/ls/ |
H A D | LSOutput.java | 19 * stream (possibly with a specified encoding), a base URI, and/or a 88 * The character encoding to use for the output. The encoding must be a 89 * string acceptable for an XML encoding declaration ([<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] section 97 * The character encoding to use for the output. The encoding must be a 98 * string acceptable for an XML encoding declaration ([<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] section 104 public void setEncoding(String encoding); argument
|
H A D | LSInput.java | 20 * encoding), a base URI, and/or a character stream. 63 * of the encoding attribute will be ignored. 71 * of the encoding attribute will be ignored. 78 * <br> If the application knows the character encoding of the byte 79 * stream, it should set the encoding attribute. Setting the encoding in 80 * this way will override any encoding specified in an XML declaration 87 * <br> If the application knows the character encoding of the byte 88 * stream, it should set the encoding attribute. Setting the encoding i 203 setEncoding(String encoding) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CertPathImpl.java | 83 // supported encoding types: 87 // supported encoding names 94 // PkiPath encoding of the certification path 96 // PKCS7 encoding of the certification path 126 * @param encoding - encoded form of certification path. 128 private X509CertPathImpl(List certs, int type, byte[] encoding) { argument 131 this.pkiPathEncoding = encoding; 133 this.pkcs7Encoding = encoding; 157 * Generates certification path object on the base of encoding provided via 159 * parameter <code>encoding</cod 163 getInstance(InputStream in, String encoding) argument 221 getInstance(byte[] in, String encoding) argument 284 getEncoded(String encoding) argument [all...] |
H A D | Cache.java | 42 * whether provided form is PEM encoding or not.<br> 57 * generated on the base of the encoding with the SIMILAR prefix or not. 59 * But it prevents us from use of expensive full encoding 62 * 2. If predetermination ends with success, the whole encoding 76 // value generated on the base of the prefix of encoding 78 // value generated on the base of the tail of encoding 100 // The hash-encoding-object correspondence is made by means of index 102 // corresponds to the encoding contained in encodings[N] which corresponds 180 * similar encoding or not (by means of <code>contains(long)</code> method), 186 * of the encoding 230 get(long hash, byte[] encoding) argument 255 put(long hash, byte[] encoding, Object object) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 52 private String encoding; field in class:KXmlSerializer 335 public void setOutput(OutputStream os, String encoding) argument 340 encoding == null 342 : new OutputStreamWriter(os, encoding)); 343 this.encoding = encoding; 344 if (encoding != null 345 && encoding.toLowerCase().startsWith("utf")) 350 String encoding, 355 if (encoding ! 349 startDocument( String encoding, Boolean standalone) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs10/ |
H A D | CertificationRequestInfo.java | 60 private byte [] encoding; field in class:CertificationRequestInfo 70 // private constructor with encoding given 72 SubjectPublicKeyInfo subjectPublicKeyInfo, List attributes, byte [] encoding) { 74 this.encoding = encoding; 110 if (encoding == null) { 111 encoding = ASN1.encode(this); 113 return encoding; 71 CertificationRequestInfo(int version, Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, List attributes, byte [] encoding) argument
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/ |
H A D | ContentInfo.java | 57 private byte[] encoding; field in class:ContentInfo 64 private ContentInfo(int[] oid, Object content, byte[] encoding) { argument 67 this.encoding = encoding; 86 if (encoding == null) { 87 encoding = ASN1.encode(this); 90 // public API, so encoding is not copied. The classes which use 91 // this class should copy encoding before passing it out. 92 return encoding;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/ |
H A D | TimeStampReq.java | 64 private byte [] encoding; field in class:TimeStampReq 79 Extensions extensions, byte [] encoding) { 81 this.encoding = encoding; 108 if (encoding == null) { 109 encoding = ASN1.encode(this); 111 return encoding; 77 TimeStampReq(int version, MessageImprint messageImprint, String reqPolicy, BigInteger nonce, Boolean certReq, Extensions extensions, byte [] encoding) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | PKIXCertPath.java | 171 String encoding) 177 if (encoding.equalsIgnoreCase("PkiPath")) 203 else if (encoding.equalsIgnoreCase("PKCS7") || encoding.equalsIgnoreCase("PEM")) 218 throw new CertificateException("unsupported encoding: " + encoding); 235 * certification path, with the default encoding 248 * the default encoding. 251 * @exception CertificateEncodingException if an encoding error occurs 270 * the specified encoding 169 PKIXCertPath( InputStream inStream, String encoding) argument 278 getEncoded(String encoding) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/openssl/ |
H A D | PEMWriter.java | 104 byte[] encoding; 111 encoding = ((X509Certificate)o).getEncoded(); 123 encoding = ((X509CRL)o).getEncoded(); 175 encoding = bOut.toByteArray(); 181 encoding = ((PublicKey)o).getEncoded(); 186 encoding = ((X509V2AttributeCertificate)o).getEncoded(); 191 encoding = ((PKCS10CertificationRequest)o).getEncoded(); 196 encoding = ((ContentInfo)o).getEncoded(); 206 writeEncoded(encoding);
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatParser.java | 63 private final String encoding; field in class:ExpatParser 70 /** We default to UTF-8 when the user doesn't specify an encoding. */ 80 * Constructs a new parser with the specified encoding. 82 /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, argument 90 * TODO: Let Expat try to guess the encoding instead of defaulting. 91 * Unfortunately, I don't know how to tell which encoding Expat picked, 96 this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; 98 this.encoding, 106 ExpatParser(String encoding, ExpatReader xmlReader, int pointer, String publicId, String systemId) argument 120 initialize(String encoding, boolean namespacesEnabled) argument 402 createEntityParser(int parentPointer, String context, String encoding) argument 772 EntityParser(String encoding, ExpatReader xmlReader, int pointer, String publicId, String systemId) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | EncryptedPrivateKeyInfo.java | 31 byte[] encoding) 34 this.data = new DEROctetString(encoding); 29 EncryptedPrivateKeyInfo( AlgorithmIdentifier algId, byte[] encoding) argument
|
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
H A D | Handler.java | 39 // the character encoding used by this handler 40 private String encoding; field in class:Handler 56 * {@code ErrorManager}, the default encoding, and the default logging 62 this.encoding = null; 111 * encoding 156 // set encoding 157 final String encodingName = manager.getProperty(prefix + ".encoding"); //$NON-NLS-1$ 161 printInvalidPropMessage("encoding", encodingName, e); //$NON-NLS-1$ 190 * Gets the character encoding used by this handler, {@code null} for 191 * default encoding 319 setEncoding(String encoding) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URIEncoderDecoder.java | 28 * methods used by the URI class, and performs encoding and decoding in a 35 static final String encoding = "UTF8"; //$NON-NLS-1$ field in class:URIEncoderDecoder 126 byte[] bytes = new String(new char[] { ch }).getBytes(encoding); 157 byte[] bytes = new String(new char[] { ch }).getBytes(encoding); 170 * x-www-form-urlencoded} MIME content type using the UTF-8 encoding scheme. 207 result.append(out.toString(encoding));
|