Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for atLeast (0.2 sec)

  1. src/main/java/jcifs/DialectVersion.java

            }
            return this.dialect;
        }
    
    
        /**
         * 
         * @param v
         * @return whether this version is a least the given one
         */
        public boolean atLeast ( DialectVersion v ) {
            return ordinal() >= v.ordinal();
        }
    
    
        /**
         * 
         * @param v
         * @return whether this version is a most the given one
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                i++;
            }
    
            if ( config.getMaximumVersion().atLeast(DialectVersion.SMB210) ) {
                System.arraycopy(config.getMachineId(), 0, this.clientGuid, 0, this.clientGuid.length);
            }
    
            List<NegotiateContextRequest> negoContexts = new LinkedList<>();
            if ( config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB311) ) {
                byte[] salt = new byte[32];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            this.minVersion = min != null ? min : DialectVersion.SMB1;
            this.maxVersion = max != null ? max : DialectVersion.SMB210;
    
            if ( this.minVersion.atLeast(this.maxVersion) ) {
                this.maxVersion = this.minVersion;
            }
        }
    
    
        protected void initDisallowCompound ( String prop ) {
            if ( prop == null ) {
                return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                }
            }
    
            if ( selected == null ) {
                log.error("Server returned an unknown dialect");
                return false;
            }
    
            if ( !selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion()) ) {
                log.error(
                    String.format(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated;
            int cipherId = -1;
    
            if ( resp.getSelectedDialect().atLeast(DialectVersion.SMB311) ) {
                cipherId = resp.getSelectedCipher();
            }
            else if ( resp.getSelectedDialect().atLeast(DialectVersion.SMB300) ) {
                cipherId = EncryptionNegotiateContext.CIPHER_AES128_CCM;
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

            boolean anonymous = this.credentials.isAnonymous();
            long sessId = 0;
    
            boolean preauthIntegrity = negoResp.getSelectedDialect().atLeast(DialectVersion.SMB311);
            this.preauthIntegrityHash = preauthIntegrity ? trans.getPreauthIntegrityHash() : null;
    
            if ( this.preauthIntegrityHash != null && log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                log.debug("Secure negotiation does not apply");
                return;
            }
    
            Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse();
            if ( nego.getSelectedDialect().atLeast(DialectVersion.SMB311) ) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top