- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 84 for integrity (0.48 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
* * @return the negotiateContexts */ public NegotiateContextRequest[] getNegotiateContexts() { return this.negotiateContexts; } /** * Gets the pre-authentication integrity salt for SMB 3.1.1. * * @return the preauthSalt */ public byte[] getPreauthSalt() { return this.preauthSalt; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
* @param decryptionKey * key for server->client decryption * @param sessionKey * base session key for key rotation * @param preauthHash * preauth integrity hash for SMB 3.1.1 */ public Smb2EncryptionContext(final int cipherId, final DialectVersion dialect, final byte[] encryptionKey, final byte[] decryptionKey,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
Configuration config; @Mock SSPContext mechContext; private ASN1ObjectIdentifier[] mechs; @BeforeEach void setup() { // Default: do not enforce or disable SPNEGO integrity when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false); when(this.config.isDisableSpnegoIntegrity()).thenReturn(false); this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertNotNull(request.getClientGuid()); assertNotNull(request.getNegotiateContexts()); assertNotNull(request.getPreauthSalt()); // Verify data integrity assertEquals(16, request.getClientGuid().length); assertEquals(32, request.getPreauthSalt().length); assertTrue(request.getDialects().length > 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0)