Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for isSigningEnforced (0.4 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        }
    
        @Test
        @DisplayName("Test isSigningEnforced returns false when signing is not enforced")
        void testIsSigningEnforcedReturnsFalse() {
            // Given
            when(negotiationRequest.isSigningEnforced()).thenReturn(false);
    
            // When
            boolean result = negotiationRequest.isSigningEnforced();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                this.dialects = new String[] { "NT LM 0.12" };
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationRequest#isSigningEnforced()
         */
        @Override
        public boolean isSigningEnforced() {
            return this.signingEnforced;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (3)
  3. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getPid();
                mockConfig.getMaxMpxCount();
                mockConfig.isSigningEnabled();
                mockConfig.isIpcSigningEnforced();
                mockConfig.isSigningEnforced();
                mockConfig.isEncryptionEnabled();
                mockConfig.isForceExtendedSecurity();
                mockConfig.getLmHostsFileName();
                mockConfig.getNetbiosScope();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertNotNull(request);
            assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, request.getSecurityMode());
            assertFalse(request.isSigningEnforced());
            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     */
    public interface SmbNegotiationRequest {
    
        /**
         * Checks whether SMB message signing is enforced by the client.
         *
         * @return whether SMB signing is enforced
         */
        boolean isSigningEnforced();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        @Override
        public boolean isSigningOptional() throws SmbException {
            return delegate.isSigningOptional();
        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
        }
    
        @Override
        public byte[] getServerEncryptionKey() {
            return delegate.getServerEncryptionKey();
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isSigningEnabled();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isSigningEnforced()
         */
        @Override
        public boolean isSigningEnforced() {
            return this.delegate.isSigningEnforced();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isIpcSigningEnforced()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testEncryptionSecurityDelegation() {
            // Given
            when(mockDelegate.isEncryptionEnabled()).thenReturn(true);
            when(mockDelegate.isSigningEnabled()).thenReturn(false);
            when(mockDelegate.isSigningEnforced()).thenReturn(true);
            when(mockDelegate.isIpcSigningEnforced()).thenReturn(true);
            when(mockDelegate.isForceExtendedSecurity()).thenReturn(true).thenReturn(false);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportInternal.java

         *
         * @return whether signatures are enforced from either side
         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningEnforced() throws SmbException;
    
        /**
         * Gets the server's encryption key for authentication.
         *
         * @return the encryption key used by the server
         */
        byte[] getServerEncryptionKey();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                return false;
            }
    
            if (req.isSigningEnforced() || this.server.signaturesRequired
                    || this.server.signaturesEnabled && ctx.getConfig().isSigningEnabled()) {
                this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_SIGNATURES;
                if (req.isSigningEnforced() || isSigningRequired()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top