- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 130 for sido (1.42 sec)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// Then: Should have correct values assertEquals(0x21, message.getOpnum()); assertEquals(mockPolicyHandle, message.alias_handle); assertEquals(mockLsarSidArray, message.sids); } @Test @DisplayName("Should encode input correctly") void testEncodeIn() throws NdrException { // Given: Get members messageRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Then: Should have correct values assertEquals(0x21, message.getOpnum()); assertEquals(mockPolicyHandle, message.alias_handle); assertEquals(mockLsarSidArray, message.sids); } @Test @DisplayName("Should encode input correctly") void testEncodeIn() throws NdrException { // Given: Get members messageRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
*/ boolean isSigningOptional() throws SmbException; /** * Checks if message signing is mandatory for this connection. * * @return whether signatures are enforced from either side * @throws SmbException if an error occurs checking signing status */ boolean isSigningEnforced() throws SmbException; /** * Gets the server's encryption key for authentication. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
interface EnumConsumer { void accept(RequestParam rp); } @Mock EnumConsumer consumer; @Test @DisplayName("Enum value can be passed to collaborators without side effects") void enumUsedWithCollaboratorHasNoSideEffects() { // Arrange: pick a value and a mocked consumer RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaboratorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.putInt(60); // DACL offset // Owner SID at offset 20 buffer.position(20); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // Group SID at offset 40 buffer.position(40);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
/** * For initiating NTLM authentication (including NTLMv2). If you want to add NTLMv2 authentication support to something * this is what you want to use. See the code for details. Note that JCIFS does not implement the acceptor side of NTLM * authentication. * */ public class NtlmContext implements SSPContext { private static final String S2C_SIGN_CONSTANT = "session key to server-to-client signing key magic constant";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
private int capability; private int linkSpeed; // In units of 1 Mbps private byte[] sockaddrStorage; private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side Scaling private boolean rdmaCapable; /** * Create network interface info * * @param address interface address * @param linkSpeed link speed in Mbps */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertNotNull(capturedRpc); assertEquals(mockPolicyHandle, capturedRpc.handle); assertEquals(access, capturedRpc.access_mask); assertEquals(mockSid, capturedRpc.sid); assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
assertEquals(16777216, response.getTotalBytesWritten()); } @Test @DisplayName("Should handle server-side copy response") void testServerSideCopyResponse() throws SMBProtocolDecodingException { // Simulate a server-side copy operation response byte[] buffer = createValidCopyChunkResponse(32, 262144, 8388608);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
/** * This is an alternative to the <code>java.lang.Integer.toHexString</code> * method. It is an efficient relative that also will pad the left side so * that the result is <code>size</code> digits. * * @param val the integer value to convert to hexadecimal * @param size the desired length of the resulting hex string (will be left-padded with zeros)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)