Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for digest (0.07 sec)

  1. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

            .add("WWW-Authenticate", "Digest,Basic realm=\"myrealm\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "myrealm")),
        )
      }
    
      @Test fun multipleSeparatorsBetweenChallenges() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,realm=\"myrealm\"")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                return; /* CRITICAL */
            }
            this.digest.update(input, offset, len);
            this.updates++;
        }
    
    
        /**
         * @return calculated digest
         */
        public byte[] digest () {
            byte[] b;
    
            b = this.digest.digest();
    
            if ( log.isTraceEnabled() ) {
                log.trace("digest: ");
                log.trace(Hexdump.toHexString(b, 0, b.length));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                throw ex;
        
                            uid = response.uid;
        
                            if( request.digest != null ) {
                                /* success - install the signing digest */
                                transport.digest = request.digest;
                            }
        
                            connectionState = 2;    
    
                            state = 0;
        
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    HMACT64 userKey = new HMACT64(ntlmv2Hash); 
                    userKey.update(hmac.digest()); 
                    userKey.digest(dest, offset, 16); 
                    break; 
                default: 
                    md4.update(md4.digest()); 
                    md4.digest(dest, offset, 16); 
                    break; 
                } 
            } catch (Exception e) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

            mac.update(seqBytes); // sequence
            mac.update(data); // data
            byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if ( log.isDebugEnabled() ) {
                log.debug("Digest " + Hexdump.toHexString(dgst));
                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
    
        /**
         * @return the digest
         */
        @Override
        public final SMB1SigningDigest getDigest () {
            return this.digest;
        }
    
    
        /**
         * @param digest
         *            the digest to set
         */
        @Override
        public final void setDigest ( SMBSigningDigest digest ) {
            this.digest = (SMB1SigningDigest) digest;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        public Smb2SigningDigest getDigest () {
            return this.digest;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlock#setDigest(jcifs.internal.SMBSigningDigest)
         */
        @Override
        public void setDigest ( SMBSigningDigest digest ) {
            this.digest = (Smb2SigningDigest) digest;
            if ( this.next != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  8. fastapi/security/http.py

            auto_error: Annotated[
                bool,
                Doc(
                    """
                    By default, if the HTTP Digest is not provided, `HTTPDigest` will
                    automatically cancel the request and send the client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Digest is not
                    available, instead of erroring out, the dependency result will
                    be `None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
         * In particular, in a digest, the default `Content-Type` value for a body part is changed from
         * "text/plain" to "message/rfc822".
         */
        @JvmField
        val DIGEST = "multipart/digest".toMediaType()
    
        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
                request.digest = digest; /* for sign called in encode */
    
            try {
                if (response == null) {
                    doSend0( request );
                    return;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top