- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SecurityBlob (0.48 seconds)
-
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.5K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0)