Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for encoded (0.22 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/util/Strings.java

        private static final String SECRET_MASK_REPLACE = "$1******$2";
    
        /**
         * 
         */
        private Strings () {}
    
    
        /**
         * 
         * @param str
         * @param encoding
         * @return encoded
         */
        public static byte[] getBytes ( String str, Charset encoding ) {
            if ( str == null ) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            }
            else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
                dstIndex += len;
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * <tt>jcifs.Config.registerSmbURLHandler();</tt> method. This is required
     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL (<tt>domain;user:pass</tt>) must
     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            if ( setmid ) {
                makeKey(req);
            }
            else {
                req.setMid(0);
                this.mid.set(1);
            }
            int n = req.encode(this.sbuf, 4);
            Encdec.enc_uint32be(n & 0xFFFF, this.sbuf, 0); /* 4 byte ssn msg header */
    
            if ( log.isTraceEnabled() ) {
                log.trace(req.toString());
                log.trace(Hexdump.toHexString(this.sbuf, 4, n));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <tt>jcifs.smb1.Config.registerSmbURLHandler();</tt> method. This is required
     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL (<tt>domain;user:pass</tt>) must
     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeAndXWireFormat(dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
Back to top