Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for integrity (0.07 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

            if ((mechanismListMIC == null || !this.mechContext.supportsIntegrity()) && this.requireMic
                    && !this.mechContext.isPreferredMech(this.selectedMech)) {
                throw new CIFSException("SPNEGO integrity is required but not available");
            }
    
            // otherwise we ignore the absence of a MIC
            if (!this.mechContext.isMICAvailable() || mechanismListMIC == null) {
                return;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertNotNull(getFieldValue(netShareEnum, "maxDataCount"));
            assertTrue((int) getFieldValue(netShareEnum, "maxDataCount") > 0);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat data integrity")
        void testWriteParametersWireFormatDataIntegrity() throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[256];
    
            // Write parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When
            Type3Message type3 = new Type3Message(createMockContext(), type2, null, "password", "DOMAIN", "user", "WORKSTATION", flags);
    
            // Then
            // MIC (Message Integrity Check) should be included for newer versions
            if (type3.isMICRequired()) {
                assertNotNull(type3.getMic());
                assertEquals(16, type3.getMic().length); // MIC is 16 bytes
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. gorm.go

    const preparedStmtDBKey = "preparedStmt"
    
    // Config GORM config
    type Config struct {
    	// GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction    bool
    	DefaultTransactionTimeout time.Duration
    	DefaultContextTimeout     time.Duration
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. docs/security/README.md

    ##### Figure 1 - Secure Channel construction
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            final Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse();
            if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         *
         * @return the selectedCipher
         */
        public int getSelectedCipher() {
            return this.selectedCipher;
        }
    
        /**
         * Gets the pre-authentication integrity hash algorithm selected for SMB 3.1.1.
         *
         * @return the selectedPreauthHash
         */
        public int getSelectedPreauthHash() {
            return this.selectedPreauthHash;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. cmd/metacache-stream.go

    	"github.com/valyala/bytebufferpool"
    )
    
    // metadata stream format:
    //
    // The stream is s2 compressed.
    // https://github.com/klauspost/compress/tree/master/s2#s2-compression
    // This ensures integrity and reduces the size typically by at least 50%.
    //
    // All stream elements are msgpack encoded.
    //
    // 1 Integer, metacacheStreamVersion of the writer.
    // This can be used for managing breaking changes.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                assertEquals(49, bytesWritten);
                // Verify structure integrity with maximum values
                assertEquals(49, SMBUtil.readInt2(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle buffer overflow protection")
            void testBufferOverflowProtection() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            }
        }
    
        /**
         * Sets up the conditions for deleting a crawling information record.
         * Ensures all associated CrawlingInfoParam records are deleted first to maintain referential integrity.
         *
         * @param crawlingInfo the crawling information entity to prepare for deletion
         */
        protected void setupDeleteCondition(final CrawlingInfo crawlingInfo) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top