- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 80 for signing (0.96 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertNotNull(contexts); assertEquals(0, contexts.length); assertNull(request.getPreauthSalt()); } @Test @DisplayName("Should enforce signing when required flag is set") void testSigningEnforced() { // When request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED); // Then
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/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
private String[] dialects; /** * Creates a new SMB1 negotiate request to establish protocol parameters. * * @param config the CIFS configuration * @param signingEnforced whether SMB signing is enforced */ public SmbComNegotiate(final Configuration config, final boolean signingEnforced) { super(config, SMB_COM_NEGOTIATE); this.signingEnforced = signingEnforced;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (3) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */ if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) { wordCount += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
yield new byte[0]; } }; } /** * Get the signing key for this authentication * * @param tc the CIFS context * @param chlng the server challenge * @return the signing key * @throws SmbException if an SMB error occurs * @throws GeneralSecurityException if a security error occurs */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
* junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */ if (this.getCommand() == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended()Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
&& !sess.getCredentials().isAnonymous() && sess.getDigest() == null) { throw new SmbException("IPC signing is enforced, but no signing is available"); } this.service = rsvc; this.inDfs = response.isShareDfs(); this.treeNum = TREE_CONN_COUNTER.incrementAndGet();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
public static final int ANONYMITY = 0x08; /** * Context flag for confidentiality (encryption) capability */ public static final int CONFIDENTIALITY = 0x04; /** * Context flag for integrity (signing) capability */ public static final int INTEGRITY = 0x02; private static final ASN1ObjectIdentifier SPNEGO_OID = new ASN1ObjectIdentifier(SpnegoConstants.SPNEGO_MECHANISM);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection, times(2)).isSame(otherConn); } @Test @DisplayName("Buffer sizes and signing flags from negotiate response") void bufferSizesAndSigning() throws Exception { // Validate buffer sizes and signing flag are read from negotiate response SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean forceUnicode = false; /** Whether SMB signing is preferred but not required */ protected boolean signingPreferred = false; /** Whether SMB signing is enforced (required) */ protected boolean signingEnforced = false; /** Whether to enforce signing for IPC connections */ protected boolean ipcSigningEnforced = true; /** Whether SMB3 encryption is enabled */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/smb1/com/SmbComCloseTest.java
assertEquals(0, SMBUtil.readInt4(dst, 2)); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)} with a signing digest. */ @Test public void testWriteParameterWordsWireFormatWithDigest() { // Given int fid = 789; long lastWriteTime = System.currentTimeMillis();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)