/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Checksum.java | 207 * @param encoding a single DER-encoded value. 213 private Checksum(DerValue encoding) throws Asn1Exception, IOException { argument 215 if (encoding.getTag() != DerValue.tag_Sequence) { 218 der = encoding.getData().getDerValue(); 224 der = encoding.getData().getDerValue(); 230 if (encoding.getData().available() > 0) {
|
H A D | EncryptedData.java | 50 byte[] plain; // not part of ASN.1 encoding 219 * @param encoding a single DER-encoded value. 227 private EncryptedData(DerValue encoding) argument 231 if (encoding.getTag() != DerValue.tag_Sequence) { 234 der = encoding.getData().getDerValue(); 241 if ((encoding.getData().peekByte() & 0x1F) == 1) { 242 der = encoding.getData().getDerValue(); 248 der = encoding.getData().getDerValue(); 254 if (encoding.getData().available() > 0) { 375 * Returns the raw cipher text bytes, not in ASN.1 encoding [all...] |
H A D | KrbApRep.java | 112 private KrbApRep(DerValue encoding, Credentials tgs_creds) argument 116 rep = new APRep(encoding); 119 KRBError err = new KRBError(encoding); 135 encoding = new DerValue(enc_ap_rep_part); 136 encPart = new EncAPRepPart(encoding); 167 * Returns the ASN.1 encoding that should be sent to the peer.
|
H A D | Realm.java | 98 * @param encoding a Der-encoded data. 103 public Realm(DerValue encoding) argument 105 if (encoding == null) { 106 throw new IllegalArgumentException("encoding can not be null"); 108 realm = new KerberosString(encoding).toString();
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | Authenticator.java | 98 public Authenticator(DerValue encoding) argument 100 init(encoding); 105 * @param encoding a single DER-encoded value. 112 private void init(DerValue encoding) argument 117 if (((encoding.getTag() & (byte) 0x1F) != (byte) 0x02) 118 || (encoding.isApplication() != true) 119 || (encoding.isConstructed() != true)) { 122 der = encoding.getData().getDerValue();
|
H A D | EncKDCRepPart.java | 119 public EncKDCRepPart(DerValue encoding, int rep_type) argument 121 init(encoding, rep_type); 127 * @param encoding a single DER-encoded value. 133 protected void init(DerValue encoding, int rep_type) argument 138 msgType = (encoding.getTag() & (byte) 0x1F); 143 der = encoding.getData().getDerValue(); 216 //should use the rep_type to build the encoding
|
H A D | EncTicketPart.java | 108 public EncTicketPart(DerValue encoding) argument 110 init(encoding); 115 * @param encoding a single DER-encoded value. 136 private void init(DerValue encoding) argument 143 if (((encoding.getTag() & (byte) 0x1F) != (byte) 0x03) 144 || (encoding.isApplication() != true) 145 || (encoding.isConstructed() != true)) { 148 der = encoding.getData().getDerValue();
|
H A D | KDCOptions.java | 175 public KDCOptions(DerValue encoding) throws Asn1Exception, IOException { argument 176 this(encoding.getUnalignedBitString(true).toBooleanArray());
|
H A D | KDCReqBody.java | 128 * @param encoding a DER-encoded data. 135 public KDCReqBody(DerValue encoding, int msgType) argument 141 if (encoding.getTag() != DerValue.tag_Sequence) { 144 kdcOptions = KDCOptions.parse(encoding.getData(), (byte)0x00, false); 145 cname = PrincipalName.parse(encoding.getData(), (byte)0x01, true); 149 crealm = Realm.parse(encoding.getData(), (byte)0x02, false); 150 sname = PrincipalName.parse(encoding.getData(), (byte)0x03, true); 151 from = KerberosTime.parse(encoding.getData(), (byte)0x04, true); 152 till = KerberosTime.parse(encoding.getData(), (byte)0x05, false); 153 rtime = KerberosTime.parse(encoding [all...] |
H A D | KrbCredInfo.java | 108 * @param encoding a Der-encoded data. 113 public KrbCredInfo(DerValue encoding) argument 115 if (encoding.getTag() != DerValue.tag_Sequence) { 128 key = EncryptionKey.parse(encoding.getData(), (byte)0x00, false); 129 if (encoding.getData().available() > 0) 130 prealm = Realm.parse(encoding.getData(), (byte)0x01, true); 131 if (encoding.getData().available() > 0) 132 pname = PrincipalName.parse(encoding.getData(), (byte)0x02, true); 133 if (encoding.getData().available() > 0) 134 flags = TicketFlags.parse(encoding [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | X509Factory.java | 91 byte[] encoding = readOneBlock(is); 92 if (encoding != null) { 93 X509CertImpl cert = (X509CertImpl)getFromCache(certCache, encoding); 97 cert = new X509CertImpl(encoding); 148 byte[] encoding; 150 encoding = ((X509CertImpl)c).getEncodedInternal(); 152 encoding = c.getEncoded(); 154 X509CertImpl newC = (X509CertImpl)getFromCache(certCache, encoding); 161 newC = new X509CertImpl(encoding); 162 encoding 201 getFromCache(Cache cache, byte[] encoding) argument 211 addToCache(Cache cache, byte[] encoding, Object value) argument 262 engineGenerateCertPath(InputStream inStream, String encoding) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharConverter.java | 33 * in an external encoding into Unicode characters. 80 * @param string represents encoding 82 public static ByteToCharConverter getConverter(String encoding) argument 86 cvt = Converters.newConverter(Converters.BYTE_TO_CHAR, encoding); 97 * encoding into an array of Unicode characters. This method allows 128 * encoding into an array of Unicode characters. Unlike convert, 146 * sequence of chars that is illegal in the input character encoding. 217 // Until UTF-16, this will do for every encoding 250 * encoding with the substitution character set by setSubstitionChars.
|
H A D | CharToByteConverter.java | 33 * characters into an external encoding. 80 * @param string represets encoding 82 public static CharToByteConverter getConverter(String encoding) argument 86 cvt = Converters.newConverter(Converters.CHAR_TO_BYTE, encoding); 97 * in the target character encoding. This method allows a buffer by 118 * that cannot be converted to the external character encoding. Thrown 131 * pairs, into an array of bytes in the target character encoding. 194 * in the target character encoding. Unlike convert, this method 324 * target character encoding. 378 * encoding wit [all...] |
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | NetworkClient.java | 64 /* Name of encoding to use for output */ 65 protected static String encoding; field in class:NetworkClient 76 encs[0] = System.getProperty("file.encoding", "ISO8859_1"); 87 encoding = encs[0]; 89 if (!isASCIISuperset (encoding)) { 90 encoding = "ISO8859_1"; 93 encoding = "ISO8859_1"; 99 * Test the named character encoding to verify that it converts ASCII 100 * characters correctly. We have to use an ASCII based encoding, or else 116 private static boolean isASCIISuperset (String encoding) throw argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/cs/ext/ |
H A D | CompoundTextSupport.java | 41 final byte[] encoding; field in class:CompoundTextSupport.ControlSequence 46 ControlSequence(byte[] escSequence, byte[] encoding) { argument 52 this.encoding = encoding; 60 if (encoding != null) { 61 for (int i = 0; i < encoding.length; i++) { 62 hash += (((int)encoding[i]) & 0xff) << (i % 4); 64 length += 2 /* M L */ + encoding.length + 1 /* 0x02 */; 92 if (encoding != rhs.encoding) { 448 isEncodingSupported(String encoding) argument 466 getNonStandardDecoder(byte[] escSequence, byte[] encoding) argument 501 getEscapeSequence(String encoding) argument 508 getEncoding(String encoding) argument [all...] |
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestJavacTaskScanner.java | 139 Charset encoding) { 160 StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, encoding); 137 getLocalFileManager(JavaCompiler tool, DiagnosticListener<JavaFileObject> dl, Charset encoding) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/output/ |
H A D | TransletOutputHandlerFactory.java | 91 public void setEncoding(String encoding) { argument 92 if (encoding != null) { 93 _encoding = encoding;
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/ |
H A D | DOM2TO.java | 398 private void setEncoding(String encoding) { argument 399 if (encoding != null) { 400 xmlEncoding = encoding; 401 _handler.setEncoding(encoding);
|
H A D | StAXEvent2SAX.java | 80 private String encoding = null; field in class:StAXEvent2SAX 157 encoding = ((StartDocument)event).getCharacterEncodingScheme(); 294 return encoding;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | DOMInputImpl.java | 33 * encoding), and/or a character stream. 126 * @param encoding The encoding of the byte stream, if known. 131 String encoding) { 137 fEncoding = encoding; 154 * @param encoding The original encoding of the byte stream 160 String encoding) { 166 fEncoding = encoding; 183 * @param encoding Th 129 DOMInputImpl(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding) argument 158 DOMInputImpl(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding) argument 187 DOMInputImpl(String publicId, String systemId, String baseSystemId, String data, String encoding) argument 299 setEncoding(String encoding) argument [all...] |
H A D | EntityImpl.java | 87 protected String encoding; field in class:EntityImpl 213 * the encoding of this entity, when it is an external parsed entity. 221 return encoding; 262 * encoding - An attribute specifying, as part of the text declaration, 263 * the encoding of this entity, when it is an external parsed entity. 271 encoding = value; 276 * An attribute specifying the encoding used for this entity at the tiome 290 * NON-DOM, used to set the input encoding.
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/ |
H A D | TeeXMLDocumentFilterImpl.java | 147 String encoding, 151 side.startDocument(locator, encoding, namespaceContext, augs); 152 next.startDocument(locator, encoding, namespaceContext, augs); 160 public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) argument 162 side.startGeneralEntity(name, identifier, encoding, augs); 163 next.startGeneralEntity(name, identifier, encoding, augs); 166 public void textDecl(String version, String encoding, Augmentations augs) throws XNIException { argument 167 side.textDecl(version, encoding, augs); 168 next.textDecl(version, encoding, augs); 171 public void xmlDecl(String version, String encoding, Strin argument 145 startDocument( XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) argument [all...] |
H A D | UnparsedEntityHandler.java | 73 XMLResourceIdentifier identifier, String encoding, 76 fDTDHandler.startParameterEntity(name, identifier, encoding, augmentations); 80 public void textDecl(String version, String encoding, argument 83 fDTDHandler.textDecl(version, encoding, augmentations); 72 startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augmentations) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/ |
H A D | DOMResultAugmentor.java | 110 public void startDocument(XMLLocator locator, String encoding, argument 114 public void xmlDecl(String version, String encoding, String standalone, argument 185 XMLResourceIdentifier identifier, String encoding, 188 public void textDecl(String version, String encoding, Augmentations augs) argument 184 startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) argument
|
H A D | DOMResultBuilder.java | 208 public void startDocument(XMLLocator locator, String encoding, argument 212 public void xmlDecl(String version, String encoding, String standalone, argument 284 XMLResourceIdentifier identifier, String encoding, 287 public void textDecl(String version, String encoding, Augmentations augs) argument 283 startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) argument
|