Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for signing (0.8 sec)

  1. src/main/java/jcifs/smb/AuthenticationProvider.java

         * Gets the session key after successful authentication
         *
         * @return the session key or null if not available
         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
         */
        byte[] getSigningKey();
    
        /**
         * Validates authentication credentials
         *
         * @return true if credentials are valid
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransportPool.java

         * @param name the server name or address
         * @param port the port number
         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         * SMB2 header length in bytes
         */
        public static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * SMB2 negotiate flag indicating signing is enabled
         */
        public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001;
    
        /**
         * SMB2 negotiate flag indicating signing is required
         */
        public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                                && !conn.getNegotiateResponse().isSigningRequired()) {
                            // if signing is not enforced, dont use connections that have signing enforced
                            // for purposes that dont require it.
                            if (log.isTraceEnabled()) {
                                log.debug("Cannot reuse, signing enforced on connection " + conn);
                            }
                            continue;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertFalse(transport.isSigningEnforced());
            verify(transport).isSigningOptional();
            verify(transport).isSigningEnforced();
        }
    
        // Error propagation: signing checks may throw SmbException
        @Test
        @DisplayName("signing checks propagate SmbException")
        void signingChecks_throw() throws Exception {
            doThrow(new SmbException("opt error")).when(transport).isSigningOptional();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            default -> getNTLMResponse(password, challenge);
            };
        }
    
        /**
         * Returns the signing key for SMB signing.
         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates datagram authentication.
         */
        int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
         * Indicates that the LAN Manager session key should be used for
         * signing and sealing authenticated communication.
         */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        /**
        * Indicates datagram authentication.
        */
        int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
        * Indicates that the LAN Manager session key should be used for
        * signing and sealing authenticated communication.
        */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * Indicates support for NetWare authentication.
         */
        int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

                this.integrity = integrity;
            }
    
            @Override
            public byte[] getSigningKey() throws CIFSException {
                if (this.signingKey == null) {
                    throw new CIFSException("signing key not available");
                }
                return this.signingKey.clone();
            }
    
            @Override
            public boolean isEstablished() {
                return this.established;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top