Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 264 for misc (0.02 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
            assertArrayEquals(mic, p3.getMechanismListMIC(), "MIC should be parsed from tag [3]");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SSPContextTest.java

                }
                byte[] expected = calculateMIC(data);
                if (mic.length != expected.length || mic[0] != expected[0]) {
                    throw new CIFSException("MIC mismatch");
                }
            }
    
            @Override
            public boolean isMICAvailable() {
                // Available if context is established and integrity is supported
                return this.established && this.integrity;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  3. docs/features/caching.md

    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's 
    lifetime based on Response cache headers.
    
     - CallStart 
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb/SSPContext.java

        /**
         * 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;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertThat(cache.asMap().containsKey(entry.getKey())).isTrue();
            assertThat(cache.asMap().containsValue(entry.getValue())).isTrue();
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue());
          }
          assertThat(cache.stats().missCount()).isEqualTo(WARMUP_SIZE);
          checkValidState(cache);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

                    throw new CIFSException("Failed to decrypt MIC", e);
                }
            }
    
            final int expectSeq = this.verifySequence.getAndIncrement();
            if (expectSeq != seq) {
                throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq));
            }
    
            final byte[] verify = new byte[8];
            System.arraycopy(mic, 4, verify, 0, 8);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  7. compat/maven-model-builder/src/test/resources/poms/factory/complex.xml

                    </property>
                    <file>
                        <missing>simple.xml</missing>
                    </file>
                </activation>
                <properties>
                    <profile.miss>activated-2</profile.miss>
                </properties>
            </profile>
        </profiles>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/spnego/NegTokenTargTest.java

            ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            byte[] tokenArray = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 9, 9 };
            NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic);
    
            // Act – serialise and parse back
            byte[] bytes = original.toByteArray();
            NegTokenTarg roundTrip = new NegTokenTarg(bytes);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        @Override
        public String toString() {
            String mic = null;
            if (this.getMechanismListMIC() != null) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
        @Override
        public byte[] toByteArray() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] data = new byte[] { 1, 2 };
            byte[] mic = new byte[] { 3 };
            // No exception means success
            doNothing().when(gssContext).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
    
            assertDoesNotThrow(() -> ctx.verifyMIC(data, mic));
            verify(gssContext, times(1)).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top