- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for gcc_version (0.05 sec)
-
src/test/java/jcifs/pac/PacTest.java
// Create PAC with unaligned buffer offset ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 1); // bufferCount writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // version writeLittleEndianInt(baos, PacConstants.LOGON_INFO); // type writeLittleEndianInt(baos, 10); // size writeLittleEndianLong(baos, 25); // Unaligned offset (not multiple of 8)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
* This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC version assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0"); // Verify PAC buffer types assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1"); assertEquals(2, PacConstants.CREDENTIAL_TYPE, "CREDENTIAL_TYPE should be 2");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacConstants.java
* Defines buffer types and other constants used in PAC parsing and validation. */ public interface PacConstants { /** * PAC structure version number. */ int PAC_VERSION = 0; /** * Buffer type for user logon information. */ int LOGON_INFO = 1; /** * Buffer type for credential information. */ int CREDENTIAL_TYPE = 2; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
DataOutputStream dos = new DataOutputStream(baos); // Write header with no buffers dos.writeInt(Integer.reverseBytes(0)); dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION)); byte[] noBufPac = baos.toByteArray(); PACDecodingException e = assertThrows(PACDecodingException.class, () -> { new KerberosPacAuthData(noBufPac, keys); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
throw new PACDecodingException("Empty PAC"); } int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if (version != PacConstants.PAC_VERSION) { throw new PACDecodingException("Unrecognized PAC version " + version); } for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)