/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | InvalidityDate.java | 43 date = (Date) ASN1.decode(encoding);
|
H A D | KeyUsage.java | 69 this.keyUsage = (boolean[]) ASN1.decode(encoding);
|
H A D | CertificatePolicies.java | 56 public static CertificatePolicies decode(byte[] encoding) throws IOException { method in class:CertificatePolicies 57 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding));
|
H A D | InfoAccessSyntax.java | 68 public static InfoAccessSyntax decode(byte[] encoding) throws IOException { method in class:InfoAccessSyntax 69 return ((InfoAccessSyntax) ASN1.decode(encoding));
|
H A D | AuthorityKeyIdentifier.java | 67 public static AuthorityKeyIdentifier decode(byte[] encoding) throws IOException { method in class:AuthorityKeyIdentifier 68 AuthorityKeyIdentifier aki = (AuthorityKeyIdentifier) ASN1.decode(encoding);
|
H A D | Extension.java | 245 extnValueObject = SubjectKeyIdentifier.decode(extnValue); 257 extnValueObject = NameConstraints.decode(extnValue); 259 extnValueObject = CertificatePolicies.decode(extnValue); 261 extnValueObject = AuthorityKeyIdentifier.decode(extnValue); 271 extnValueObject = CRLDistributionPoints.decode(extnValue); 281 extnValueObject = IssuingDistributionPoint.decode(extnValue); 283 extnValueObject = InfoAccessSyntax.decode(extnValue); 285 extnValueObject = InfoAccessSyntax.decode(extnValue); 378 // decode Key Usage and Basic Constraints extension values
|
H A D | CertificateIssuer.java | 53 issuer = (X500Principal) ASN1.decode(getEncoded());
|
H A D | ExtendedKeyUsage.java | 61 keys = (List<String>) ASN1.decode(getEncoded());
|
H A D | NameConstraints.java | 94 public static NameConstraints decode(byte[] encoding) throws IOException { method in class:NameConstraints 95 return (NameConstraints) ASN1.decode(encoding); 144 return (byte[]) ASN1OctetString.getInstance().decode(bytes); 175 : ((GeneralNames) GeneralNames.ASN1.decode(bytes)).getNames();
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | Base64Test.java | 26 assertEquals("[]", Arrays.toString(Base64.decode(new byte[0])));
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | OldCharset_MultiByte_EUC_JP.java | 519 CharBuffer outputCB = decoder.decode(intermediateBB); 521 assertEqualCBs("decode(encode(A)) must be identical with A!",
|
H A D | OldCharset_MultiByte_EUC_JP_Android.java | 517 CharBuffer outputCB = decoder.decode(intermediateBB); 519 assertEqualCBs("decode(encode(A)) must be identical with A!",
|
H A D | OldCharset_SingleByteAbstractTest.java | 53 outputCB = decoder.decode(inputBB); 69 outputCB = decoder.decode(inputBB); 93 // outputCB = decoder.decode(inputBB);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | CertificateStub.java | 53 * @see java.security.Certificate#decode(java.io.InputStream) 55 public void decode(InputStream stream) throws KeyException, method in class:CertificateStub
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | DSAPrivateKeyImpl.java | 113 .decode(encoding); 115 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e); 119 x = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 122 throw new InvalidKeySpecException("Failed to decode parameters: " + e); 128 .decode(ai.getParameters()); 130 throw new InvalidKeySpecException("Failed to decode parameters: " + e);
|
H A D | DSAPublicKeyImpl.java | 115 .decode(encoding); 117 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e); 121 y = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 124 throw new InvalidKeySpecException("Failed to decode parameters: " + e); 131 .decode(ai.getParameters()); 133 throw new InvalidKeySpecException("Failed to decode parameters: " + e);
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Byte.java | 134 public static Byte decode(String string) throws NumberFormatException { method in class:Byte 135 int intValue = Integer.decode(string);
|
H A D | Short.java | 134 public static Short decode(String string) throws NumberFormatException { method in class:Short 135 int intValue = Integer.decode(string).intValue();
|
H A D | Integer.java | 154 public static Integer decode(String string) throws NumberFormatException { method in class:Integer 237 return decode(prop); 266 return decode(prop); 295 return decode(prop);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Choice.java | 117 * If it is a matter what time format should be used to decode/encode 300 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Choice 303 throw new ASN1Exception("Failed to decode ASN.1 choice type. No alternatives were found for " + getClass().getName());// FIXME message 308 in.content = type[index].decode(in);
|
H A D | ASN1GeneralizedTime.java | 64 public Object decode(BerInputStream in) throws IOException { method in class:ASN1GeneralizedTime
|
H A D | ASN1Integer.java | 62 public Object decode(BerInputStream in) throws IOException { method in class:ASN1Integer
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoder.java | 35 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode} 39 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode} 46 * The {@link #decode(ByteBuffer, CharBuffer, boolean) decode} method will 158 * This method should not be invoked while another {@code decode} operation 182 * if another exception happened during the decode operation. 184 public final CharBuffer decode(ByteBuffer in) throws CharacterCodingException { method in class:CharsetDecoder 190 result = decode(i 306 public final CoderResult decode(ByteBuffer in, CharBuffer out, method in class:CharsetDecoder [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
H A D | PolicyQualifierInfo.java | 60 .decode(this.encoded);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 18 public static native int decode(long converterHandle, byte[] input, int inEnd, method in class:NativeConverter
|