Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isSigningOptional (0.9 sec)

  1. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        }
    
        // Signing modes: optional vs enforced
        @Test
        @DisplayName("isSigningOptional and isSigningEnforced reflect configuration")
        void signingModes() throws Exception {
            when(transport.isSigningOptional()).thenReturn(true);
            when(transport.isSigningEnforced()).thenReturn(false);
    
            assertTrue(transport.isSigningOptional());
            assertFalse(transport.isSigningEnforced());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                throws CIFSException {
            return delegate.getDfsReferrals(ctx, name, targetHost, targetDomain, rn);
        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
            return delegate.isSigningOptional();
        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
        }
    
        @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)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
            assertFalse(enforced.isSigningOptional());
            assertTrue(enforced.isSigningEnforced());
    
            // Negotiated required -> enforced true; negotiated enabled-only -> optional true
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportInternal.java

         *
         * @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.
         *
         * @return whether signatures are enforced from either side
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                final SmbTransportInternal trans, final SmbTreeImpl t, final DfsReferralData referral) throws CIFSException {
            if (log.isDebugEnabled() && trans.isSigningOptional() && !loc.isIPC() && !this.ctx.getConfig().isSigningEnforced()) {
                log.debug("Signatures for file enabled but not required " + this);
            }
    
            if (referral != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                return ((SmbComNegotiateResponse) this.negotiated).getServerData().encryptionKey;
            }
            return null;
        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
            if (this.signingEnforced) {
                return false;
            }
            final SmbNegotiationResponse nego = getNegotiateResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top