Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for getSignature (0.26 sec)

  1. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

         *            引数型の並び
         */
        public MethodNotFoundRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] methodArgClasses) {
            super("ECL0049", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, methodArgClasses)));
            this.targetClass = targetClass;
            this.methodName = methodName;
            this.methodArgClasses = methodArgClasses;
        }
    
        /**
         * ターゲットの{@link Class}を返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    		emptySHA256 + "\n" +
    		hashedChunk
    
    	// Get hmac signing key.
    	signingKey := getSigningKey(cr.cred.SecretKey, cr.seedDate, cr.region, serviceS3)
    
    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	return newSignature
    }
    
    // getTrailerChunkSignature - get trailer chunk signature.
    func (cr *s3ChunkedReader) getTrailerChunkSignature() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    throw new GradleException(String.format(
                            "Could not convert javadoc comment to docbook.%nClass: %s%nMethod: %s%nComment: %s",
                            ownerClass.getClassName(), methodMetaData.getSignature(), rawCommentText), e);
                }
            } finally {
                listener.finish();
            }
        }
    
        private void adjustAccessorComment(DocCommentImpl docComment) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *
         * @param methodName
         *            メソッド名。{@literal null}や空文字列であってはいけません
         * @param argTypes
         *            引数型のな並び
         * @return シグニチャの文字列表現
         */
        public static String getSignature(final String methodName, final Class<?>... argTypes) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    					fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion),
    				},
    				"X-Amz-Date": []string{now.Format(iso8601Format)},
    				"X-Amz-Signature": []string{
    					getSignature(getSigningKey(globalActiveCred.SecretKey, now,
    						globalMinioDefaultRegion, serviceS3), "policy"),
    				},
    				"Policy": []string{"policy"},
    			},
    			expected: ErrNone,
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	return x.Flags&xlFlagInlineData != 0
    }
    
    // signatureErr is a signature returned when an error occurs.
    var signatureErr = [4]byte{'e', 'r', 'r', 0}
    
    // getSignature will return a signature that is expected to be the same across all disks.
    func (j xlMetaV2Version) getSignature() [4]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.Signature()
    	case DeleteType:
    		return j.DeleteMarker.Signature()
    	case LegacyType:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  7. cmd/post-policy_test.go

    	// Get signining key.
    	signingkey := getSigningKey(secretAccessKey, t, location, "s3")
    	// Calculate signature.
    	signature := getSignature(signingkey, policyBase64)
    	return signature
    }
    
    func newPostRequestV2(endPoint, bucketName, objectName string, secretKey string, formInputData map[string]string) (*http.Request, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    		for _, ver := range v2 {
    			b, _ := json.Marshal(ver.header)
    			t.Log(string(b))
    			var x xlMetaV2Version
    			_, _ = x.unmarshalV(0, ver.meta)
    			b, _ = json.Marshal(x)
    			t.Log(string(b), x.getSignature())
    		}
    	}
    
    	for i := range vers {
    		t.Run(fmt.Sprintf("non-strict-q%d", i), func(t *testing.T) {
    			merged := mergeXLV2Versions(i, false, 0, vers...)
    			if len(merged) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	stringToSign := getStringToSign(canonicalRequest, date, scope)
    	signingKey := getSigningKey(secretAccessKey, date, region, serviceS3)
    	signature := getSignature(signingKey, stringToSign)
    
    	req.URL.RawQuery = query.Encode()
    
    	// Add signature header to RawQuery.
    	req.URL.RawQuery += "&X-Amz-Signature=" + url.QueryEscape(signature)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    		case xhttp.AmzAccessKeyID:
    			accessKey = keyval[1]
    		case xhttp.AmzSignatureV2:
    			gotSignature = keyval[1]
    		case xhttp.Expires:
    			expires = keyval[1]
    		default:
    			filteredQueries = append(filteredQueries, query)
    		}
    	}
    
    	// Invalid values returns error.
    	if accessKey == "" || gotSignature == "" || expires == "" {
    		return ErrInvalidQueryParams
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top