Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 190 for signing (0.03 sec)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false);
            }
    
            @Test
            @DisplayName("Should get transport by name with forced signing")
            void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        private Smb3KeyDerivation() {
        }
    
        /**
         * Derives the SMB3 signing key from the session key using the appropriate KDF for the dialect.
         *
         * @param dialect the SMB dialect version
         * @param sessionKey the base session key
         * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null
         * @return derived signing key
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should fail validation when signing enforced but not enabled")
        void testIsValidSigningEnforcedButNotEnabled() throws Exception {
            // Given
            setResponseAsReceived(response);
            when(mockRequest.isSigningEnforced()).thenReturn(true);
            setPrivateField(response, "securityMode", 0); // No signing
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. KEYS.md

    # Signing key for Gradle artifacts
    
    Below is the public PGP key used to sign all Gradle artifacts.
    
    The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`.
    You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com).
    
    ## Verification instructions
    
    ### Importing the key
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:29:13 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top