/openjdk7/jdk/src/share/classes/sun/security/jgss/ |
H A D | GSSHeader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 41 * The format is specified in RFC 2743 section 3.1. 48 * encoding scheme descibed in this section rather than use ASN.1 60 * The tag defined in the GSS-API mechanism independent token 83 * Reads in a GSSHeader from an InputStream. Typically this would be 115 * Used to obtain the Oid stored in this GSSHeader instance. 145 * value in size. 174 * Len field and mechanism token must fit in remainin 237 getLength(InputStream in) argument 249 getLength(int lenByte, InputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | PKCS10Attributes.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 75 * @param in the DerInputStream to read the attributes from. 78 public PKCS10Attributes(DerInputStream in) throws IOException { argument 79 DerValue[] attrs = in.getSet(3, true); 90 * Encode the attributes in DER form to the stream. 100 * Encode the attributes in DER form to the stream. 209 * in the form of a set of entries, enclosed in brace [all...] |
H A D | PKCS8Key.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 91 public static PKCS8Key parse (DerValue in) throws IOException { argument 94 key = parseKey(in); 112 * @param in the DER-encoded SubjectPublicKeyInfo value 115 public static PrivateKey parseKey (DerValue in) throws IOException argument 120 if (in.tag != DerValue.tag_Sequence) 123 BigInteger parsedVersion = in.data.getBigInteger(); 131 algorithm = AlgorithmId.parse (in 334 decode(InputStream in) argument [all...] |
H A D | PKCS9Attributes.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 44 * Attributes in this set indexed by OID. 75 * @param in 85 DerInputStream in) throws IOException { 98 // derEncoding initialized in <code>decode()</code> 99 derEncoding = decode(in); 108 * @param in the contents of the DER encoding of the attribute set. 115 public PKCS9Attributes(DerInputStream in) throw argument 84 PKCS9Attributes(ObjectIdentifier[] permittedAttributes, DerInputStream in) argument 135 PKCS9Attributes(DerInputStream in, boolean ignoreUnsupportedAttributes) argument 186 decode(DerInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11SecureRandom.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 38 * application specified seed, we create a SHA1PRNG that we mix with in that 43 * in the SunPKCS11 class. 64 // bytes remaining in mixBuffer, if mixing is used 71 // lifetime in ms, currently 100 ms (0.1 s) 80 // number of bytes remain in iBuffer 192 private void readObject(ObjectInputStream in) argument 194 in [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | ByteArrayAccess.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 * checks before calling methods in this class. 51 * This class may also be helpful in improving the performance of the 52 * crypto code in the SunJCE provider. However, for now it is only accessible by 53 * the message digest implementation in the SUN provider. 105 static void b2iLittle(byte[] in, int inOfs, int[] out, int outOfs, int len) { argument 110 out[outOfs++] = unsafe.getInt(in, (long)inOfs); 117 out[outOfs++] = reverseBytes(unsafe.getInt(in, (lon 133 b2iLittle64(byte[] in, int inOfs, int[] out) argument 178 i2bLittle(int[] in, int inOfs, byte[] out, int outOfs, int len) argument 222 b2iBig(byte[] in, int inOfs, int[] out, int outOfs, int len) argument 250 b2iBig64(byte[] in, int inOfs, int[] out) argument 295 i2bBig(int[] in, int inOfs, byte[] out, int outOfs, int len) argument 339 b2lBig(byte[] in, int inOfs, long[] out, int outOfs, int len) argument 380 b2lBig128(byte[] in, int inOfs, long[] out) argument 408 l2bBig(long[] in, int inOfs, byte[] out, int outOfs, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | HandshakeInStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 39 * Once a new handshake record arrives, it is buffered in this class until 41 * handshake messages in case the message is split across multiple records. 74 * Note that this returns the bytes remaining in the buffer, not 75 * the bytes remaining in the current handshake message. 97 // data in a single read if enough is available 140 void incomingRecord(InputRecord in) throws IOException { argument 141 r.queueHandshake(in); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | CRLExtensions.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 79 * @param in the DerInputStream to read the Extension from, i.e. the 83 public CRLExtensions(DerInputStream in) throws CRLException { argument 84 init(in); 138 * Encode the extensions in DER form to the stream. 218 * @return an enumeration of the extensions in this CRL. 226 * @return a collection view of the extensions in this CRL. 291 * in th [all...] |
H A D | CertificateIssuerName.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 78 * @param in the DerInputStream to read the X500Name from. 81 public CertificateIssuerName(DerInputStream in) throws IOException { argument 82 dnName = new X500Name(in); 88 * @param in the InputStream to read the X500Name from. 91 public CertificateIssuerName(InputStream in) throws IOException { argument 92 DerValue derVal = new DerValue(in); 105 * Encode the name in DE [all...] |
H A D | CertificateSerialNumber.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 78 * @param in the DerInputStream to read the serial number from. 81 public CertificateSerialNumber(DerInputStream in) throws IOException { argument 82 serial = new SerialNumber(in); 88 * @param in the InputStream to read the serial number from. 91 public CertificateSerialNumber(InputStream in) throws IOException { argument 92 serial = new SerialNumber(in); 114 * Encode the serial number in DE [all...] |
H A D | CertificateSubjectName.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 78 * @param in the DerInputStream to read the X500Name from. 81 public CertificateSubjectName(DerInputStream in) throws IOException { argument 82 dnName = new X500Name(in); 88 * @param in the InputStream to read the X500Name from. 91 public CertificateSubjectName(InputStream in) throws IOException { argument 92 DerValue derVal = new DerValue(in); 105 * Encode the name in DE [all...] |
H A D | CertificateValidity.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 123 * @param in the DerInputStream to read the CertificateValidity from. 126 public CertificateValidity(DerInputStream in) throws IOException { argument 127 DerValue derVal = in.getDerValue(); 142 * Encode the CertificateValidity period in DER form to the stream. 149 // in cases where default constructor is used check for 264 * we use the internal Dates rather than the passed in Date
|
H A D | CertificateVersion.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 113 * @param in the DerInputStream to read the CertificateVersion from. 116 public CertificateVersion(DerInputStream in) throws IOException { argument 118 DerValue derVal = in.getDerValue(); 126 * @param in the InputStream to read the CertificateVersion from. 129 public CertificateVersion(InputStream in) throws IOException { argument 131 DerValue derVal = new DerValue(in); 156 * Encode the CertificateVersion period in DE [all...] |
/openjdk7/jdk/test/java/rmi/dgc/dgcAckFailure/ |
H A D | DGCAckFailure.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary If, after returning a reference to a remote object in the current 84 stub = null; // in case 4114579 ever gets fixed 115 private void readObject(ObjectInputStream in) argument 121 in.defaultReadObject();
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | StreamBuffer.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 39 * in order to minimize the overhead incurred by reading and writing to/from the 40 * underlying stream (using ByteArrayInput/OutputStreams results in allocation 44 * Writes/reads to and from a StreamBuffer must occur in distinct phases; reads 46 * semantics are necessary to avoid using wait/notify in 139 private StreamBufferInputStream in = new StreamBufferInputStream(); field in class:StreamBuffer 155 return in; 159 in.pos = out.pos = 0;
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | MultiSocketFactory.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 98 private InputStream in; field in class:MultiSocketFactory.CompressSocket 105 if (in == null) { 106 in = new CompressInputStream(super.getInputStream()); 108 return in; 131 private InputStream in; field in class:MultiSocketFactory.XorSocket 141 if (in == null) { 142 in = new XorInputStream(super.getInputStream(), pattern); 144 return in; 185 XorInputStream(InputStream in, byte pattern) argument [all...] |
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | MultiSocketFactory.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 98 private InputStream in; field in class:MultiSocketFactory.CompressSocket 105 if (in == null) { 106 in = new CompressInputStream(super.getInputStream()); 108 return in; 131 private InputStream in; field in class:MultiSocketFactory.XorSocket 141 if (in == null) { 142 in = new XorInputStream(super.getInputStream(), pattern); 144 return in; 185 XorInputStream(InputStream in, byte pattern) argument [all...] |
/openjdk7/jdk/test/java/rmi/server/RemoteObject/unrecognizedRefType/ |
H A D | UnrecognizedRefType.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 33 * other classes in the internal package sun.rmi.server should 71 ObjectInputStream in = new ObjectInputStream(bin); 73 Object obj2 = in.readObject(); 129 public void readExternal(ObjectInput in) { argument
|
/openjdk7/jdk/test/java/rmi/transport/pinClientSocketFactory/ |
H A D | PinClientSocketFactory.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 28 * be held strongly reachable by the RMI implementation forever; in 156 private void readObject(ObjectInputStream in) argument 159 in.defaultReadObject();
|
/openjdk7/jdk/test/javax/sound/sampled/FileWriter/ |
H A D | WriterCloseInput.java | 97 public ThrowAfterCloseStream(InputStream in, AudioFormat format, long length) { argument 98 super(in, format, length);
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | CharToByteUnicode.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 81 public int convert(char in[], int inOff, int inEnd, argument 116 char c = in[inI++]; 128 char c = in[inI++]; 139 public int flush(byte in[], int inOff, int inEnd) { argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSTransform.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 92 * (it may results in a reading of the profile header). 119 * (it may results in a reading of the profile header). 135 private synchronized void doTransform(LCMSImageLayout in, argument 139 inFormatter != in.pixelType || 146 inFormatter = in.pixelType; 154 LCMS.colorConvert(this, in, out); 587 /* convert an array of colors in shor [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | CharacterDecoder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 42 * The character encoders, in general, have been structured 52 * Of course in the simplest encoding schemes, the buffer has no 54 * between the text in an 'atom' and the binary data itself. 62 * abstract methods in this class. 71 * In general, the character decoders return error in the form of a 78 * referenced in the See Also list below. 114 * or correction codes in 133 readFully(InputStream in, byte buffer[], int offset, int len) argument 218 decodeBufferToByteBuffer(InputStream in) argument [all...] |
H A D | CharacterEncoder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 44 * that, in general, the encoded text has the form: 58 * abstract methods in this class. 68 * referenced in the See Also list below. 124 protected int readFully(InputStream in, byte buffer[]) argument 127 int q = in.read(); 173 * Encode the buffer in <i>aBuffer</i> and write the encoded 202 * Return a byte array from the remaining bytes in thi [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/server/ |
H A D | MarshalInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 76 /** if true, don't try superclass first in resolveClass() */ 91 * activation daemon use stubs that are in the package 121 public MarshalInputStream(InputStream in) argument 124 super(in); 196 * loader on the stack in that situation anyway.) 205 * URL. Otherwise, load from a loader using the codebase URL in 237 * to determine the class loader to define the proxy class in [all...] |