Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for setRandom (0.07 sec)

  1. 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)
  2. 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)
  3. 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