Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for encryptions (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertNotNull(responseWithNull);
        }
    
        @Test
        @DisplayName("Should test encryption flag detection")
        void testEncryptionFlagDetection() throws SMBProtocolDecodingException {
            // Given - response with encryption flag set
            byte[] buffer = createValidResponseBuffer(0, 0x8000, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        /**
         * Session flag indicating this is a null/anonymous session
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
        /**
         * Session flag indicating data encryption is required for this session
         */
        public static final int SMB2_SESSION_FLAG_ENCRYPT_DATA = 0x4;
    
        private int sessionFlags;
        private byte[] blob;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Tools.java

        public static final String MVN_CMD = "mvn";
        public static final String MVN_NAME = "Maven";
    
        public static final String MVNENC_CMD = "mvnenc";
        public static final String MVNENC_NAME = "Maven Password Encrypting Tool";
    
        public static final String MVNSHELL_CMD = "mvnsh";
        public static final String MVNSHELL_NAME = "Maven Shell Tool";
    
        public static final String MVNUP_CMD = "mvnup";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionInternal.java

         * Determines whether this session is currently in use.
         *
         * @return whether the session is in use
         */
        boolean isInUse();
    
        /**
         * Returns the current session key used for signing and encryption.
         *
         * @return the current session key
         * @throws CIFSException if the session key cannot be retrieved
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals("", serverData.oemDomainName);
        }
    
        @Test
        void testReadBytesWireFormat_NoDomainName() {
            // Scenario where byteCount is only the encryption key length
            serverData.capabilities = 0;
            serverData.encryptionKeyLength = 8;
            response.byteCount = 8;
    
            byte[] encryptionKey = "12345678".getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

                }
            }
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
        /**
         * Retrieves a specific Kerberos key by key type.
         *
         * @param keyType the encryption type of the key to retrieve
         * @return the KerberosKey with the specified type, or null if not found
         */
        public KerberosKey getKey(int keyType) {
            KerberosKey serverKey = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share flag indicating that hash generation V2 is enabled for this share.
         */
        public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2 = 0x4000;
        /**
         * Share flag indicating that encryption is required for this share.
         */
        public static final int SMB2_SHAREFLAG_ENCRYPT_DATA = 0x8000;
        /**
         * Share capability indicating DFS support.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

    import org.mockito.MockedStatic;
    
    class PacTest {
    
        private Map<Integer, KerberosKey> keys;
    
        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
            // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5
            KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(),
                    PacSignature.ETYPE_ARCFOUR_HMAC, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            setPrivateField(response, "commonCapabilities", 0);
            assertFalse(response.isDFSSupported());
        }
    
        @Test
        @DisplayName("Should check encryption support")
        void testIsEncryptionSupported() throws Exception {
            // Given
            setPrivateField(response, "supportsEncryption", true);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertEquals(invertibleCryptographer, provider.providePrimaryInvertibleCryptographer());
            assertEquals(md5, provider.providePrimaryOneWayCryptographer());
        }
    
        // Test encryption and decryption functionality
        public void test_invertibleCryptography() {
            // Test that invertible cryptography works correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top