- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 770 for type2 (0.02 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
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 */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
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. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
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 useRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
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) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
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"),
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0)