Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for integrity (0.12 sec)

  1. cmd/xl-storage-meta-inline.go

    			return val
    		}
    		// Skip it
    		_, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return nil
    		}
    	}
    	return nil
    }
    
    // validate checks if the data is valid.
    // It does not check integrity of the stored data.
    func (x xlMetaInlineData) validate() error {
    	if len(x) == 0 {
    		return nil
    	}
    
    	if !x.versionOK() {
    		return fmt.Errorf("xlMetaInlineData: unknown version 0x%x", x[0])
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            assertEquals(4, response.getMessageLength());
            assertEquals(0, response.getData().length);
            assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode preserves data integrity")
        void testDecodeDataIntegrity() throws SMBProtocolDecodingException {
            // Prepare buffer with specific pattern
            byte[] buffer = new byte[32];
            byte[] expectedData = new byte[16];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            this.sessionKey = sessionKey;
        }
    
        /**
         * Returns the message integrity code (MIC) for this Type-3 message.
         *
         * @return A <code>byte[]</code> containing the message integrity code.
         */
        public byte[] getMic() {
            return this.mic;
        }
    
        /**
         * Sets the message integrity code (MIC) for this Type-3 message.
         *
         * @param mic
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                    log.error("Failed to update pre-auth integrity hash", e);
                    // Reset hash on error to maintain integrity
                    resetPreauthHash();
                    throw new CIFSException("Pre-authentication integrity hash update failed", e);
                }
            }
        }
    
        /**
         * Reset the pre-authentication integrity hash to initial state.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * the server.
         */
        int NTLMSSP_REQUEST_TARGET = 0x00000004;
    
        /**
         * Specifies that communication across the authenticated channel
         * should carry a digital signature (message integrity).
         */
        int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
         * Specifies that communication across the authenticated channel
         * should be encrypted (message confidentiality).
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/WinErrorTest.java

            // Verify the collaborator is invoked exactly N times
            verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString());
    
            // Capture one known interaction to verify argument integrity
            ArgumentCaptor<Integer> codeCap = ArgumentCaptor.forClass(Integer.class);
            ArgumentCaptor<String> msgCap = ArgumentCaptor.forClass(String.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        * the server.
        */
        int NTLMSSP_REQUEST_TARGET = 0x00000004;
    
        /**
        * Specifies that communication across the authenticated channel
        * should carry a digital signature (message integrity).
        */
        int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
        * Specifies that communication across the authenticated channel
        * should be encrypted (message confidentiality).
        */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. internal/hash/reader.go

    func (r *Reader) SetExpectedMax(expectedMax int64) {
    	r.expectedMax = expectedMax
    }
    
    // AddChecksum will add checksum checks as specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
    // Returns ErrInvalidChecksum if a problem with the checksum is found.
    func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error {
    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/Pac.java

         * @return the PAC credential type
         */
        public PacCredentialType getCredentialType() {
            return this.credentialType;
        }
    
        /**
         * Returns the server signature used to validate PAC integrity.
         * @return the server signature
         */
        public PacSignature getServerSignature() {
            return this.serverSignature;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            } catch (IOException e) {
                fail("Should not throw IOException: " + e.getMessage());
            }
        }
    
        /**
         * Test resource content integrity.
         * Verifies that loaded content matches expected structure.
         */
        @Test
        public void testResourceContent_integrity() throws Exception {
            // Test mappings content
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top