- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getServerGuid (2.28 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(0, response.getCapabilities(), "Initial capabilities should be 0"); assertNotNull(response.getServerGuid(), "Server GUID should not be null"); assertEquals(16, response.getServerGuid().length, "Server GUID should be 16 bytes"); assertArrayEquals(new byte[16], response.getServerGuid(), "Initial server GUID should be all zeros");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
*/ public int getCapabilities() { return this.capabilities; } /** * Gets the server GUID * * @return the server's unique identifier */ public byte[] getServerGuid() { return this.serverGuid; } /** * Gets the security mode * * @return the security mode flags from the server */ public int getSecurityMode() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if (nego.getSecurityMode() != out.getSecurityMode() || nego.getCapabilities() != out.getCapabilities() || nego.getDialectRevision() != out.getDialect() || !Arrays.equals(nego.getServerGuid(), out.getServerGuid())) { log.debug("Secure negotiation failure"); throw new CIFSException("Mismatched attributes validating negotiate info"); } log.debug("Secure negotiation OK");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
for (int i = 0; i < 16; i++) { guid[i] = (byte) i; } setPrivateField(response, "serverGuid", guid); // When byte[] result = response.getServerGuid(); // Then assertArrayEquals(guid, result); } @Test @DisplayName("Should return selected dialect") void testGetSelectedDialect() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return this.dialectRevision; } /** * Gets the server GUID used for identification. * * @return the serverGuid */ public byte[] getServerGuid() { return this.serverGuid; } /** * @return the selectedDialect */ @Override public DialectVersion getSelectedDialect() { return this.selectedDialect;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)