- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 80 for integrity (0.07 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); decodedContext.decode(buffer, 0, buffer.length); // Verify roundtrip integrity assertEquals(context.getLeaseState(), decodedContext.getLeaseState()); assertEquals(context.getCacheScope(), decodedContext.getCacheScope());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
} if (this.gssContext.getConfState()) { contextFlags |= NegTokenInit.CONFIDENTIALITY; } if (this.gssContext.getIntegState()) { contextFlags |= NegTokenInit.INTEGRITY; } return contextFlags; } @Override public boolean isEstablished() { return this.gssContext != null && this.gssContext.isEstablished(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether to use raw NTLM authentication without SPNEGO */ protected boolean useRawNTLM = false; /** Whether to disable SPNEGO integrity checking */ protected boolean disableSpnegoIntegrity = false; /** Whether to enforce SPNEGO integrity checking */ protected boolean enforceSpnegoIntegrity = true; /** Whether plain text passwords are disabled */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(encodedSize, decodedSize); assertArrayEquals(singleCipher, decodedContext.getCiphers()); } @Test @DisplayName("Should maintain data integrity through encode/decode cycle") void testEncodeDecodeCycle() throws SMBProtocolDecodingException { // Arrange int[] hashAlgos = new int[] { 1, 2, 3, 4, 5 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
int expected = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING | NegTokenInit.ANONYMITY | NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY; assertEquals(expected, flags); } @Test @DisplayName("isEstablished reflects underlying context state") void isEstablished_behavior() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
// Should handle encoding at the end of buffer correctly assertDoesNotThrow(() -> context.encode(smallBuffer, 4)); } @Test @DisplayName("Should preserve data integrity through encode/decode cycle") void testDataIntegrity() throws SMBProtocolDecodingException { // Create complex test data int[] hashAlgos = new int[20]; byte[] salt = new byte[64];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)