Searched defs:encode (Results 1 - 25 of 94) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/net/
H A DURLEncoder.java118 * As a last note, Intenet Explorer does not encode the "@"
137 * in the encode() method */
160 * default encoding. Instead, use the encode(String,String)
165 public static String encode(String s) { method in class:URLEncoder
170 str = encode(s, dfltEncName);
200 public static String encode(String s, String enc) method in class:URLEncoder
/libcore/ojluni/src/main/java/java/security/cert/
H A DExtension.java100 void encode(OutputStream out) throws IOException; method in interface:Extension
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); method in interface:ArrayEncoder
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicySet.java84 * @param out the DerOutputStream to encode the data to.
86 public void encode(DerOutputStream out) throws IOException { method in class:CertificatePolicySet
90 ids.elementAt(i).encode(tmp);
H A DFreshestCRLExtension.java96 public void encode(OutputStream out) throws IOException { method in class:FreshestCRLExtension
97 super.encode(out, PKIXExtensions.FreshestCRL_Id, false);
H A DCertAttrSet.java61 * @param out the OutputStream to encode the attribute to.
66 void encode(OutputStream out) method in interface:CertAttrSet
H A DCertificatePolicyId.java83 public void encode(DerOutputStream out) throws IOException { method in class:CertificatePolicyId
H A DCertificatePolicyMap.java99 public void encode(DerOutputStream out) throws IOException { method in class:CertificatePolicyMap
102 issuerDomain.encode(tmp);
103 subjectDomain.encode(tmp);
H A DDeltaCRLIndicatorExtension.java112 public void encode(OutputStream out) throws IOException { method in class:DeltaCRLIndicatorExtension
114 super.encode(out, PKIXExtensions.DeltaCRLIndicator_Id, true);
H A DGeneralName.java224 * @param out the DerOutputStream to encode the the GeneralName to.
227 public void encode(DerOutputStream out) throws IOException { method in class:GeneralName
229 name.encode(tmp);
H A DKeyIdentifier.java128 void encode(DerOutputStream out) throws IOException { method in class:KeyIdentifier
H A DSerialNumber.java113 public void encode(DerOutputStream out) throws IOException { method in class:SerialNumber
H A DUniqueIdentity.java97 public void encode(DerOutputStream out, byte tag) throws IOException { method in class:UniqueIdentity
H A DX400Address.java369 * @param out the DER stream to encode the X400Address to.
372 public void encode(DerOutputStream out) throws IOException { method in class:X400Address
H A DAccessDescription.java75 public void encode(DerOutputStream out) throws IOException { method in class:AccessDescription
78 accessLocation.encode(tmp);
H A DCertificateAlgorithmId.java108 public void encode(OutputStream out) throws IOException { method in class:CertificateAlgorithmId
110 algId.encode(tmp);
H A DCertificateX509Key.java103 public void encode(OutputStream out) throws IOException { method in class:CertificateX509Key
H A DDNSName.java122 * @param out the DER stream to encode the DNSName to.
125 public void encode(DerOutputStream out) throws IOException { method in class:DNSName
H A DDistributionPointName.java170 public void encode(DerOutputStream out) throws IOException { method in class:DistributionPointName
175 fullName.encode(theChoice);
181 relativeName.encode(theChoice);
H A DGeneralNames.java114 public void encode(DerOutputStream out) throws IOException { method in class:GeneralNames
121 gn.encode(temp);
/libcore/luni/src/main/java/java/nio/charset/
H A DModifiedUtf8.java67 public static void encode(byte[] dst, int offset, String s) { method in class:ModifiedUtf8
97 * {@code encode(buf, 2, s)}).
99 public static byte[] encode(String s) throws UTFDataFormatException { method in class:ModifiedUtf8
102 encode(output, 2, s);
/libcore/luni/src/main/java/libcore/util/
H A DHexEncoding.java32 public static char[] encode(byte[] data) { method in class:HexEncoding
33 return encode(data, 0, data.length);
39 public static char[] encode(byte[] data, int offset, int len) { method in class:HexEncoding
55 return new String(encode(data));
/libcore/ojluni/src/main/java/java/security/
H A DCertificate.java42 * share general certificate functionality (the need to encode and
101 * @param stream the output stream to which to encode the
113 public abstract void encode(OutputStream stream) method in interface:Certificate
119 * {@code encode}.
130 * @see #encode
140 * the format produced and understood by the {@code encode}
H A DPKCS12Attribute.java96 this.encoded = encode(type, values);
228 private byte[] encode(ObjectIdentifier type, String[] values) method in class:PKCS12Attribute
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharsetDecoderTest.java42 byte[] arr = encode("UTF-16", "Android");
56 byte[] arr = encode("UTF-16", "Android");
72 byte[] arr = encode("UTF-16", "Android");
86 private static byte[] encode(String charsetName, String s) throws Exception { method in class:CharsetDecoderTest
88 ByteBuffer buf = encoder.encode(CharBuffer.wrap(s));

Completed in 434 milliseconds

1234