Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ENCRYPTION (0.16 sec)

  1. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES ( byte[] key ) {
            if ( key.length == 7 ) {
                return getDES(des7to8(key));
            }
    
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates that 128-bit encryption is supported.
         */
        public static final int NTLMSSP_NEGOTIATE_128 = 0x20000000;
    
        /**
         * Request explicit key exchange
         */
        public static final int NTLMSSP_NEGOTIATE_KEY_EXCH = 0x40000000;
    
        /**
         * Indicates that 56-bit encryption is supported.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                break;
            case KerberosConstants.RC4_ENC_TYPE:
                decrypt = decryptRC4(data, key);
                break;
            default:
                throw new GeneralSecurityException("Unsupported encryption type " + type);
            }
            return decrypt;
        }
    
    
        /**
         * @param data
         * @param key
         * @return
         * @throws GeneralSecurityException
    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/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    && this.server.encryptionKeyLength != 8 && ctx.getConfig().getLanManCompatibility() == 0 ) {
                log.warn("Unexpected encryption key length: " + this.server.encryptionKeyLength);
                return false;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            }
    
            if ( config.isEncryptionEnabled() && config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB300) ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
            }
    
            Set<DialectVersion> dvs = DialectVersion
                    .range(DialectVersion.max(DialectVersion.SMB202, config.getMinimumVersion()), config.getMaximumVersion());
    
    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)
  6. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether signatures are enforced from either side
         * @throws SmbException
         */
        boolean isSigningEnforced () throws SmbException;
    
    
        /**
         * @return the encryption key used by the server
         */
        byte[] getServerEncryptionKey ();
    
    
        /**
         * @param ctx
         * @return session
         */
        SmbSession getSmbSession ( CIFSContext ctx );
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * 
         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * 
         */
        public static final int SMB2_GLOBAL_CAP_ENCRYPTION = 0x40;
    
        /**
         * 
         */
        public static final byte SMB2_0_INFO_FILE = 1;
    
        /**
         * 
         */
        public static final byte SMB2_0_INFO_FILESYSTEM = 2;
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        }
    
    
        /**
         * 
         * @param dialect
         * @param sessionKey
         * @param preauthIntegrity
         * @return derived encryption key
         */
        public static byte[] deriveEncryptionKey ( int dialect, byte[] sessionKey, byte[] preauthIntegrity ) {
            return derive(
                sessionKey,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                return false;
            }
            if ( !foundEnc && ( caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION ) != 0 ) {
                log.error("Missing encryption negotiate context");
                return false;
            }
            else if ( !foundEnc ) {
                log.debug("No encryption support");
            }
            return true;
        }
    
    
    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)
  10. src/main/java/jcifs/Configuration.java

         * 
         * This is an experimental option allowing to indicate support during protocol
         * negotiation, SMB encryption is not implemented yet.
         * 
         * @return whether SMB encryption is enabled
         * @since 2.1
         */
        boolean isEncryptionEnabled ();
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top