- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for _get_signature (0.11 seconds)
-
fastapi/dependencies/utils.py
cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params) return path_params + query_params + header_params + cookie_params def _get_signature(call: Callable[..., Any]) -> inspect.Signature: try: signature = inspect.signature(call, eval_str=True) except NameError: # Handle type annotations with if TYPE_CHECKING, not used by FastAPI
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
cmd/signature-v4.go
regionBytes := sumHMAC(date, []byte(region)) service := sumHMAC(regionBytes, []byte(stype)) signingKey := sumHMAC(service, []byte("aws4_request")) return signingKey } // getSignature final signature in hexadecimal form. func getSignature(signingKey []byte, stringToSign string) string { return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign))) } // Check to see if Policy is signed correctly.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} @Override MethodVisitor visitMethod(int access, String name, String methodDescriptor, String signature, String[] exceptions) { if (behaviorName == name && methodDescriptor == behavior.getSignature()) { return new MethodVisitor(AsmConstants.ASM_LEVEL) { @Override AnnotationVisitor visitAnnotation(String descriptor, boolean visible) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @param argTypes * The argument types * @return The string representation of the method signature */ public static String getSignature(final String methodName, final Class<?>... argTypes) { assertArgumentNotEmpty("methodName", methodName); final StringBuilder buf = new StringBuilder(100); buf.append(methodName).append("(");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
new SecureRandom().nextBytes(signature); // When transformHeader.setSignature(signature); // Then assertArrayEquals(signature, transformHeader.getSignature()); } @Test @DisplayName("Should set and get nonce") void testNonce() { // When transformHeader.setNonce(testNonce); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
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, }, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
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) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
final byte[] associatedData = transformHeader.getAssociatedData(); byte[] nonce = transformHeader.getNonce(); final byte[] authTag = transformHeader.getSignature(); // Extract ciphertext final int ciphertextLength = encryptedMessage.length - Smb2TransformHeader.TRANSFORM_HEADER_SIZE; final byte[] ciphertext = new byte[ciphertextLength];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0)