Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 229 for P256 (0.48 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                this.preauthSalt = salt;
    
                if (config.isEncryptionEnabled()) {
                    // Build cipher list based on AES-256 support
                    List<Integer> ciphers = new ArrayList<>();
    
                    // Prefer GCM over CCM for better performance
                    if (config.isAES256Enabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, largeData, offset, length);
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. docs/kms/IAM.md

    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Now, you can set `MINIO_KMS_SECRET_KEY` like this:
    
    ```sh
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        }
    
        @Override
        public BeanDesc getBeanDesc() {
            return beanDesc;
        }
    
        @Override
        public final String toString() {
            final StringBuilder buf = new StringBuilder(256);
            buf.append("propertyName=")
                    .append(propertyName)
                    .append(",propertyType=")
                    .append(propertyType.getName())
                    .append(",readMethod=")
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                    // start with some reasonably safe defaults, the server will till us if it does not like it
                    // can we resume this if we loose the file descriptor?
    
                    int maxChunks = 256;
                    int maxChunkSize = 1024 * 1024;
                    int byteLimit = 16 * 1024 * 1024;
                    boolean retry = false;
                    do {
                        long ooff = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            @BeforeEach
            void setUp() {
                testName = "CREATE_CONTEXT_TEST".getBytes(StandardCharsets.UTF_8);
                testResponse = new TestCreateContextResponse(testName);
                testBuffer = new byte[256];
                Arrays.fill(testBuffer, (byte) 0x42);
            }
    
            @Test
            @DisplayName("Should correctly store and return name")
            void testNameStorage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. docs/smb3-features/03-multi-channel-design.md

        private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException {
            try {
                MessageDigest digest = MessageDigest.getInstance("SHA-256");
                return digest.digest(bindingInfo);
            } catch (NoSuchAlgorithmException e) {
                throw new IOException("SHA-256 not available", e);
            }
        }
        
        public ChannelInfo selectChannel(SMBMessage message) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            request = new Smb2NegotiateRequest(mockConfig, 0);
            byte[] buffer = new byte[256];
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then - This is a request, so it doesn't read from wire
            assertEquals(0, bytesRead);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getInitialCredits returns large value")
        void testGetInitialCreditsLarge() {
            // Arrange
            int expectedCredits = 256;
            when(negotiationResponse.getInitialCredits()).thenReturn(expectedCredits);
    
            // Act
            int credits = negotiationResponse.getInitialCredits();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. cmd/format-erasure_test.go

    			}
    			if newFormats[i][j].ID != quorumFormat.ID {
    				t.Fatal("Deployment id in the new format is lost")
    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top