Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for originalKey (1.38 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

        public void testDecode() {
            // Create a context and encode it
            Smb2LeaseKey originalKey = new Smb2LeaseKey();
            int originalLeaseState = DirectoryLeaseState.DIRECTORY_FULL;
            DirectoryCacheScope originalScope = DirectoryCacheScope.METADATA_ONLY;
    
            DirectoryLeaseContext originalContext = new DirectoryLeaseContext(originalKey, originalLeaseState, originalScope);
            originalContext.setMaxCacheAge(60000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
            // Then - the field should also be modified (same reference)
            assertEquals((byte) 0xFF, serverData.encryptionKey[0]);
            assertSame(originalKey, serverData.encryptionKey);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info response data structure. This structure contains the server's
     * validation of the originally negotiated SMB2 dialect.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoResponse implements Decodable {
    
        /**
         * Default constructor for ValidateNegotiateInfoResponse
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info request data structure. This structure is used to validate
     * that the negotiated SMB2 dialect matches what was originally negotiated.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private final int capabilities;
        private final byte[] clientGuid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         * It now uses the standard String constructor.
         * </p>
         *
         * @param chars
         *            the char array
         * @return a new String, or null if the input is null
         * @deprecated This method originally used internal JDK APIs (sun.misc.SharedSecrets) for
         *             performance optimization, but those APIs have been removed for safety and
         *             compatibility with modern Java versions. This method now simply calls
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top