Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for type (0.6 sec)

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

            if ( this.domainName != null ) {
                String str;
    
                if ( this.type == SID_TYPE_DOMAIN ) {
                    str = this.domainName;
                }
                else if ( this.type == SID_TYPE_WKN_GRP || this.domainName.equals("BUILTIN") ) {
                    if ( this.type == SID_TYPE_UNKNOWN ) {
                        str = toString();
                    }
                    else {
    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/smb/SmbPipeHandleImpl.java

         */
        public SmbPipeHandleImpl ( SmbNamedPipe pipe ) {
            this.pipe = pipe;
            this.transact = ( pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_TRANSACT ) == SmbPipeResource.PIPE_TYPE_TRANSACT;
            this.call = ( pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL ) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = ( pipe.getPipeType() & 0xFFFF00FF ) | SmbConstants.O_EXCL;
            this.access = ( pipe.getPipeType() & 7 ) | 0x20000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

        }
    
    
        public static byte[] decrypt ( byte[] data, Key key, int type ) throws GeneralSecurityException {
            Cipher cipher = null;
            byte[] decrypt = null;
    
            switch ( type ) {
            case KerberosConstants.DES_ENC_TYPE:
                decrypt = decryptDES(data, key, cipher);
                break;
            case KerberosConstants.RC4_ENC_TYPE:
                decrypt = decryptRC4(data, key);
                break;
    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)
  4. src/test/java/jcifs/tests/PACTest.java

                        enc-part
                            etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                            kvno: 5
                            cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd…
                    authenticator
                        etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
    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)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                Type1Message type1 = (Type1Message) attemptNegotiation(response);
                if (type1 == null) return; // no NTLM
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' +
                            Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
    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)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

         * 
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message ( CIFSContext tc, Type1Message type1 ) {
            this(tc, type1, null, null);
        }
    
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         * 
         * @param tc
         *            context to use
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @param type2 The Type-2 message.
         * @param password The password.
         * @return A <code>byte[]</code> containing the LanManager response.
         */
        public static byte[] getLMResponse(Type2Message type2, String password) {
            if (type2 == null || password == null) return null;
            return NtlmPasswordAuthentication.getPreNTLMResponse(password,
                    type2.getChallenge());
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
    
                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
    
                int type = this.file.getType();
                int r, n;
                int blockSize = ( type == SmbConstants.TYPE_FILESYSTEM ) ? this.readSizeFile : this.readSize;
                do {
                    r = len > blockSize ? blockSize : len;
    
                    if ( log.isTraceEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType());
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top