Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for MIC (0.01 seconds)

  1. src/main/java/jcifs/ntlmssp/Type3Message.java

        /**
         * Returns the message integrity code (MIC) for this Type-3 message.
         *
         * @return A <code>byte[]</code> containing the message integrity code.
         */
        public byte[] getMic() {
            return this.mic;
        }
    
        /**
         * Sets the message integrity code (MIC) for this Type-3 message.
         *
         * @param mic
         *            NTLM mic to set (16 bytes)
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

                throw new CIFSException("Failed to calculate MIC", e);
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[])
         */
        @Override
        public void verifyMIC(byte[] data, byte[] mic) throws CIFSException {
            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  3. src/main/java/jcifs/spnego/NegTokenTarg.java

         */
        public static final int ACCEPT_INCOMPLETE = 1;
        /**
         * Result code indicating authentication was rejected
         */
        public static final int REJECTED = 2;
        /**
         * Result code indicating MIC token is requested
         */
        public static final int REQUEST_MIC = 3;
    
        private ASN1ObjectIdentifier mechanism;
    
        private int result = UNSPECIFIED_RESULT;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // Then
            // MIC (Message Integrity Check) should be included for newer versions
            if (type3.isMICRequired()) {
                assertNotNull(type3.getMic());
                assertEquals(16, type3.getMic().length); // MIC is 16 bytes
            }
        }
    
        @Test
        @DisplayName("Should handle case sensitivity correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // a relatively large range of samba versions has a bug causing
                            // an invalid parameter error when a SPNEGO MIC is in place and auth fails
                            throw new SmbAuthException("Login failed", e);
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top