- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for vectors (2.16 sec)
-
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertFalse(Arrays.equals(signingKey, signingKey311), "Should be different from SMB 3.1.1 key"); } @Test @DisplayName("Should derive keys with specific test vectors") void testDeriveKeys_TestVectors() { // Given - Use known test vector (simplified for demonstration) byte[] testSessionKey = new byte[16]; Arrays.fill(testSessionKey, (byte) 0xAA); byte[] testPreauth = new byte[64];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 1, 512", // Minimal sectors per alloc "1000, 500, 8, 512", // Typical configuration "1000, 500, 64, 512", // Large allocation units "1000, 500, 8, 4096", // 4K sectors "1000, 500, 16, 4096", // Large sectors and allocationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 600, 1, 512", // Minimal sectors per alloc "1000, 500, 600, 8, 512", // Typical configuration "1000, 500, 600, 64, 512", // Large allocation units "1000, 500, 600, 8, 4096", // 4K sectors "1000, 500, 600, 16, 4096", // Large sectors and allocationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with large bytes per sector") void testDecodeWithLargeBytesPerSector() throws SMBProtocolDecodingException { // Prepare test data with large bytesPerSect byte[] buffer = new byte[22]; int idFileSystem = 0x22222222; int sectPerAlloc = 8; long alloc = 10000L; long free = 5000L; int bytesPerSect = 32768; // 32KB sectors // Encode test dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
if (mechs != null) { final ASN1EncodableVector vector = new ASN1EncodableVector(); for (final ASN1ObjectIdentifier mech : mechs) { vector.add(mech); } fields.add(new DERTaggedObject(true, 0, new DERSequence(vector))); } final int ctxFlags = getContextFlags(); if (ctxFlags != 0) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
} return out; } @Test @DisplayName("getNTHash: known vector for 'password'") void testGetNTHash_knownVector() { // Arrange String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/http/NetworkExplorerTest.java
@Test void testInit_WithJcifsParameters() throws ServletException { // Reset mocks for this test reset(servletConfig, servletContext); // Setup init parameters Vector<String> paramNames = new Vector<>(); paramNames.add("jcifs.smb.client.domain"); paramNames.add("jcifs.http.enableBasic"); paramNames.add("someOtherParam");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
assertArrayEquals(result1, result2); } @Test void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException { // Test with known test vector // Using test vector from RFC 2104 adapted for HMACT64 byte[] key = new byte[16]; Arrays.fill(key, (byte) 0x0b); byte[] data = "Hi There".getBytes();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
*/ package jcifs.smb1.smb1; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Enumeration; import java.util.Vector; import jcifs.smb1.Config; import jcifs.smb1.UniAddress; import jcifs.smb1.netbios.NbtAddress; import jcifs.smb1.util.LogStream; /** * The SmbSession class represents an SMB session established with a server.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)