Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 230 for encryptions (0.06 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int SEQUENCE_CHECKING = 0x10;
        /**
         * Context flag for anonymity capability
         */
        public static final int ANONYMITY = 0x08;
        /**
         * Context flag for confidentiality (encryption) capability
         */
        public static final int CONFIDENTIALITY = 0x04;
        /**
         * Context flag for integrity (signing) capability
         */
        public static final int INTEGRITY = 0x02;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. internal/crypto/key.go

    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    	mac.Write([]byte(Context))
    	mac.Write(nonce[:])
    	mac.Sum(key[:0])
    	return key
    }
    
    // GenerateIV generates a new random 256 bit IV from the provided source
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. internal/kms/context.go

    package kms
    
    import (
    	"bytes"
    	"sort"
    	"unicode/utf8"
    )
    
    // Context is a set of key-value pairs that
    // are associated with a generate data encryption
    // key (DEK).
    //
    // A KMS implementation may bind the context to the
    // generated DEK such that the same context must be
    // provided when decrypting an encrypted DEK.
    type Context map[string]string
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	// Use the maximum parity (N/2), used when saving server configuration files
    	MaxParity bool
    
    	// Provides a per object encryption function, allowing metadata encryption.
    	EncryptFn objectMetaEncryptFn
    
    	// SkipDecommissioned set to 'true' if the call requires skipping the pool being decommissioned.
    	// mainly set for certain WRITE operations.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    			return ErrKeyNotFound
    		}
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return ErrPermission
    		}
    		return errKeyDeletionFailed(err)
    	}
    	return nil
    }
    
    // GenerateKey generates a new data encryption key using
    // the key at the KES server referenced by the key ID.
    //
    // The default key ID will be used if keyID is empty.
    //
    // The context is associated and tied to the generated DEK.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testShareFlags() throws Exception {
                // Test encryption flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA, response.getShareFlags(), "Should handle encryption flag");
    
                // Test multiple flags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

    import javax.security.auth.DestroyFailedException;
    import javax.security.auth.Destroyable;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Secure key management for SMB encryption.
     * Provides centralized management of encryption keys with secure storage and cleanup.
     *
     * Features:
     * - Secure key storage with optional KeyStore integration
     * - Automatic key cleanup on close
     * - Thread-safe key management
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

         * Creates a byte array representing a Kerberos ticket for testing purposes.
         * @param version Kerberos version
         * @param realm Server realm
         * @param principalName Server principal name
         * @param encType Encryption type
         * @param encryptedData Encrypted data
         * @param unknownTag Optional unknown tag number to test error handling
         * @return A byte array representing the ticket
         * @throws IOException on encoding error
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertThrows(SmbException.class, () -> transport.isSigningEnforced());
            verify(transport).isSigningOptional();
            verify(transport).isSigningEnforced();
        }
    
        // Happy path and edge: server encryption key can be non-null, empty, or null
        @Test
        @DisplayName("getServerEncryptionKey returns expected bytes")
        void serverEncryptionKey_variants() {
            byte[] key = new byte[] { 1, 2, 3 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. docs/debugging/README.md

    mc: The decryption key will ONLY be shown here. It cannot be recovered.
    mc: The encrypted file can safely be shared without the decryption key.
    mc: Even with the decryption key, data stored with encryption cannot be accessed.
    ```
    
    This file can be decrypted using the decryption tool below:
    
    ### Installing decryption tool
    
    To install, [Go](https://golang.org/dl/) must be installed.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top