Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ByteArrayOutputStream (0.23 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for ( String dialect : this.dialects ) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.http;
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenTarg.java

        public void setMechanism ( ASN1ObjectIdentifier mechanism ) {
            this.mechanism = mechanism;
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
                ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
                ASN1EncodableVector fields = new ASN1EncodableVector();
                int res = getResult();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

                ASN1EncodableVector ev = new ASN1EncodableVector();
                ev.add(SPNEGO_OID);
                ev.add(new DERTaggedObject(true, 0, new DERSequence(fields)));
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
                ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

         * @param mechs
         * @return
         * @throws CIFSException
         */
        private static byte[] encodeMechs ( ASN1ObjectIdentifier[] mechs ) throws CIFSException {
            try {
                ByteArrayOutputStream bos = new ByteArrayOutputStream();
                ASN1OutputStream dos = ASN1OutputStream.create(bos, ASN1Encoding.DER);
                dos.writeObject(new DERSequence(mechs));
                dos.close();
                return bos.toByteArray();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
Back to top