- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for testKey2 (0.05 sec)
-
cmd/xl-storage-format_test.go
} xlMeta.Stat = StatInfo{ Size: int64(20), ModTime: UTCNow(), } // Set meta data. xlMeta.Meta = make(map[string]string) xlMeta.Meta["testKey1"] = "val1" xlMeta.Meta["testKey2"] = "val2" return xlMeta } func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) { checksum, err := hex.DecodeString(hash) if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
*/ public class SecureKeyManagerTest { private SecureKeyManager keyManager; private byte[] testKey; @BeforeEach public void setUp() { keyManager = new SecureKeyManager(); testKey = new byte[16]; new SecureRandom().nextBytes(testKey); } @AfterEach public void tearDown() { if (keyManager != null) { keyManager.close();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
@Test void testEnvironmentVariablesAreInterpolated() throws Exception { Properties props = new Properties(); props.put("key", "${env.testKey}"); Xpp3Dom configurationChild = new Xpp3Dom("jdkHome"); configurationChild.setValue("${env.testKey}"); Xpp3Dom configuration = new Xpp3Dom("configuration"); configuration.addChild(configurationChild);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When byte[] derivedKey = Smb3KeyDerivation.deriveSigningKey(dialect, testKey, preauthIntegrity); // Then assertNotNull(derivedKey, "Should handle " + size + "-byte session key");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/smb2/Smb2EncryptionContextTest.java
byte[] testKey = new byte[16]; new SecureRandom().nextBytes(testKey); // When - Create context with SecureKeyManager using same key for both operations Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testKey, testKey, keyManager);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import org.junit.jupiter.api.Test; class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".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/test/java/jcifs/util/HMACT64Test.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = "thisisalongtestkeythatislongerthan64bytesandshouldbetruncated".getBytes(); private static final byte[] SHORT_TEST_KEY = "short".getBytes();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("\\\\server\\share\\link", referralData.getLink()); } @Test @DisplayName("Should get and set key") void testKey() { assertNull(referralData.getKey()); referralData.setKey("cache-key-123"); assertEquals("cache-key-123", referralData.getKey()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0)