Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for challenges (0.09 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

      //    - redo the API to be as close to identical to ReentrantLock as possible,
      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. 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>,
    ) {
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. 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;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top