Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for signing (0.04 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Signing key should not be null");
            assertEquals(16, signingKey.length, "Signing key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, signingKey), "Signing key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive signing key for SMB 3.1.1 dialect")
        void testDeriveSigningKey_SMB311() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Crypto;
    
    /**
     * SMB2/SMB3 message signing digest implementation.
     *
     * This class handles cryptographic signing of SMB2/SMB3 messages to ensure
     * message integrity and authenticity. It supports different signing algorithms
     * used in various SMB2/SMB3 dialect versions.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @param doSigning whether to enable message signing
         */
        public NtlmContext(final NtlmPasswordAuthentication auth, final boolean doSigning) {
            this.auth = auth;
            this.ntlmsspFlags =
                    ntlmsspFlags | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2 | NtlmFlags.NTLMSSP_NEGOTIATE_128;
            if (doSigning) {
                this.ntlmsspFlags |=
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

         * @param tc
         *            context to use
         * @param auth
         *            credentials
         * @param doSigning
         *            whether signing is requested
         */
        public NtlmContext(final CIFSContext tc, final NtlmPasswordAuthenticator auth, final boolean doSigning) {
            this.transportContext = tc;
            this.auth = auth;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (1)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
        /**
         * Constructs a signing digest with bypass option and initial sequence number
         *
         * @param macSigningKey
         *            The MAC signing key used for generating signatures
         * @param bypass
         *            Whether to bypass signature verification
         * @param initialSequence
         *            The initial sequence number for signing
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top