- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for setSignature (0.09 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// When/Then assertThrows(IllegalArgumentException.class, () -> { transformHeader.setSignature(shortSignature); }); assertThrows(IllegalArgumentException.class, () -> { transformHeader.setSignature(longSignature); }); } @Test @DisplayName("Should handle buffer underflow during decode")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
isGCMCipher() ? encryptWithGCM(message, nonce, associatedData) : encryptWithCCM(message, nonce, associatedData); // Set authentication tag in transform header transformHeader.setSignature(encResult.authTag); // Build final encrypted message final byte[] result = new byte[Smb2TransformHeader.TRANSFORM_HEADER_SIZE + encResult.ciphertext.length];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
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.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (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("(");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (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 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (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, }, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.5K bytes - Viewed (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) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.6K bytes - Viewed (0) -
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0)