Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 439 for doTest (0.15 sec)

  1. tests/test_security_http_digest.py

    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Digest", "credentials": "foobar"}
    
    
    def test_security_http_digest_no_credentials():
        response = client.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. .github/workflows/update-rbe.yml

        - name: Update the RBE Configs
          run: |
            function map() {
              # The "digest" that allows us to pull an image is not the digest as
              # returned by the API, but a sha256sum of the entire chunk of image
              # metadata. gcr.io helpfully includes it in the header of the response
              # as docker-content-digest: sha256:[digest]. Note we use egrep to
              # match exactly sha256:<hash> because curl may include a ^M symbol at
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         * @param dst
         * @param dstIndex
         * @return message length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @param digest
         */
        void setDigest ( SMBSigningDigest digest );
    
    
        /**
         * @return the signing digest
         */
        SMBSigningDigest getDigest ();
    
    
        /**
         * @return the associated response
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    	tmpdir, err = os.MkdirTemp("", "go_ios_exec_")
    	if err != nil {
    		return 1, err
    	}
    	if !debug {
    		defer os.RemoveAll(tmpdir)
    	}
    
    	appdir := filepath.Join(tmpdir, "gotest.app")
    	os.RemoveAll(appdir)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(Strings.getUNIBytes(user.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain.toUpperCase()));
            hmac = Crypto.getHMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. .github/workflows/sigbuild-docker.yml

              cache-from: type=registry,ref=tensorflow/build:latest-${{ matrix.python-version }}
              cache-to: type=inline
          -
            name: Image digest
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Crypto.java

    
        /**
         * 
         * @return MD4 digest
         */
        public static MessageDigest getMD4 () {
            try {
                return MessageDigest.getInstance("MD4", getProvider());
            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top