Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 225 for ENCRYPTION (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(encKey, "Encryption key should not be null");
            assertEquals(16, encKey.length, "Encryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive different encryption keys for different dialects")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. cmd/batch-rotate.go

    			encMetadata[k] = v
    		}
    	}
    
    	if (sseKMS || sseS3) && r.Encryption.Type == ssekms {
    		if err = r.Encryption.Validate(); err != nil {
    			return err
    		}
    		newKeyID = strings.TrimPrefix(r.Encryption.Key, crypto.ARNPrefix)
    		newKeyContext = r.Encryption.kmsContext
    	}
    	if err = rotateKey(ctx, []byte{}, newKeyID, []byte{}, r.Bucket, oi.Name, encMetadata, newKeyContext); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. internal/config/crypto.go

    	if err != nil {
    		return nil, err
    	}
    	return io.ReadAll(ciphertext)
    }
    
    // DecryptBytes decrypts the ciphertext using a key managed by the KMS.
    // The same context that have been used during encryption must be
    // provided.
    func DecryptBytes(k *kms.KMS, ciphertext []byte, context kms.Context) ([]byte, error) {
    	plaintext, err := Decrypt(k, bytes.NewReader(ciphertext), context)
    	if err != nil {
    		return nil, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. docs/distributed/decom-encrypted-sse-s3.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected versioning enabled after expansion"
    	exit 1
    fi
    
    ./mc encrypt info myminio/versioned | grep -q "Auto encryption 'sse-s3' is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected encryption enabled after expansion"
    	exit 1
    fi
    
    ./mc mirror cmd myminio/versioned/ --quiet >/dev/null
    
    ./mc ls -r myminio/versioned/ >expanded_ns.txt
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  5. internal/crypto/error.go

    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    	// is not supported.
    	ErrInvalidEncryptionMethod = Errorf("The encryption method is not supported")
    
    	// ErrInvalidCustomerAlgorithm indicates that the specified SSE-C algorithm
    	// is not supported.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param flags
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacSignature.java

        /**
         * Kerberos encryption type for ARCFOUR-HMAC (RC4-HMAC).
         */
        public static final int ETYPE_ARCFOUR_HMAC = 23;
        /**
         * Kerberos encryption type for AES-128 CTS mode with HMAC-SHA1-96.
         */
        public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 = 17;
        /**
         * Kerberos encryption type for AES-256 CTS mode with HMAC-SHA1-96.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. docs/distributed/decom-encrypted-kes.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected versioning enabled after expansion"
    	exit 1
    fi
    
    ./mc encrypt info myminio/versioned | grep -q "Auto encryption 'sse-s3' is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected encryption enabled after expansion"
    	exit 1
    fi
    
    ./mc version info myminio/versioned-1 | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 7.1K bytes
    - Click Count (1)
  9. src/test/java/jcifs/config/SecurityConfigurationTest.java

        }
    
        /**
         * Test that encryption is properly configured
         */
        @Test
        public void testEncryptionConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify encryption configuration is available (default is false for compatibility)
            // But can be enabled when needed
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        @CsvSource({ "true, true, SMB311, 2", // DFS + Encryption
                "false, true, SMB311, 1", // Encryption only
                "true, false, SMB311, 1", // DFS only
                "false, false, SMB311, 0", // Neither
                "true, true, SMB210, 1", // DFS only (no encryption for SMB2)
                "false, true, SMB210, 0" // Neither (no encryption for SMB2)
        })
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top