Searched defs:decode (Results 1 - 25 of 41) sorted by relevance

12

/libcore/luni/src/main/java/java/net/
H A DURLDecoder.java25 * This class is used to decode a string which is encoded in the {@code
41 * @deprecated use {@link #decode(String, String)} instead.
44 public static String decode(String s) { method in class:URLDecoder
45 return UriCodec.decode(s, true, Charset.defaultCharset(), true);
66 public static String decode(String s, String encoding) throws UnsupportedEncodingException { method in class:URLDecoder
67 return UriCodec.decode(s, true, Charset.forName(encoding), true);
/libcore/luni/src/main/java/libcore/io/
H A DBase64.java35 public static byte[] decode(byte[] in) { method in class:Base64
36 return decode(in, in.length);
39 public static byte[] decode(byte[] in, int len) { method in class:Base64
/libcore/luni/src/main/java/java/nio/charset/
H A DModifiedUtf8.java35 public static String decode(byte[] in, char[] out, int offset, int utfSize) throws UTFDataFormatException { method in class:ModifiedUtf8
/libcore/luni/src/main/java/java/security/
H A DCertificate.java50 public void decode(InputStream stream) throws KeyException, IOException; method in interface:Certificate
54 * {@link #decode(InputStream)} method must be able to decode the format
63 * @see #decode(InputStream)
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Boolean.java62 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Boolean
H A DASN1Enumerated.java63 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Enumerated
H A DASN1Explicit.java62 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Explicit
70 in.content = type.decode(in);
H A DASN1GeneralizedTime.java64 public Object decode(BerInputStream in) throws IOException { method in class:ASN1GeneralizedTime
H A DASN1OctetString.java61 @Override public Object decode(BerInputStream in) throws IOException { method in class:ASN1OctetString
H A DASN1Oid.java62 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Oid
77 // Allocate and decode
H A DASN1Sequence.java39 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Sequence
H A DASN1SequenceOf.java39 public Object decode(BerInputStream in) throws IOException { method in class:ASN1SequenceOf
H A DASN1Set.java39 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Set
H A DASN1SetOf.java39 public Object decode(BerInputStream in) throws IOException { method in class:ASN1SetOf
H A DASN1Any.java72 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Any
H A DASN1BitString.java63 @Override public Object decode(BerInputStream in) throws IOException { method in class:ASN1BitString
H A DASN1Implicit.java102 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Implicit
116 in.content = type.decode(in);
H A DASN1Integer.java62 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Integer
H A DASN1UTCTime.java76 @Override public Object decode(BerInputStream in) throws IOException { method in class:ASN1UTCTime
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DCRLDistributionPoints.java86 public static CRLDistributionPoints decode(byte[] encoding) throws IOException { method in class:CRLDistributionPoints
87 return (CRLDistributionPoints) ASN1.decode(encoding);
H A DInfoAccessSyntax.java68 public static InfoAccessSyntax decode(byte[] encoding) throws IOException { method in class:InfoAccessSyntax
69 return ((InfoAccessSyntax) ASN1.decode(encoding));
H A DSubjectKeyIdentifier.java53 public static SubjectKeyIdentifier decode(byte[] encoding) method in class:SubjectKeyIdentifier
56 ASN1OctetString.getInstance().decode(encoding));
H A DAuthorityKeyIdentifier.java67 public static AuthorityKeyIdentifier decode(byte[] encoding) throws IOException { method in class:AuthorityKeyIdentifier
68 AuthorityKeyIdentifier aki = (AuthorityKeyIdentifier) ASN1.decode(encoding);
H A DCertificatePolicies.java56 public static CertificatePolicies decode(byte[] encoding) throws IOException { method in class:CertificatePolicies
57 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding));
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DCertificateStub.java53 * @see java.security.Certificate#decode(java.io.InputStream)
55 public void decode(InputStream stream) throws KeyException, method in class:CertificateStub

Completed in 138 milliseconds

12