- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for challenge (0.05 sec)
-
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
parse(material); } /** * Returns the challenge for this message. * * @return A <code>byte[]</code> containing the challenge. */ public byte[] getChallenge() { return challenge; } /** * Sets the challenge for this message. * * @param challenge The challenge from the domain controller/server. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
} /** * Returns the challenge for this message. * * @return A <code>byte[]</code> containing the challenge. */ public byte[] getChallenge() { return this.challenge; } /** * Sets the challenge for this message. * * @param challenge * The challenge from the domain controller/server. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
assertThat(challenges[0].realm).isNull() assertThat(challenges[0].authParams).isEqualTo(emptyMap<Any, Any>()) } @Test fun basicChallenge() { val headers = Headers .Builder() .add("WWW-Authenticate: Basic realm=\"protected area\"") .build() assertThat(headers.parseChallenges("WWW-Authenticate"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 16.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
return getPreNTLMResponse(password, challenge); } } /** * Computes the 24 byte Unicode password hash given the 8 byte server challenge. * * @param challenge the server challenge bytes * @return the Unicode password hash */ public byte[] getUnicodeHash(final byte[] challenge) { if (hashesExternal) { return unicodeHash; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Arrange String password = "password"; byte[] challenge = hex("1122334455667788"); // Act byte[] r1 = NtlmUtil.getNTLMResponse(password, challenge); byte[] r2 = NtlmUtil.getNTLMResponse(NtlmUtil.getNTHash(password), challenge); // Assert assertArrayEquals(r2, r1); assertEquals(24, r1.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* @param password the password to hash * @param challenge the server challenge bytes * @return the calculated response * @throws GeneralSecurityException if a cryptographic error occurs */ public static byte[] getNTLMResponse(final String password, final byte[] challenge) throws GeneralSecurityException { return getNTLMResponse(getNTHash(password), challenge); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
return NtlmContext.NTLMSSP_OID.equals(mechanism); } /** * Computes the 24 byte ANSI password hash given the 8 byte server challenge. * * @param tc the CIFS context * @param chlng the server challenge * @return the hash for the given challenge * @throws GeneralSecurityException if a security error occurs * @deprecated NTLMv1 is insecure. Use NTLMv2 (LM compatibility level 3 or higher)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} dc = chal.dc; challenge = chal.challenge; } else { dc = UniAddress.getByName(domainController, true); challenge = SmbSession.getChallenge(dc); } ntlm = NtlmSsp.authenticate(req, resp, challenge); if (ntlm == null) { return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun challenge() { var challenge = Challenge("", mapOf("" to "")) challenge = Challenge("", "") val scheme: String = challenge.scheme val authParams: Map<String?, String> = challenge.authParams val realm: String? = challenge.realm val charset: Charset = challenge.charset val utf8: Challenge = challenge.withCharset(Charsets.UTF_8) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun challenge() { val challenge = Challenge("", mapOf("" to "")) val scheme: String = challenge.scheme() val authParams: Map<String?, String> = challenge.authParams() val realm: String? = challenge.realm() val charset: Charset = challenge.charset() } @Test @Disabled fun cipherSuite() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0)