- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 115 for aligning (0.05 sec)
-
src/main/java/jcifs/smb/CredentialsInternal.java
* @param targetDomain the target domain for authentication * @param host the target host * @param initialToken initial authentication token, if any * @param doSigning whether message signing should be enabled * @return a new SSP authentication context * @throws SmbException if context creation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
cmd/signature-v4.go
return auth.Credentials{}, s3Err } r := &http.Request{Header: formValues} cred, _, s3Err := checkKeyValid(r, credHeader.accessKey) if s3Err != ErrNone { return cred, s3Err } // Get signing key. signingKey := getSigningKey(cred.SecretKey, credHeader.scope.date, credHeader.scope.region, serviceS3) // Get signature. newSignature := getSignature(signingKey, formValues.Get("Policy"))
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/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
if (b != 0) { allZero = false; break; } } assertFalse(allZero, "Signature should not be all zeros after signing"); } @Test @DisplayName("Should set SMB2_FLAGS_SIGNED flag") void testSignSetsSignedFlag() { // Set initial flags without 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) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */ if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) { wordCount += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
assertTrue(encryptionEnabled, "Should delegate encryption setting"); assertFalse(signingPreferred, "Should delegate signing preferred setting"); assertTrue(signingEnforced, "Should delegate signing enforced setting"); assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting"); assertTrue(firstExtendedSecurityCall, "First call should return true");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
yield new byte[0]; } }; } /** * Get the signing key for this authentication * * @param tc the CIFS context * @param chlng the server challenge * @return the signing key * @throws SmbException if an SMB error occurs * @throws GeneralSecurityException if a security error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertNotNull(contexts); assertEquals(0, contexts.length); assertNull(request.getPreauthSalt()); } @Test @DisplayName("Should enforce signing when required flag is set") void testSigningEnforced() { // When request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
private String[] dialects; /** * Creates a new SMB1 negotiate request to establish protocol parameters. * * @param config the CIFS configuration * @param signingEnforced whether SMB signing is enforced */ public SmbComNegotiate(final Configuration config, final boolean signingEnforced) { super(config, SMB_COM_NEGOTIATE); this.signingEnforced = signingEnforced;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
/** * Determines whether this session is currently in use. * * @return whether the session is in use */ boolean isInUse(); /** * Returns the current session key used for signing and encryption. * * @return the current session key * @throws CIFSException if the session key cannot be retrieved */ byte[] getSessionKey() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection, times(2)).isSame(otherConn); } @Test @DisplayName("Buffer sizes and signing flags from negotiate response") void bufferSizesAndSigning() throws Exception { // Validate buffer sizes and signing flag are read from negotiate response SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)