Searched defs:encoding (Results 126 - 150 of 341) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSAPublicKey.java45 private byte[] encoding = null; field in class:RSAPublicKey
127 * Returns the name of the primary encoding format of this key,
128 * or null if this key does not support encoding.
129 * The primary encoding format is
141 * @return the primary encoding format of the key.
149 * Returns the key in its primary encoding format, or null
150 * if this key does not support encoding.
153 * encoding.
157 if (encoding == null) {
160 encoding
[all...]
/openjdk7/jdk/test/java/nio/channels/Channels/
H A DBasic.java39 static String encoding; field in class:Basic
47 encoding = "ISO-8859-1";
50 encoding = "UTF-8";
197 String result = new String(bb, 0, totalRead, encoding);
210 fos.write(message.getBytes(encoding));
220 os.write(message.getBytes(encoding));
244 String result = new String(bb, 0, totalRead, encoding);
259 wbc.write(ByteBuffer.wrap(message.getBytes(encoding)));
279 String result = new String(data, 0, totalRead, encoding);
311 Writer w = Channels.newWriter(wbc, encoding);
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DEncASRepPart.java76 public EncASRepPart(DerValue encoding) throws Asn1Exception, argument
78 init(encoding);
81 private void init(DerValue encoding) throws Asn1Exception, argument
83 init(encoding, Krb5.KRB_ENC_AS_REP_PART);
H A DEncKrbCredPart.java98 public EncKrbCredPart(DerValue encoding) throws Asn1Exception, argument
100 init(encoding);
105 * @param encoding a single DER-encoded value.
110 private void init(DerValue encoding) throws Asn1Exception, argument
120 if (((encoding.getTag() & (byte) 0x1F) != (byte) 0x1D)
121 || (encoding.isApplication() != true)
122 || (encoding.isConstructed() != true)) {
125 der = encoding.getData().getDerValue();
H A DEncKrbPrivPart.java88 public EncKrbPrivPart(DerValue encoding) throws Asn1Exception, IOException { argument
89 init(encoding);
94 * @param encoding a single DER-encoded value.
98 private void init(DerValue encoding) throws Asn1Exception, IOException { argument
100 if (((encoding.getTag() & (byte) 0x1F) != (byte) 0x1C)
101 || (encoding.isApplication() != true)
102 || (encoding.isConstructed() != true)) {
105 der = encoding.getData().getDerValue();
H A DEncTGSRepPart.java72 public EncTGSRepPart(DerValue encoding) throws Asn1Exception, argument
74 init(encoding);
77 private void init(DerValue encoding) throws Asn1Exception, argument
79 init(encoding, Krb5.KRB_ENC_TGS_REP_PART);
H A DHostAddress.java225 * @param encoding a single DER-encoded value.
230 public HostAddress(DerValue encoding) throws Asn1Exception, IOException { argument
231 DerValue der = encoding.getData().getDerValue();
237 der = encoding.getData().getDerValue();
243 if (encoding.getData().available() > 0)
H A DHostAddresses.java174 * @param encoding a single DER-encoded value.
180 public HostAddresses(DerValue encoding) argument
184 while (encoding.getData().available() > 0) {
185 der = encoding.getData().getDerValue();
H A DKDCRep.java68 public EncKDCRepPart encKDCRepPart; //not part of ASN.1 encoding
107 public KDCRep(DerValue encoding, int req_type) throws Asn1Exception, argument
109 init(encoding, req_type);
122 * @param encoding a single DER-encoded value.
132 protected void init(DerValue encoding, int req_type) argument
136 if ((encoding.getTag() & 0x1F) != req_type) {
139 "encoding tag is " +
140 encoding.getTag() +
145 der = encoding.getData().getDerValue();
H A DKRBSafeBody.java89 * @param encoding a Der-encoded data.
93 public KRBSafeBody(DerValue encoding) throws Asn1Exception, IOException { argument
95 if (encoding.getTag() != DerValue.tag_Sequence) {
98 der = encoding.getData().getDerValue();
104 timestamp = KerberosTime.parse(encoding.getData(), (byte)0x01, true);
105 if ((encoding.getData().peekByte() & 0x1F) == 0x02) {
106 der = encoding.getData().getDerValue();
109 if ((encoding.getData().peekByte() & 0x1F) == 0x03) {
110 der = encoding.getData().getDerValue();
113 sAddress = HostAddress.parse(encoding
[all...]
H A DPAData.java86 * @param encoding a Der-encoded data.
90 public PAData(DerValue encoding) throws Asn1Exception, IOException { argument
92 if (encoding.getTag() != DerValue.tag_Sequence) {
95 der = encoding.getData().getDerValue();
101 der = encoding.getData().getDerValue();
105 if (encoding.getData().available() > 0)
114 * @exception Asn1Exception on encoding errors.
149 * @throws Asn1Exception|IOException if there is an encoding error
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DX509CertPath.java127 * the default encoding.
139 * encoding.
142 * @param encoding the encoding used
144 * the encoding requested is not supported
146 public X509CertPath(InputStream is, String encoding) argument
150 if (PKIPATH_ENCODING.equals(encoding)) {
152 } else if (PKCS7_ENCODING.equals(encoding)) {
155 throw new CertificateException("unsupported encoding");
263 * default encoding
340 getEncoded(String encoding) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/io/
H A DConverters.java52 private static String converterPackageName = null; /* file.encoding.pkg */
53 private static String defaultEncoding = null; /* file.encoding */
72 * string) representing the encoding name that was used to request the
81 * will be the string encoding name used to request it, assuming that cache
102 private static Class<?> cache(int type, Object encoding) { argument
113 if (oa[1].equals(encoding)) {
121 private static Class<?> cache(int type, Object encoding, Class<?> c) { argument
123 srs[CACHE_SIZE - 1] = new SoftReference<>(new Object[] { c, encoding });
131 public static boolean isCached(int type, String encoding) { argument
143 if (oa[1].equals(encoding))
198 getConverterClass(int type, String encoding) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/
H A DUCSReader.java79 * @param encoding One of UCS2LE, UCS2BE, UCS4LE or UCS4BE.
81 public UCSReader(InputStream inputStream, short encoding) { argument
82 this(inputStream, DEFAULT_BUFFER_SIZE, encoding);
92 * @param encoding One of UCS2LE, UCS2BE, UCS4LE or UCS4BE.
94 public UCSReader(InputStream inputStream, int size, short encoding) { argument
101 fEncoding = encoding;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/
H A DXIncludeTextReader.java49 * class will open the location, detect the encoding, and discard the byte order
111 String encoding = source.getEncoding();
112 if (encoding == null) {
113 encoding = "UTF-8";
187 /** The encoding of such a resource is determined by:
188 1 external encoding information, if available, otherwise
190 2 if the media type of the resource is text/xml, application/xml, or matches the conventions text/*+xml or application/*+xml as described in XML Media Types [IETF RFC 3023], the encoding is recognized as specified in XML 1.0, otherwise
191 3 the value of the encoding attribute if one exists, otherwise
217 encoding = detectedEncoding;
222 encoding
293 consumeBOM(InputStream stream, String encoding) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/
H A DXMLDocumentFragmentHandler.java75 * @param encoding The auto-detected IANA encoding name of the entity
77 * where the entity encoding is not auto-detected (e.g.
87 String encoding,
102 * @param encoding The IANA encoding name of the entity.
108 public void textDecl(String version, String encoding, argument
85 startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augmentations) argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/parser/
H A DXMLInputSource.java118 * @param encoding The encoding of the byte stream, if known.
122 String encoding) {
127 fEncoding = encoding;
143 * @param encoding The original encoding of the byte stream
148 String encoding) {
153 fEncoding = encoding;
206 * the encoding is auto-detected, then the encoding shoul
120 XMLInputSource(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding) argument
146 XMLInputSource(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding) argument
245 setEncoding(String encoding) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DEncodingInfo.java28 * Holds information about a given encoding, which is the Java name for the
29 * encoding, the equivalent ISO name.
43 * will answer if a character is in the encoding, and do so for a given
52 * Actually figuring out if a code point is in the encoding is expensive. So the
66 * The ISO encoding name.
79 * is in this encoding.
85 * char in question is in the encoding.
103 * character formed by the high/low pair is in the encoding.
123 * be in the encoding. This is useful for when the serializer is in
124 * temporary output state, and has no assciated encoding
322 EncodingImpl(String encoding, int first, int last, int codePoint) argument
406 inEncoding(char ch, String encoding) argument
445 inEncoding(char high, char low, String encoding) argument
[all...]
H A DXSLOutputAttributes.java38 * encoding
75 * @return the character encoding to be used in the output document.
148 * Sets the character encoding coming from the xsl:output encoding stylesheet attribute.
149 * @param encoding the character encoding
151 public void setEncoding(String encoding); argument
/openjdk7/jaxp/src/com/sun/xml/internal/stream/
H A DXMLEntityReader.java53 * Sets the encoding of the scanner. This method is used by the
54 * scanners if the XMLDecl or TextDecl line contains an encoding
58 * current entity will be changed to accomodate the new encoding.
59 * However, the new encoding is ignored if the current reader was
64 * @param encoding The IANA encoding name of the new encoding.
66 * @throws IOException Thrown if the new encoding is not supported.
72 public abstract void setEncoding(String encoding) argument
H A DXMLInputFactoryImpl.java99 public XMLEventReader createXMLEventReader(java.io.InputStream stream, String encoding) throws XMLStreamException { argument
102 return new XMLEventReaderImpl(createXMLStreamReader(stream, encoding));
153 public XMLStreamReader createXMLStreamReader(InputStream inputstream, String encoding) throws XMLStreamException { argument
154 XMLInputSource inputSource = new XMLInputSource(null,null,null,inputstream,encoding);
/openjdk7/jaxp/src/com/sun/xml/internal/stream/events/
H A DStartDocumentEvent.java54 public StartDocumentEvent(String encoding){ argument
55 init(encoding,"1.0",true,null);
58 public StartDocumentEvent(String encoding, String version){ argument
59 init(encoding,version,true,null);
62 public StartDocumentEvent(String encoding, String version, boolean standalone){ argument
64 init(encoding,version,standalone,null);
67 public StartDocumentEvent(String encoding, String version, boolean standalone,Location loc){ argument
69 init(encoding, version, standalone, loc);
71 protected void init(String encoding, String version, boolean standalone,Location loc) { argument
73 this.fEncodingScheam = encoding;
130 setEncoding(String encoding) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DBufferManagerReadStream.java25 package com.sun.corba.se.impl.encoding;
H A DCDROutputObject.java26 package com.sun.corba.se.impl.encoding;
36 import com.sun.corba.se.pept.encoding.OutputObject;
39 import com.sun.corba.se.spi.encoding.CorbaOutputObject ;
48 import com.sun.corba.se.impl.encoding.BufferManagerFactory;
49 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
50 import com.sun.corba.se.impl.encoding.CDROutputStream;
51 import com.sun.corba.se.impl.encoding.CDROutputStream_1_0;
52 import com.sun.corba.se.impl.encoding.CodeSetConversion;
53 import com.sun.corba.se.impl.encoding.CodeSetComponentInfo;
54 import com.sun.corba.se.impl.encoding
[all...]
H A DCDROutputStream_1_2.java25 package com.sun.corba.se.impl.encoding;
31 import com.sun.corba.se.impl.encoding.CodeSetConversion;

Completed in 52 milliseconds

1234567891011>>