- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NAME_LEN (0.03 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class), // Missing NAME_LEN (not enough bytes for 4-byte length) Arguments.of("missing NAME_LEN bytes", new byte[] { 0x04, 0x01, 0x00, (byte) der.length, der[0] }, IllegalArgumentException.class),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
} final byte[] bo = new byte[len]; System.arraycopy(buf, i, bo, 0, len); i += len; this.oid = ASN1ObjectIdentifier.getInstance(bo); // NAME_LEN if (buf.length < i + NAME_LEN_SIZE) { throw new IllegalArgumentException(); } len = 0xff000000 & buf[i++] << 24; len |= 0x00ff0000 & buf[i++] << 16;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
assertDoesNotThrow(() -> ctx.dispose()); } } // Helper to build a minimal exported name token understood by MIEName(byte[]) // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes) private static byte[] buildExportName(Oid mech, String name) throws GSSException { byte[] der = mech.getDER(); byte[] nb = name.getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)