Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for isSigned (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Signed Flag Tests")
        class SignedFlagTests {
    
            @Test
            @DisplayName("Should detect signed flag")
            void testIsSigned() {
                assertFalse(echoResponse.isSigned());
    
                echoResponse.addFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(echoResponse.isSigned());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public final boolean isError() {
            return this.error;
        }
    
        /**
         * Checks whether this SMB2 response packet has been signed.
         *
         * @return whether the packet has been signed.
         */
        public boolean isSigned() {
            return (getFlags() & SMB2_FLAGS_SIGNED) != 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        @Nested
        @DisplayName("Signature Tests")
        class SignatureTests {
    
            @Test
            @DisplayName("Should detect signed packet")
            void testIsSigned() {
                response.setFlagsForTest(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(response.isSigned());
            }
    
            @Test
            @DisplayName("Should detect unsigned packet")
            void testIsNotSigned() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
                    }
    
                    boolean signed = response != null && response.isSigned();
                    if (!anonymous && (isSignatureSetupRequired() || signed)) {
                        byte[] signingKey = ctx.getSigningKey();
                        if (signingKey != null && response != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/CreateForm.java

        /**
         * The attributes map for the user.
         */
        public Map<String, String> attributes = new HashMap<>();
    
        /**
         * The roles assigned to the user.
         */
        public String[] roles;
    
        /**
         * The groups assigned to the user.
         */
        public String[] groups;
    
        /**
         * Initializes the form with default values for creating a new user.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FessUser.java

        /**
         * Gets the user's display name.
         * @return The user's name.
         */
        String getName();
    
        /**
         * Gets the user's assigned role names.
         * @return Array of role names.
         */
        String[] getRoleNames();
    
        /**
         * Gets the user's assigned group names.
         * @return Array of group names.
         */
        String[] getGroupNames();
    
        /**
         * Gets the user's permissions.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match");
            assertEquals(mockSid1, lsarSidArrayX.sids[0].sid, "First SID should be assigned directly");
            assertEquals(mockSid2, lsarSidArrayX.sids[1].sid, "Second SID should be assigned directly");
        }
    
        @Test
        void testConstructorWithEmptySIDArray() {
            jcifs.SID[] sids = {};
            LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should return true when signed flag is not set")
            void testVerifyNoSignedFlag() {
                // Don't set the signed flag
                SMBUtil.writeInt4(0x00000000, data, 16);
    
                boolean result = digest.verify(data, 0, data.length, 0, msg);
    
                assertTrue(result, "Should return true when signed flag is not set");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File Internal Information.
     * Provides access to the file's internal index number, which is a unique identifier
     * assigned by the file system for internal tracking and reference purposes.
     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/TreeConnectResponse.java

     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
         */
        int getTid();
    
        /**
         * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top