- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for PacDataInputStream (0.88 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
*/ public class PacDataInputStream { private final DataInputStream dis; private final int size; /** * Constructs a PAC data input stream from the given input stream. * @param in the underlying input stream * @throws IOException if an I/O error occurs */ public PacDataInputStream(final InputStream in) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
import jcifs.SmbConstants; import jcifs.smb.SID; public class PacDataInputStreamTest { // Helper to create PacDataInputStream from a byte array private PacDataInputStream createInputStream(byte[] data) throws IOException { return new PacDataInputStream(new ByteArrayInputStream(data)); } @Test public void testAlign() throws IOException { // Test alignment from position 1 to 4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
* @throws PACDecodingException if the data is malformed or cannot be parsed */ public PacSignature(final byte[] data) throws PACDecodingException { try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); this.type = bufferStream.readInt(); switch (this.type) { case KERB_CHECKSUM_HMAC_MD5:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
*/ public Pac(byte[] data, Map<Integer, KerberosKey> keys) throws PACDecodingException { byte[] checksumData = data.clone(); try { PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); if (data.length <= 8) { throw new PACDecodingException("Empty PAC"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
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();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0)