Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for verifySignature (0.07 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.uid = 0;
            this.tid = 0xFFFF;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            /*
             * Verification fails (w/ W2K3 server at least) if status is not 0. This
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            if ( isRetainPayload() ) {
                byte[] payload = new byte[len];
                System.arraycopy(buffer, 4, payload, 0, len);
                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, 4, len) ) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + this.getClass().getName());
            }
            return len;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
Back to top