Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 75 of 75 for getHmac (0.4 sec)

  1. 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")
        void testCaseSensitivity() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (SortedMap<K, V>) getMap();
        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Context.java

         *
         * @see jcifs.smb.SSPContext#calculateMIC(byte[])
         */
        @Override
        public byte[] calculateMIC(byte[] data) throws CIFSException {
            try {
                return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false));
            } catch (GSSException e) {
                throw new CIFSException("Failed to calculate MIC", e);
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  5. 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)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top