Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 182 for wipe (0.09 sec)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

                }
            }
            assertTrue(hasNonZero, "Data should have non-zero bytes");
    
            SecureKeyManager.secureWipe(data);
    
            // Verify data is wiped
            for (byte b : data) {
                assertEquals(0, b, "All bytes should be zero after wipe");
            }
        }
    
        @Test
        public void testSecureWipeNull() {
            // Should not throw
            SecureKeyManager.secureWipe(null);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        /**
         * Securely wipes the password from memory
         */
        public void secureWipePassword() {
            if (this.password != null) {
                // Multi-pass secure wipe of password char array
                Arrays.fill(this.password, '\0');
                Arrays.fill(this.password, '\uFFFF');
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * Transaction subcommand for peeking data from a named pipe
         */
        public static final byte TRANS_PEEK_NAMED_PIPE = (byte) 0x23;
        /**
         * Transaction subcommand for waiting on a named pipe
         */
        public static final byte TRANS_WAIT_NAMED_PIPE = (byte) 0x53;
        /**
         * Transaction subcommand for calling a named pipe
         */
        public static final byte TRANS_CALL_NAMED_PIPE = (byte) 0x54;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with various pipe name formats")
        void testVariousPipeNameFormats() {
            // Test various pipe name formats
            String[] pipeNames =
                    { "\\\\server\\PIPE\\testpipe", "\\PIPE\\LANMAN", "\\PIPE\\srvsvc", "\\PIPE\\wkssvc", "PIPE\\test", "testpipe" };
    
            for (String pipeName : pipeNames) {
                // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals(0x40, Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER);
            assertEquals(0x80, Smb2TreeConnectResponse.SMB2_SHARE_CAP_ASYMMETRIC);
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            void constructsWithIpcShare(String url) throws Exception {
                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private final String path;
        private final SmbNamedPipe pipe;
        private final byte[] tmp = new byte[1];
        private final boolean dcePipe;
    
        TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException {
            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

                "The file system is full.", "All pipe instances are busy.", "All pipe instances are busy.", "The pipe state is invalid.",
                "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.",
                "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        /**
         * @param pipe
         */
        public SmbPipeHandleImpl(final SmbNamedPipe pipe) {
            this.pipe = pipe;
            this.transact = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_TRANSACT) == SmbPipeResource.PIPE_TYPE_TRANSACT;
            this.call = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top