Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for signature (0.25 sec)

  1. cmd/signature-v2_test.go

    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrExpiredPresignRequest,
    		},
    		// (4) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    				"Expires":        fmt.Sprintf("%d", now.Unix()+60),
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser.go

    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	// Save signature.
    	preSignV4Values.Signature, aec = parseSignature("Signature=" + query.Get(xhttp.AmzSignature))
    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	// Return structured form of signature query string.
    	return preSignV4Values, ErrNone
    }
    
    // Parses signature version '4' header of the following form.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = r.TransferEncoding
    		case "content-length":
    			// Signature-V4 spec excludes Content-Length from signed headers list for signature calculation.
    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4_test.go

    	}
    	// List of readers used.
    	readers := []io.Reader{
    		// Test - 1
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    		// Test - 2
    		bytes.NewReader([]byte("1000;")),
    		// Test - 3
    		bytes.NewReader([]byte(fmt.Sprintf("%4097d", 1))),
    		// Test - 4
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  5. tests/test_operations_signatures.py

    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
            app_sig = inspect.signature(app_method)
            param: inspect.Parameter
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.rawType.signature == 'org.gradle.SomeType'
        }
    
        def rawTypeForArrayType() {
            type.arrayDimensions = 2
    
            expect:
            type.rawType.signature == 'org.gradle.SomeType[][]'
        }
    
        def rawTypeForVarargsType() {
            when:
            type.setVarargs()
    
            then:
            type.rawType.signature == 'org.gradle.SomeType[]'
    
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val extensions: List<Extension>,
    ) {
      /**
       * Returns the standard name of this certificate's signature algorithm as specified by
       * [Signature.getInstance]. Typical values are like "SHA256WithRSA".
       */
      val signatureAlgorithmName: String
        get() {
          return when (signature.algorithm) {
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SMBSigningDigest.java

         */
        void sign ( byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response );
    
    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  9. build.gradle.kts

        } else {
          // Everything else requires Android API 21+.
          signature(rootProject.libs.signature.android.apilevel21) { artifact { type = "signature" } }
        }
    
        // OkHttp requires Java 8+.
        signature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    
      tasks.withType<KotlinCompile> {
        kotlinOptions {
          jvmTarget = JavaVersion.VERSION_1_8.toString()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                update(raxr.b, raxr.off, raxr.dataLength);
            } else {
                update(data, index, response.length - ServerMessageBlock.SIGNATURE_OFFSET - 8);
            }
            byte[] signature = digest();
            for (int i = 0; i < 8; i++) {
                if (signature[i] != data[offset + ServerMessageBlock.SIGNATURE_OFFSET + i]) {
                    if( log.level >= 2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
Back to top