Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for PacDataInputStream (0.11 seconds)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            PacDataInputStream pacStream = new PacDataInputStream(bais);
    
            SID id = pacStream.readId();
            assertNotNull(id);
            // The RID should be incorporated into the SID
            byte[] sidBytes = id.toByteArray();
            assertTrue(sidBytes.length > 0);
        }
    
        @Test
        @DisplayName("Test PacDataInputStream readString method")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
                this.logonTime = pacStream.readFiletime();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top