/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | ReasonFlags.java | 243 public void encode(DerOutputStream out) throws IOException { method in class:ReasonFlags
|
H A D | X509Key.java | 107 encode(); 197 encode(); 214 encode(x509EncodedKeyStream, algid, key); 298 public final void encode(DerOutputStream out) throws IOException method in class:X509Key 300 encode(out, this.algid, getKey()); 320 encode(out); 343 public byte[] encode() throws InvalidKeyException { method in class:X509Key 372 * private keys may override this method, <code>encode</code>, and 470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) method in class:X509Key 473 algid.encode(tm [all...] |
H A D | X509CRLEntryImpl.java | 158 public void encode(DerOutputStream outStrm) throws CRLException { method in class:X509CRLEntryImpl 163 serialNumber.encode(tmp); 172 extensions.encode(tmp, isExplicit); 198 this.encode(new DerOutputStream());
|
H A D | AVA.java | 332 // always encode AVAs with embedded hex as UTF8 377 // encode as PrintableString unless value contains 417 // always encode AVAs with embedded hex as UTF8 518 // encode as PrintableString unless value contains 661 public void encode(DerOutputStream out) throws IOException { method in class:AVA 666 * DER encode this object onto an output stream. 679 value.encode(tmp);
|
H A D | X509CertInfo.java | 180 public void encode(OutputStream out) method in class:X509CertInfo 373 // set rawCertInfo to null, so that we are forced to re-encode 462 // set rawCertInfo to null, so that we are forced to re-encode 759 version.encode(tmp); 763 serialNum.encode(tmp); 764 algId.encode(tmp); 771 issuer.encode(tmp); 772 interval.encode(tmp); 779 subject.encode(tmp); 780 pubKey.encode(tm [all...] |
H A D | AlgorithmId.java | 139 public final void encode(DerOutputStream out) throws IOException { method in class:AlgorithmId 144 * DER encode this object onto an output stream. 204 public final byte[] encode() throws IOException { method in class:AlgorithmId
|
H A D | X500Name.java | 112 * specifications indicate that the character sets used to encode data 811 * @deprecated Use encode() instead 816 encode(out); 824 public void encode(DerOutputStream out) throws IOException { method in class:X500Name 827 names[i].encode(tmp); 842 names[i].encode(tmp);
|
H A D | X509CertImpl.java | 339 public void encode(OutputStream out) method in class:X509CertImpl 343 "Null certificate to encode"); 352 * DER encode this object onto an output stream. 361 throw new IOException("Null certificate to encode"); 385 "Null certificate to encode"); 586 // encode certificate info 587 info.encode(tmp); 590 // encode algorithm identifier 591 algId.encode(tmp); 593 // Create and encode th [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 26 public static native int encode(long converterHandle, char[] input, int inEnd, method in class:NativeConverter
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 57 public void encode(OutputStream out) { method in class:Identity2Test.CertificateImpl
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | Charset.java | 243 * encode Unicode. Some schemes, however, are associated with multiple 244 * coded character sets; EUC, for example, can be used to encode 411 // in order to, e.g., set system properties and encode filenames. At 873 * .encode(bb); </pre> 881 * CharsetEncoder#encode(java.nio.CharBuffer)} method directly. </p> 887 public final ByteBuffer encode(CharBuffer cb) { method in class:Charset 892 .encode(cb); 905 * cs.encode(CharBuffer.wrap(s)); </pre> 911 public final ByteBuffer encode(String str) { method in class:Charset 912 return encode(CharBuffe [all...] |
H A D | CharsetEncoder.java | 58 * <li><p> Invoke the {@link #encode encode} method zero or more times, as 63 * <li><p> Invoke the {@link #encode encode} method one final time, passing 71 * Each invocation of the {@link #encode encode} method will encode as many 73 * to the output buffer. The {@link #encode encode} method returns when more 511 * insufficient space in the output buffer to encode an 585 public final CoderResult encode(CharBuffer in, ByteBuffer out, method in class:CharsetEncoder 810 public final ByteBuffer encode(CharBuffer in) method in class:CharsetEncoder [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixPath.java | 71 this(fs, encode(fs, normalizeAndCheck(input))); 119 private static byte[] encode(UnixFileSystem fs, String input) { method in class:UnixPath 134 // encode 138 CoderResult cr = ce.encode(cb, bb, true);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | SignerInfo.java | 209 public void encode(DerOutputStream out) throws IOException { method in class:SignerInfo 215 * DER encode this object onto an output stream. 227 issuerName.encode(issuerAndSerialNumber); 231 digestAlgorithmId.encode(seq); 233 // encode authenticated attributes if there are any 235 authenticatedAttributes.encode((byte)0xA0, seq); 237 digestEncryptionAlgorithmId.encode(seq); 241 // encode unauthenticated attributes if there are any 243 unauthenticatedAttributes.encode((byte)0xA1, seq);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ObjectIdentifier.java | 322 void encode (DerOutputStream out) throws IOException method in class:ObjectIdentifier
|
H A D | DerValue.java | 36 * ("Definite" encoding) to encode any given value. 412 public void encode(DerOutputStream out) method in class:DerValue 423 throw new IOException("short DER value read (encode)"); 534 * This is just to deal with implementations that incorrectly encode 861 encode(out);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Base64.java | 256 * the byte array to encode 260 public byte[] encode(byte[] src) { method in class:Base64.Encoder 280 * the byte array to encode 288 public int encode(byte[] src, byte[] dst) { method in class:Base64.Encoder 307 * {@code new String(encode(src), StandardCharsets.ISO_8859_1)}. 310 * the byte array to encode 315 byte[] encoded = encode(src); 330 * the source ByteBuffer to encode 333 public ByteBuffer encode(ByteBuffer buffer) { method in class:Base64.Encoder
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 797 encode(lastTag, count, compiledCode); 811 encode(lastTag, count, compiledCode); 832 encode(TAG_QUOTE_CHARS, len, compiledCode); 845 encode(lastTag, count, compiledCode); 881 encode(lastTag, count, compiledCode); 891 encode(lastTag, count, compiledCode); 904 private static void encode(int tag, int length, StringBuilder buffer) { method in class:SimpleDateFormat
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URI.java | 294 * <li><p> To <i>encode</i> non-US-ASCII characters when a URI is required to 309 * <li><p><a name="encode"></a> A character is <i>encoded</i> by replacing it 390 * {@code http://java.sun.com:} ), and that does not encode characters 1609 * href="#encode">encoding</a> the result. </p> 1617 return encode(string); 2702 .encode(CharBuffer.wrap("" + c)); 2754 private static String encode(String s) { method in class:URI 2759 // First check whether we actually need to encode 2771 .encode(CharBuffer.wrap(ns));
|