- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 136 for signatureV2 (0.05 sec)
-
cmd/signature-v2.go
signature := calculateSignatureV2(stringToSign, cred.SecretKey) return signature } // compareSignatureV2 returns true if and only if both signatures // are equal. The signatures are expected to be base64 encoded strings // according to the AWS S3 signature V2 spec. func compareSignatureV2(sig1, sig2 string) bool { // Decode signature string to binary byte-sequence representation is required
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0) -
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, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8K bytes - Viewed (0) -
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(fmt.Appendf(nil, "%4097d", 1)), // Test - 4 bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")), } testCases := []testCase{ // Test - 1 - small bufio reader. {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should correctly verify signatures - regression test for inverted logic bug") void testVerifySignatureLogicRegression() throws Exception { // This test ensures the signature verification logic is not inverted // Previously there was a bug where verify returned true for invalid signatures // Set signed flag
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
build.gradle.kts
androidSignature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } } } else { // Everything else requires Android API 21+. androidSignature(rootProject.libs.signature.android.apilevel21) { artifact { type = "signature" } } } // OkHttp requires Java 8+. jvmSignature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertTrue(result); // Signature mismatch expected } @Test @DisplayName("Test verify method with invalid signature") void testVerifyWithInvalidSignature() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[100]; // Set invalid signature for (int i = 0; i < 8; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public boolean verifySignature(final byte[] buffer, final int i, final int size) { // observed too that signatures on error responses are sometimes wrong?? // Looks like the failure case also is just reflecting back the signature we sent // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
SmbResourceLocator other; @Mock DfsReferralData referral; // Reflection-based API checks ensure the interface contract is as expected @Test @DisplayName("Type hierarchy and method signatures are correct") void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterface
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FLAGS2_NONE = 0x0000; /** Long filenames supported flag */ int FLAGS2_LONG_FILENAMES = 0x0001; /** Extended attributes supported flag */ int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002; /** Security signatures supported flag */ int FLAGS2_SECURITY_SIGNATURES = 0x0004; /** Extended security negotiation flag */ int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800; /** Resolve paths in DFS flag */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0)