- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 80 for challenges (0.24 seconds)
-
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 Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val response = authenticator.onlyResponse() assertThat( response.request.url .toUrl() .path, ).isEqualTo("/private") assertThat(response.challenges()).isEqualTo(listOf(Challenge("Basic", "protected area"))) } @Test fun customTokenAuthenticator() { server.enqueue( MockResponse( code = 401,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
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 Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 15:01:35 GMT 2025 - 3.5K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K 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: Sun Apr 05 00:10:12 GMT 2026 - 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0)