Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getJdk (0.18 sec)

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

         */
        public static MessageDigest getMD4 () {
            try {
                return MessageDigest.getInstance("MD4", getProvider());
            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
            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/DfsResolver.java

         * 
         * @param domain
         * @param tf
         * @return connection
         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
        SmbTransport getDc ( CIFSContext tf, String domain ) throws CIFSException;
    
    
        /**
         * Resolve the location of a DFS path
         * 
         * @param domain
         * @param root
         * @param path
         * @param tf
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                return null;
            }
    
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.DfsResolver#getDc(jcifs.CIFSContext, java.lang.String)
         */
        @Override
        public SmbTransport getDc ( CIFSContext tf, String domain ) throws SmbAuthException {
            if ( tf.getConfig().isDfsDisabled() )
                return null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

         */
        public static byte[] getNTHash ( String password ) {
            if ( password == null ) {
                throw new NullPointerException("Password parameter is required");
            }
            MessageDigest md4 = Crypto.getMD4();
            md4.update(Strings.getUNIBytes(password));
            return md4.digest();
        }
    
    
        /**
         * 
         * @param password
         * @return the calculated hash
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacGroup.java

        private SID id;
        private int attributes;
    
    
        public PacGroup ( SID id, int attributes ) {
            super();
            this.id = id;
            this.attributes = attributes;
        }
    
    
        public SID getId () {
            return this.id;
        }
    
    
        public int getAttributes () {
            return this.attributes;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

    
        @Test
        public void resolveDC () throws CIFSException {
            CIFSContext context = withAnonymousCredentials();
            DfsResolver dfs = context.getDfs();
    
            try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) {
                Address addr = dc.getRemoteAddress();
                String remoteHostName = dc.getRemoteHostName();
                assertNotNull(addr);
                assertNotNull(remoteHostName);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

                log.debug("Server seal key is " + Hexdump.toHexString(this.sealServerKey));
            }
        }
    
    
        private static byte[] deriveKey ( byte[] masterKey, String cnst ) {
            MessageDigest md5 = Crypto.getMD5();
            md5.update(masterKey);
            md5.update(cnst.getBytes(StandardCharsets.US_ASCII));
            md5.update((byte) 0);
            return md5.digest();
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/HMACT64.java

            }
            for ( int i = length; i < BLOCK_LENGTH; i++ ) {
                this.ipad[ i ] = IPAD;
                this.opad[ i ] = OPAD;
            }
    
            this.md5 = Crypto.getMD5();
            engineReset();
        }
    
    
        private HMACT64 ( HMACT64 hmac ) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @throws SmbException
         */
        public void getUserSessionKey ( CIFSContext tc, byte[] chlng, byte[] dest, int offset ) throws SmbException {
            try {
                MessageDigest md4 = Crypto.getMD4();
                byte[] ntHash = getNTHash();
                switch ( tc.getConfig().getLanManCompatibility() ) {
                case 0:
                case 1:
                case 2:
                    md4.update(ntHash);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
        }
    
    
        /**
         * Construct a digest with a non-zero starting sequence number
         * 
         * @param macSigningKey
         * @param initialSequence
         */
        public SMB1SigningDigest ( byte[] macSigningKey, int initialSequence ) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
Back to top