- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SecurityBlob (0.06 sec)
-
src/main/java/jcifs/smb/SecurityBlob.java
package jcifs.smb; /** * This class represents the Secrity_Blob in SMB Block and is set to support * kerberos authentication. * * @author Shun * */ class SecurityBlob { private byte[] b = {}; SecurityBlob() { } SecurityBlob(final byte[] b) { set(b); } void set(final byte[] b) { this.b = b == null ? new byte[0] : b; } byte[] get() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
void equals_identicalContent_true() { // Arrange byte[] a = new byte[] { 1, 2, 3 }; byte[] b = new byte[] { 1, 2, 3 }; SecurityBlob left = new SecurityBlob(a); SecurityBlob right = new SecurityBlob(b); // Act & Assert assertTrue(left.equals(right), "Blobs with equal content should be equal");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertEquals(0x3F, caps); } @Test @DisplayName("Should return security blob") void testGetSecurityBlob() throws Exception { // Given byte[] blob = "SecurityBlob".getBytes(); setPrivateField(response, "securityBuffer", blob); // When byte[] result = response.getSecurityBlob(); // Then assertArrayEquals(blob, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0)