Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for calculates (0.18 sec)

  1. src/main/java/jcifs/pac/PacMac.java

        /**
         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
         * @param keyusage the Kerberos key usage number for this operation
         * @param key the encryption key to use for MAC calculation
         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         * @return whether this mechanisms supports integrity
         */
        boolean supportsIntegrity();
    
        /**
         * Calculates a Message Integrity Code (MIC) for the given data.
         * @param data the data to calculate MIC for
         * @return MIC
         * @throws CIFSException if an error occurs calculating the MIC
         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SMBSigningDigest.java

         *            response message
         */
        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
         *            The data.
         * @param offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

         */
        public void setMic(final byte[] mic) {
            this.mic = mic;
        }
    
        /**
         * Checks whether a message integrity code (MIC) should be calculated for this message.
         *
         * @return whether a MIC should be calculated
         */
        public boolean isMICRequired() {
            return this.micRequired;
        }
    
        @Override
        public byte[] toByteArray() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

                inOrder.verify(mockCtx).dispose();
    
                // Also ensure no unexpected calls
                verifyNoMoreInteractions(mockCtx);
            }
    
            @Test
            @DisplayName("Never calculates MIC when integrity unsupported")
            void testNoMicCalculationWhenIntegrityUnsupported() throws Exception {
                // Only stub supportsIntegrity - isEstablished won't be called due to short-circuit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * Calculates the LMv2 response for NTLM authentication.
         *
         * @param type2 the Type-2 message containing the server challenge
         * @param domain the domain name
         * @param user the username
         * @param password the user's password
         * @param clientChallenge the client challenge bytes
         * @return the calculated LMv2 response
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    ex.printStackTrace(log);
                }
            } finally {
                signSequence += 2;
            }
        }
    
        /**
         * Performs MAC signature verification.  This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. docs/en/docs/js/termynal.js

            this.container.setAttribute('data-termynal', '');
        }
    
        /**
         * Initialise the widget, get lines, clear container and start animation.
         */
        init() {
            /**
             * Calculates width and height of Termynal container.
             * If container is empty and lines are dynamically loaded, defaults to browser `auto` or CSS.
             */
            const containerStyle = getComputedStyle(this.container);
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

         * Gets the selected hash algorithm.
         *
         * @return the hash algorithm
         */
        public int getSelectedHashAlgorithm() {
            return selectedHashAlgorithm;
        }
    
        /**
         * Calculates hash according to SMB 3.1.1 preauth integrity specification.
         *
         * @param previousHash the previous hash in the chain
         * @param messageData the message data to hash
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(bytesRead > 0);
            assertEquals(action, notifyInfo.getAction());
            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode correctly calculates bytes read")
        void testDecodeBytesReadCalculation() throws SMBProtocolDecodingException {
            String fileName = "test123.doc";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top