- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 81 for challenges (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
import java.util.Collections.singletonMap import java.util.Locale.US import kotlin.text.Charsets.ISO_8859_1 import okhttp3.internal.unmodifiable /** * An [RFC 7235][rfc_7235] challenge. * * [rfc_7235]: https://tools.ietf.org/html/rfc7235 */ class Challenge( /** Returns the authentication scheme, like `Basic`. */ @get:JvmName("scheme") val scheme: String, authParams: Map<String?, String>, ) { /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 15:01:35 GMT 2025 - 3.5K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun body ()Lokhttp3/ResponseBody; public final fun cacheControl ()Lokhttp3/CacheControl; public final fun cacheResponse ()Lokhttp3/Response; public final fun challenges ()Ljava/util/List; public fun close ()V public final fun code ()I public final fun handshake ()Lokhttp3/Handshake; public final fun header (Ljava/lang/String;)Ljava/lang/String;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmChallenge.java
/** * Represents an NTLM authentication challenge in SMB1 protocol. */ public final class NtlmChallenge implements Serializable { /** * The NTLM challenge bytes received from the server. */ public byte[] challenge; /** * The domain controller address that issued the challenge. */ public UniAddress dc; NtlmChallenge(final byte[] challenge, final UniAddress dc) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
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. */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (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. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmChallenge.java
/** * Challenge */ public byte[] challenge; /** * Server address */ public UniAddress dc; /** * Creates a new NTLM challenge with the specified parameters. * @param challenge the NTLM challenge bytes * @param dc the domain controller address */ public NtlmChallenge(final byte[] challenge, final UniAddress dc) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (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); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
void testGetPreNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getPreNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* @param resp The response. * @param challenge The domain controller challenge. * @return the authenticated NtlmPasswordAuthentication object * @throws IOException If an IO error occurs. * @throws ServletException If an error occurs. */ public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge) throws IOException, ServletException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
void testConstructorSetsFields() { byte[] challenge = new byte[] { 1, 2, 3 }; UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(challenge, dc); assertSame(challenge, nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0)