Searched refs:encode (Results 1 - 25 of 308) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); method in interface:ArrayEncoder
/openjdk7/hotspot/test/compiler/7184394/
H A DTestAESDecode.java38 decode = dCipher.doFinal(encode, 0, encode.length);
41 // non-checked version outputs to existing encode buffer for maximum speed
42 decode = new byte[dCipher.getOutputSize(encode.length)];
43 dCipher.doFinal(encode, 0, encode.length, decode);
H A DTestAESEncode.java38 encode = cipher.doFinal(input, 0, msgSize);
39 compareArrays(encode, expectedEncode);
41 // non-checked version outputs to existing encode buffer for maximum speed
42 encode = new byte[cipher.getOutputSize(msgSize)];
43 cipher.doFinal(input, 0, msgSize, encode);
/openjdk7/jdk/test/java/net/URLEncoder/
H A DURLEncoderEncodeArgs.java27 * @summary java.net.URLEncode.encode(s, enc) treats an empty encoding name as "UTF-8"
35 String s1 = URLEncoder.encode ("Hello World", null);
40 String s2 = URLEncoder.encode ("Hello World", "");
/openjdk7/jdk/test/java/nio/charset/coders/
H A DResetISO2022JP.java36 if (! (encode(true).equals(encode(false))))
40 static String encode(boolean reuseEncoder) { method in class:ResetISO2022JP
47 e.encode(CharBuffer.wrap(s), ByteBuffer.allocate(64), true);
54 e.encode(CharBuffer.wrap(s), bb, true);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DBase64Encoder.java46 public static char encode( int i ) { method in class:Base64Encoder
74 buf[ptr++] = encode(input[i]>>2);
75 buf[ptr++] = encode(((input[i])&0x3)<<4);
80 buf[ptr++] = encode(input[i]>>2);
81 buf[ptr++] = encode(
84 buf[ptr++] = encode((input[i+1]&0xF)<<2);
88 buf[ptr++] = encode(input[i]>>2);
89 buf[ptr++] = encode(
92 buf[ptr++] = encode(
95 buf[ptr++] = encode(inpu
[all...]
/openjdk7/jdk/test/java/lang/StringCoding/
H A DEnormous.java37 new sun.misc.BASE64Encoder().encode(bytes);
/openjdk7/jdk/test/java/net/URLDecoder/
H A DEncodeDecode.java34 String encStr = URLEncoder.encode(str);
/openjdk7/jdk/test/sun/security/x509/Extensions/
H A DBCNull.java26 * @summary BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
35 new BasicConstraintsExtension(false, -1).encode(new ByteArrayOutputStream());
/openjdk7/jdk/src/share/classes/sun/security/x509/
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 DFreshestCRLExtension.java96 public void encode(OutputStream out) throws IOException { method in class:FreshestCRLExtension
97 super.encode(out, PKIXExtensions.FreshestCRL_Id, false);
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 DGeneralNameInterface.java71 * @param out the DerOutputStream to encode the GeneralName to.
75 void encode(DerOutputStream out) throws IOException; method in interface:GeneralNameInterface
/openjdk7/jdk/src/share/classes/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</code>.
130 * @see #encode
140 * the format produced and understood by the <code>encode</code>
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DExtension.java100 void encode(OutputStream out) throws IOException; method in interface:Extension
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpSecurityParameters.java42 int encode(byte[] outputBytes) throws SnmpTooBigException; method in interface:SnmpSecurityParameters
/openjdk7/jdk/src/share/classes/com/sun/pept/encoding/
H A DEncoder.java68 public ByteBuffer encode(MessageInfo messageInfo); method in interface:Encoder
/openjdk7/jdk/src/share/sample/nio/server/
H A DStringContent.java82 private void encode() { method in class:StringContent
84 bb = ascii.encode(CharBuffer.wrap(content));
88 encode();
93 encode();
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken_v2.java101 public byte[] encode() throws IOException { method in class:MicToken_v2
104 encode(bos);
108 public int encode(byte[] outToken, int offset) throws IOException { method in class:MicToken_v2
109 byte[] token = encode();
114 public void encode(OutputStream os) throws IOException { method in class:MicToken_v2
H A DWrapToken_v2.java205 public void encode(OutputStream os) throws IOException { method in class:WrapToken_v2
210 public byte[] encode() throws IOException { method in class:WrapToken_v2
213 encode(bos);
217 public int encode(byte[] outToken, int offset) throws IOException { method in class:WrapToken_v2
218 byte[] token = encode();
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterEncoder.java141 public void encode(InputStream inStream, OutputStream outStream) method in class:CharacterEncoder
176 public void encode(byte aBuffer[], OutputStream aStream) method in class:CharacterEncoder
179 encode(inStream, aStream);
183 * A 'streamless' version of encode that simply takes a buffer of
186 public String encode(byte aBuffer[]) { method in class:CharacterEncoder
191 encode(inStream, outStream);
196 throw new Error("CharacterEncoder.encode internal error");
232 * This class doesn't have a concept of encode(buf, len, off),
253 public void encode(ByteBuffer aBuffer, OutputStream aStream) method in class:CharacterEncoder
256 encode(bu
265 public String encode(ByteBuffer aBuffer) { method in class:CharacterEncoder
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DLeftOverSurrogate.java45 enc.encode(cb, bb, false);
47 enc.encode(cb, bb, true);
/openjdk7/jdk/test/java/nio/charset/Charset/
H A DEncDec.java25 * @summary Unit test for encode/decode convenience methods
38 bb.put(Charset.forName("ISO-8859-15").encode(s)).flip();
/openjdk7/jdk/test/sun/security/mscapi/
H A DPublicKeyInterop.java56 System.out.println("Plaintext:\n" + hde.encode(plain) + "\n");
63 System.out.println(hde.encode(encrypted) + "\n");
70 System.out.println(hde.encode(encrypted2) + "\n");
77 System.out.println(hde.encode(decrypted) + "\n");
86 System.out.println(hde.encode(decrypted) + "\n");
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS8Key.java85 encode();
160 encode();
177 encode(pkcs8EncodedKeyStream, algid, key);
261 public final void encode(DerOutputStream out) throws IOException method in class:PKCS8Key
263 encode(out, this.algid, this.key);
272 result = encode();
290 public byte[] encode() throws InvalidKeyException { method in class:PKCS8Key
296 encode (out);
397 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) method in class:PKCS8Key
401 algid.encode(tm
[all...]

Completed in 535 milliseconds

1234567891011>>