Searched refs:encode (Results 26 - 50 of 308) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DCertId.java148 public void encode(DerOutputStream out) throws IOException { method in class:CertId
151 hashAlgId.encode(tmp);
154 certSerialNumber.encode(tmp);
160 encoder.encode(out.toByteArray()));
220 sb.append(encoder.encode(issuerNameHash));
222 sb.append(encoder.encode(issuerKeyHash));
H A DOCSPRequest.java97 // encode tbsRequest
102 certId.encode(certIdOut);
120 debug.println(hexEnc.encode(bytes) + "\n");
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificateIssuerExtension.java83 names.encode(os);
182 public void encode(OutputStream out) throws IOException { method in class:CertificateIssuerExtension
189 super.encode(tmp);
H A DSubjectKeyIdentifierExtension.java79 id.encode(os);
128 public void encode(OutputStream out) throws IOException { method in class:SubjectKeyIdentifierExtension
135 super.encode(tmp);
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 DX509Key.java107 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 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 DGeneralNames.java114 public void encode(DerOutputStream out) throws IOException { method in class:GeneralNames
121 gn.encode(temp);
H A DCRLDistributionPointsExtension.java201 public void encode(OutputStream out) throws IOException { method in class:CRLDistributionPointsExtension
202 encode(out, PKIXExtensions.CRLDistributionPoints_Id, false);
209 protected void encode(OutputStream out, ObjectIdentifier extensionId, method in class:CRLDistributionPointsExtension
218 super.encode(tmp);
283 point.encode(pnts);
/openjdk7/jdk/test/sun/security/util/DerValue/
H A DDerValueEqualsHashCode.java48 dn.encode(deros);
/openjdk7/jdk/test/sun/security/x509/GeneralName/
H A DEncode.java31 * @summary Check that GeneralName.encode() encodes an X500Name with
40 gn.encode(dos);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken.java97 public int encode(byte[] outToken, int offset) method in class:MicToken
101 super.encode(bos);
107 public byte[] encode() throws IOException, GSSException{ method in class:MicToken
110 encode(bos);
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DPainterGenerator.java188 //start by setting up common info needed to encode the control points
226 float x1 = encode((float)rshape.getX1(), a, b, width);
227 float y1 = encode((float)rshape.getY1(), c, d, height);
228 float x2 = encode((float)rshape.getX2(), a, b, width);
229 float y2 = encode((float)rshape.getY2(), c, d, height);
253 float x1 = encode((float)eshape.getX1(), a, b, width);
254 float y1 = encode((float)eshape.getY1(), c, d, height);
255 float x2 = encode((float)eshape.getX2(), a, b, width);
256 float y2 = encode((float)eshape.getY2(), c, d, height);
271 buffer.append(" path.moveTo(" + writeDecodeX(encode((floa
374 private float encode(float x, float a, float b, float w) { method in class:PainterGenerator
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/
H A DSnmpMsgProcessingModel.java47 * @param factory The pdu factory to use to encode and decode pdu.
53 * @param factory The pdu factory to use to encode and decode pdu.
60 * @param factory The pdu factory to use to encode and decode pdu.
73 * This method is called to encode a full scoped pdu that has not been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are known.
88 public int encode(int version, method in interface:SnmpMsgProcessingModel
100 * This method is called to encode a full scoped pdu that as been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are known.
128 * This method returns an encoded scoped pdu. This method encode only the <CODE>contextEngineID</CODE>, <CODE>contextName</CODE> and data. It is needed by the <CODE>SnmpSecurityModel</CODE> for decryption.
129 * @param pdu The pdu to encode.
133 public int encode(SnmpDecryptedPdu pdu, method in interface:SnmpMsgProcessingModel
H A DSnmpMsgProcessingSubSystem.java60 * @param factory The pdu factory to use to encode and decode pdu.
69 * @param factory The pdu factory to use to encode and decode pdu.
91 * This method is called to encode a full scoped pdu that as not been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are known. It will be routed to the dedicated model according to the version value.
106 public int encode(int version, method in interface:SnmpMsgProcessingSubSystem
120 * This method is called to encode a full scoped pdu that as been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are not known. It will be routed to the dedicated model according to the version value.
154 * @param pdu The pdu to encode.
158 public int encode(int version, method in interface:SnmpMsgProcessingSubSystem
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/
H A DCodec.java93 * the message body, and since the encode method returns the content type
126 ContentType encode( Packet packet, OutputStream out ) throws IOException; method in interface:Codec
129 * The version of {@link #encode(Packet,OutputStream)}
136 ContentType encode( Packet packet, WritableByteChannel buffer ); method in interface:Codec
144 String encode( InputStreamMessage message, OutputStream out ) throws IOException;
145 String encode( InputStreamMessage message, WritableByteChannel buffer );
153 * who needs to encode two {@link Message}s simultaneously will
160 * another thread is executing one of the {@link #encode} methods.
200 * Some transports, such as SMTP, may 'encode' data into another format
/openjdk7/jdk/test/java/io/OutputStreamWriter/
H A DEncode.java43 String enc1 = URLEncoder.encode(toEncode, "UTF-8");
52 String enc2 = URLEncoder.encode(toEncode, "UTF-8");
/openjdk7/jdk/src/share/classes/sun/security/jgss/spnego/
H A DSpNegoToken.java91 abstract byte[] encode() throws GSSException; method in class:SpNegoToken
104 token.write(encode());
/openjdk7/jdk/test/sun/nio/cs/
H A DTestISO2022JPEncoder.java46 CoderResult cr = enc.encode(cb, bb, false);
59 cr = enc.encode(cb, bb, true);
H A DTestStringCoding.java89 ByteBuffer bf = enc.reset().encode(CharBuffer.wrap(bmpCA));
111 //encode unmappable surrogates
121 int n = cae.encode(str.toCharArray(), 0, str.length(), ba);
127 n = cae.encode(str.toCharArray(), 0, str.length(), ba);
134 n = cae.encode(str.toCharArray(), 0, str.length(), ba);
141 n = cae.encode(str.toCharArray(), 0, str.length(), ba);
/openjdk7/hotspot/test/compiler/7184394/
H A DTestAESBase.java47 byte[] encode; field in class:TestAESBase
106 // do one encode and decode in preparation
107 // this will also create the encode buffer and decode buffer
108 encode = cipher.doFinal(input);
109 decode = dCipher.doFinal(encode);
111 expectedEncode = (byte[]) encode.clone();
115 showArray(encode, "encode: ");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/
H A DDatatypeConverterImpl.java554 public static char encode(int i) { method in class:DatatypeConverterImpl
583 // encode elements until only 1 or 2 elements are left to encode
587 buf[ptr++] = encode(input[i] >> 2);
588 buf[ptr++] = encode(
591 buf[ptr++] = encode(
594 buf[ptr++] = encode(input[i + 2] & 0x3F);
596 // encode when exactly 1 element (left) to encode
598 buf[ptr++] = encode(inpu
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DUUEncoderStream.java103 /* buffer up characters till we get a line's worth, then encode
110 encode();
118 encode(); // .. encode them
160 private void encode() throws IOException { method in class:UUEncoderStream
/openjdk7/jdk/test/sun/security/x509/X500Name/
H A DDerValueConstructor.java44 // encode
48 dn.encode(debugDER);
70 // encode
74 gn.encode(debugDER);
90 // encode
94 subTree.encode(debugDER);

Completed in 51 milliseconds

1234567891011>>