Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for aligning (0.05 sec)

  1. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether the server has SMB message signing enabled.
         *
         * @return whether the server has signing enabled
         */
        boolean isSigningEnabled();
    
        /**
         * Checks whether the server requires SMB message signing.
         *
         * @return whether the server requires signing
         */
        boolean isSigningRequired();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Sets the signing digest for this message.
         *
         * @param digest the signing digest to set
         */
        void setDigest(SMBSigningDigest digest);
    
        /**
         * Gets the signing digest for this message.
         *
         * @return the signing digest
         */
        SMBSigningDigest getDigest();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

        private boolean bypass = false;
        private int updates;
        private int signSequence;
    
        /**
         * Constructs a new signing digest with the specified MAC signing key.
         *
         * @param macSigningKey the MAC signing key for message authentication
         * @param bypass whether to bypass MAC signing
         * @throws SmbException if MD5 algorithm is not available
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
        /**
         * Checks whether SMB message signing is enforced by the client.
         *
         * @return whether SMB signing is enforced
         */
        boolean isSigningEnforced();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(context.isEstablished());
            assertArrayEquals(serverChallenge, context.getServerChallenge());
            // Signing key may or may not be generated depending on flags negotiation
            // The context negotiates flags with server, so we can't guarantee signing key
        }
    
        @Test
        void testInitSecContext_state2_withoutSigning() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @return the server challenge bytes
         */
        public byte[] getServerChallenge() {
            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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        @DisplayName("Test isSigningEnforced returns true when signing is enforced")
        void testIsSigningEnforcedReturnsTrue() {
            // Given
            when(negotiationRequest.isSigningEnforced()).thenReturn(true);
    
            // When
            boolean result = negotiationRequest.isSigningEnforced();
    
            // Then
            assertTrue(result, "isSigningEnforced should return true when signing is enforced");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportInternal.java

        /**
         * Checks if message signing is supported but not mandatory.
         *
         * @return whether signatures are supported but not required
         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningOptional() throws SmbException;
    
        /**
         * Checks if message signing is mandatory for this connection.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SSPContext.java

     * operations during SMB authentication.
     *
     * @author mbechler
     */
    public interface SSPContext {
    
        /**
         * Gets the signing key for the session.
         * @return the signing key for the session
         * @throws CIFSException if an error occurs retrieving the signing key
         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
         * Checks whether the security context is established.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

        }
    
        /**
         * Test that signing is properly configured
         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top