Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 452 for type2 (0.11 seconds)

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

        /**
         * Creates a Type-3 message in response to the given Type-2 message.
         *
         * @param type2 the Type-2 message to respond to
         * @param password the user's password
         * @param domain the domain name
         * @param user the username
         * @param workstation the workstation name
         * @param flags the flags to use for the Type-3 message
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * Sets the MIC
         *
         * @param type1 the Type-1 message bytes
         * @param type2 the Type-2 message bytes
         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws IOException if an I/O error occurs
         */
        public void setupMIC(final byte[] type1, final byte[] type2) throws GeneralSecurityException, IOException {
            final byte[] sk = this.masterKey;
    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)
  3. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            String password = "testpassword";
    
            // When
            Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, "DOMAIN", "user", "WORKSTATION",
                    NtlmFlags.NTLMSSP_NEGOTIATE_NTLM);
    
            // Then
            assertNotNull(type3.getLMResponse());
            assertNotNull(type3.getNTResponse());
            assertTrue(type3.getLMResponse().length > 0);
    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)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

         *
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message(final CIFSContext tc, final Type1Message type1) {
            this(tc, type1, null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         *
         * @param tc
         *            context to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            this(type1, null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         *
         * @param type1 The Type-1 message which this represents a response to.
         * @param challenge The challenge from the domain controller/server.
         * @param target The authentication target.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(buffer.readByteString()).isEqualTo("A20743054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit tagged implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        // Type3 ::= [2] Type2
        // Type4 ::= [APPLICATION 7] IMPLICIT Type3
        val buffer =
          Buffer()
            .write("670743054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            scriptEngineFactory.add("type1", engine1);
            scriptEngineFactory.add("type2", engine2);
    
            // Execute with first engine
            Object result1 = scriptExecutor.execute("type1", "script for engine1");
            assertEquals("engine1:processed: script for engine1", result1);
    
            // Execute with second engine
            Object result2 = scriptExecutor.execute("type2", "script for engine2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        @Test
        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> intGetterProvider() {
            return Stream.of(Arguments.of((IntGetter) FileEntry::getType, -1, "negative type"),
                    Arguments.of((IntGetter) FileEntry::getType, 0, "zero type"),
                    Arguments.of((IntGetter) FileEntry::getType, Integer.MAX_VALUE, "max type"),
    
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    }
                    final Type3Message type3 = (Type3Message) attemptNegotiation(response);
                    if (type3 == null) {
                        return;
                    }
                    connection.setRequestProperty(authProperty, authMethod + ' ' + Base64.encode(type3.toByteArray()));
                    connection.connect(); // send type 3
                    if (cachedOutput != null && doOutput) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
Back to Top