Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setRandom (0.2 sec)

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

            case 3:
            case 4:
            case 5:
                // NTLMv2 - secure
                if (this.clientChallenge == null) {
                    this.clientChallenge = new byte[8];
                    tc.getConfig().getRandom().nextBytes(this.clientChallenge);
                }
                return NtlmUtil.getLMv2Response(this.domain, this.username, getPasswordAsCharArray(), chlng, this.clientChallenge);
            default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getRandom()
         */
        @Override
        public SecureRandom getRandom() {
            return this.delegate.getRandom();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMinimumVersion()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            if (config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB311)) {
                final byte[] salt = new byte[32];
                config.getRandom().nextBytes(salt);
                negoContexts.add(
                        new PreauthIntegrityNegotiateContext(config, new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 }, salt));
                this.preauthSalt = salt;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

     *
     */
    public interface Configuration {
    
        /**
         * Gets the secure random number generator for cryptographic operations
         *
         * @return random source to use
         */
        SecureRandom getRandom();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.dfs.ttl} (int, default 300)
         *
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

         */
        public BaseConfiguration(final boolean initDefaults) throws CIFSException {
            if (initDefaults) {
                this.initDefaults();
            }
        }
    
        @Override
        public SecureRandom getRandom() {
            return this.random;
        }
    
        @Override
        public String getNetbiosHostname() {
            return this.netbiosHostname;
        }
    
        @Override
        public InetAddress getLocalAddr() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top