Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for ctype2 (0.04 sec)

  1. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmSsp.java

                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    data += 8;
                }
                final byte[] type2 = new byte[data + target.length + (targetInformation != null ? targetInformation.length : 0)];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8);
                writeULong(type2, 8, 2);
                writeSecurityBuffer(type2, 12, data, target);
                writeULong(type2, 20, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags(final Type2Message type2) {
            if (type2 == null) {
                return DEFAULT_FLAGS;
            }
            int flags = NTLMSSP_NEGOTIATE_NTLM;
            flags |= (type2.getFlags() & NTLMSSP_NEGOTIATE_UNICODE) != 0 ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            return flags;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertEquals("Type1", exception1.getType());
            assertEquals("Message1", exception1.getMessage());
            assertEquals("Type2", exception2.getType());
            assertEquals("Message2", exception2.getMessage());
    
            assertNotSame(exception1, exception2);
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
            AvPair avPair2 = new AvPair(type2, raw2);
    
            assertEquals(type2, avPair2.getType(), "Type should match the constructor argument for empty raw data.");
            assertArrayEquals(raw2, avPair2.getRaw(), "Raw data should match the constructor argument for empty raw data.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmSsp.java

                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top