- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for getSigningKey (0.06 sec)
-
src/test/java/jcifs/smb/Kerb5ContextTest.java
void getNetbiosName_null() { assertNull(ctx.getNetbiosName()); } @Test @DisplayName("getSigningKey throws when ExtendedGSSContext not implemented") void getSigningKey_notImplementedByGSSContext() { SmbException ex = assertThrows(SmbException.class, () -> ctx.getSigningKey()); assertTrue(ex.getMessage().contains("ExtendedGSSContext is not implemented")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
.treeConnect(null, null); } else { final byte[] signingKey = auth.getSigningKey(transport.server.encryptionKey); request.digest = new SigningDigest(signingKey, false); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
return serverChallenge; } /** * Gets the signing key for message authentication. * @return the signing key bytes */ public byte[] getSigningKey() { return signingKey; } /** * Gets the NetBIOS name of the remote server. * @return the NetBIOS name */ public String getNetbiosName() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K 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, }, } // Run each test case individually.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @return the server's challenge */ public byte[] getServerChallenge() { return this.serverChallenge; } @Override public byte[] getSigningKey() { return this.masterKey; } @Override public String getNetbiosName() { return this.netbiosName; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* * @param challenge the server challenge bytes * @return the signing key * @throws SmbException if an error occurs generating the signing key */ public byte[] getSigningKey(final byte[] challenge) throws SmbException { switch (LM_COMPATIBILITY) { case 0: case 1: case 2: final byte[] signingKey = new byte[40];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* @param chlng the server challenge * @return the signing key * @throws SmbException if an SMB error occurs * @throws GeneralSecurityException if a security error occurs */ public byte[] getSigningKey(CIFSContext tc, byte[] chlng) throws SmbException, GeneralSecurityException { switch (tc.getConfig().getLanManCompatibility()) { case 0: case 1: case 2:Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
cmd/post-policy_test.go
} // postPresignSignatureV4 - presigned signature for PostPolicy requests. func postPresignSignatureV4(policyBase64 string, t time.Time, secretAccessKey, location string) string { // Get signining key. signingkey := getSigningKey(secretAccessKey, t, location, "s3") // Calculate signature. signature := getSignature(signingkey, policyBase64) return signature }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.6K bytes - Viewed (0) -
cmd/test-utils_test.go
canonicalRequest := getCanonicalRequest(extractedSignedHeaders, unsignedPayload, queryStr, req.URL.Path, req.Method) 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.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0)