Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for verify (0.15 sec)

  1. src/main/java/jcifs/internal/SMBSigningDigest.java

         * @param length
         * @param extraPad
         *            extra padding to include in signature
         * @param msg
         *            The message to verify
         * @return whether verification was unsuccessful
         */
        boolean verify ( byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                }
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public boolean verify ( byte[] data, int offset, int l, int extraPad, CommonServerMessageBlock m ) {
    
            ServerMessageBlock msg = (ServerMessageBlock) m;
    
    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)
  3. src/main/java/jcifs/smb/SpnegoContext.java

                }
                this.mechContext.verifyMIC(ml, mechanismListMIC);
            }
            catch ( CIFSException e ) {
                throw new CIFSException("Failed to verify mechanismListMIC", e);
            }
        }
    
    
        /**
         * @param mechs
         * @return
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

                // TODO: SMB2 - do we need to check the MIDs?
                // We only read what we were waiting for, so first guess would be no.
                boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
                return !verify;
            }
            return true;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

                throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq));
            }
    
            byte[] verify = new byte[8];
            System.arraycopy(mic, 4, verify, 0, 8);
            if ( !MessageDigest.isEqual(trunc, verify) ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted));
    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)
  6. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset. 
         */
        boolean verify(byte[] data, int offset, ServerMessageBlock response) {
            update(macSigningKey, 0, macSigningKey.length);
            int index = offset;
            update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public synchronized boolean verify ( byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg ) {
            this.digest.reset();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * the 'received' member of the response object will not
             * be set to true indicating the send and sendTransaction
             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if ( this.andx == null || !getConfig().isUseBatching() || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand()) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int FLAGS_TARGET_MUST_BE_DIRECTORY    = 0x0002; 
        static final int FLAGS_COPY_TARGET_MODE_ASCII      = 0x0004; 
        static final int FLAGS_COPY_SOURCE_MODE_ASCII      = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES           = 0x0010; 
        static final int FLAGS_TREE_COPY                   = 0x0020; 
    
        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS      = 0x0000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
            }
            catch ( GSSException e ) {
                throw new CIFSException("Failed to verify MIC", e);
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isMICAvailable()
         */
        @Override
        public boolean isMICAvailable () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
Back to top