Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for encryptions (0.04 sec)

  1. 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)
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/package-info.java

     * under the License.
     */
    
    /**
     * Provides the API for the Maven Password Encryption tool ({@code mvnenc}).
     *
     * <p>This package contains interfaces and classes for the password encryption tool,
     * which helps secure sensitive information in Maven settings and configuration files.</p>
     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Password encryption and decryption</li>
     *   <li>Master password management</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Crypto.java

            return new HMACT64(key);
        }
    
        /**
         * Get an RC4 cipher instance initialized with the specified key.
         * @param key the encryption key
         * @return RC4 cipher in encryption mode
         */
        public static Cipher getArcfour(final byte[] key) {
            try {
                final Cipher c = Cipher.getInstance("RC4");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        /**
         * Test decrypt with an unsupported encryption type.
         */
        @Test
        void testDecryptUnsupportedType() {
            Key key = new KerberosKey(null, new byte[16], 99, 0);
            byte[] data = new byte[16];
            Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99));
            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Defines the options specific to the Maven encryption tool.
     * This interface extends the general {@link Options} interface, adding encryption-specific configuration options.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                EncryptionNegotiateContext encryption = new EncryptionNegotiateContext();
    
                assertNotEquals(preauth.getContextType(), encryption.getContextType());
                assertEquals(0x1, preauth.getContextType());
                assertEquals(0x2, encryption.getContextType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/ServerData.java

        /**
         * Server's time zone offset in minutes from UTC.
         */
        public int serverTimeZone;
        /**
         * Length of the encryption key.
         */
        public int encryptionKeyLength;
        /**
         * Encryption key for password encryption.
         */
        public byte[] encryptionKey;
        /**
         * Server's globally unique identifier.
         */
        public byte[] guid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacMac.java

    /**
     * Utility class for calculating and verifying PAC (Privilege Attribute Certificate) message authentication codes.
     * This class provides methods for computing MACs using various Kerberos encryption types including
     * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms.
     */
    public class PacMac {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private PacMac() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top