Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for integrity (0.09 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

        /**
         * 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);
    
        private ASN1ObjectIdentifier[] mechanisms;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SMBSignatureValidationException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when SMB message signature validation fails.
     * Indicates that the integrity of an SMB message could not be verified.
     *
     * @author mbechler
     *
     */
    public class SMBSignatureValidationException extends SmbException {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/package-info.java

     */
    
    /**
     * Provides XML-specific services for reading and writing Maven's configuration files
     * and descriptors. These services handle XML parsing, transformation, and serialization
     * while maintaining Maven's model integrity.
     *
     * @since 4.0.0
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    import jcifs.smb.PreauthIntegrityService.PreauthIntegrityContext;
    
    /**
     * Comprehensive tests for enhanced pre-authentication integrity service.
     */
    public class PreauthIntegrityServiceTest {
    
        private PreauthIntegrityService preauthService;
        private SecureRandom secureRandom;
    
        @BeforeEach
        public void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

    import org.mockito.Mockito;
    
    /**
     * Tests for {@link WinError} interface constants and static arrays.
     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Crypto;
    
    /**
     * SMB2/SMB3 message signing digest implementation.
     *
     * This class handles cryptographic signing of SMB2/SMB3 messages to ensure
     * message integrity and authenticity. It supports different signing algorithms
     * used in various SMB2/SMB3 dialect versions.
     *
     * @author mbechler
     */
    public class Smb2SigningDigest implements SMBSigningDigest, AutoCloseable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SMBSigningDigest.java

     */
    package jcifs.internal;
    
    /**
     * Interface for SMB message signing and verification operations.
     * Provides cryptographic signing capabilities for SMB protocol messages to ensure
     * message integrity and authenticity using MAC (Message Authentication Code) algorithms.
     *
     * @author mbechler
     */
    public interface SMBSigningDigest {
    
        /**
         * Performs MAC signing of the SMB. This is done as follows.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-meta-inline.go

    			return val
    		}
    		// Skip it
    		_, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return nil
    		}
    	}
    	return nil
    }
    
    // validate checks if the data is valid.
    // It does not check integrity of the stored data.
    func (x xlMetaInlineData) validate() error {
    	if len(x) == 0 {
    		return nil
    	}
    
    	if !x.versionOK() {
    		return fmt.Errorf("xlMetaInlineData: unknown version 0x%x", x[0])
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should handle null preauth integrity for SMB 3.0.0")
        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0300;
    
            // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            assertEquals(4, response.getMessageLength());
            assertEquals(0, response.getData().length);
            assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode preserves data integrity")
        void testDecodeDataIntegrity() throws SMBProtocolDecodingException {
            // Prepare buffer with specific pattern
            byte[] buffer = new byte[32];
            byte[] expectedData = new byte[16];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top