Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for encoder (0.24 sec)

  1. src/main/java/jcifs/smb/SID.java

                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
         * Convert a sid_t to byte array
         * 
         * @param sid
         * @return byte encoded form
         */
        public static byte[] toByteArray ( rpc.sid_t sid ) {
            byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[ di++ ] = sid.revision;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                }
    
                if ( ( msg.flags & ( DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG ) ) != ( DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG ) ) {
                    buf.start = off;
                    buf.reset();
                    msg.encode_header(buf);
                    buf.enc_ndr_long(msg.alloc_hint);
                    buf.enc_ndr_short(0); /* context id */
                    buf.enc_ndr_short(msg.getOpnum());
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' +
                            Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
                    response = parseResponseCode();
                    if (response != HTTP_UNAUTHORIZED &&
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            byte[] temp = new byte[28 + targetInfoLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if (targetInfo != null)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.*;
    
    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    import jcifs.util.Encdec;
    
    
    @SuppressWarnings ( "javadoc" )
    public class KerberosEncData {
    
        private String userRealm;
        private String userPrincipalName;
        private ArrayList<InetAddress> userAddresses;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

    import jcifs.pac.PacLogonInfo;
    import jcifs.pac.kerberos.KerberosEncData;
    import jcifs.pac.kerberos.KerberosPacAuthData;
    import jcifs.pac.kerberos.KerberosToken;
    import jcifs.spnego.NegTokenInit;
    import org.bouncycastle.util.encoders.Hex;
    import org.junit.Assert;
    import org.junit.Test;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.PacMac;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.level);
                int _descr = this.level;
                _dst.enc_ndr_long(_descr);
                _dst.enc_ndr_referent(this.e, 1);
    
                if ( this.e != null ) {
                    _dst = _dst.deferred;
                    this.e.encode(_dst);
    
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                this.sid = sid;
                this.domain_handle = domain_handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
                _dst.enc_ndr_long(access_mask);
                sid.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                domain_handle.decode(_src);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
Back to top