Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testKey2 (0.06 seconds)

  1. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. 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();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. 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);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top