- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for getContextType (0.14 seconds)
-
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
*/ public int[] getHashAlgos() { return this.hashAlgos; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.nego.NegotiateContextRequest#getContextType() */ @Override public int getContextType() { return NEGO_CTX_PREAUTH_TYPE; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
EncryptionNegotiateContext encryption = new EncryptionNegotiateContext(); assertNotEquals(preauth.getContextType(), encryption.getContextType()); assertEquals(0x1, preauth.getContextType()); assertEquals(0x2, encryption.getContextType()); } @Test @DisplayName("Should verify all implementations are NegotiateContextRequest")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
*/ public int[] getCiphers() { return this.ciphers; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.nego.NegotiateContextRequest#getContextType() */ @Override public int getContextType() { return NEGO_CTX_ENC_TYPE; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java
* @author mbechler */ public interface NegotiateContextRequest extends Encodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
* @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
/** * Create RDMA Transform Capabilities context */ public Smb2RdmaTransformCapabilitiesContext() { } @Override public int getContextType() { return CONTEXT_ID; } /** * Get the context data * * @return encoded context data */ public byte[] getData() { // Encode the context dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType()); // Verify encryption context assertTrue(contexts[1] instanceof EncryptionNegotiateContext); assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, contexts[1].getContextType()); // Verify salt was generated assertArrayEquals(testSalt, request.getPreauthSalt());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
* Default constructor for response parsing. */ public CompressionNegotiateContext() { this.compressionAlgorithms = new int[0]; this.flags = 0; } @Override public int getContextType() { return NEGO_CTX_COMPRESSION_TYPE; } /** * Gets the supported compression algorithms. * * @return the supported compression algorithms */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertTrue(encContext instanceof NegotiateContextResponse); assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, preauthContext.getContextType()); assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, encContext.getContextType()); } @Test @DisplayName("Should be able to use polymorphically") void testPolymorphicUsage() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
void testGetContextType() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(); assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, context.getContextType()); assertEquals(0x2, context.getContextType()); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0)