Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 151 for signify (0.08 seconds)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
        /**
         * Constructs a signing digest with bypass option and initial sequence number
         *
         * @param macSigningKey
         *            The MAC signing key used for generating signatures
         * @param bypass
         *            Whether to bypass signature verification
         * @param initialSequence
         *            The initial sequence number for signing
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        @DisplayName("Test isSigningEnforced returns true when signing is enforced")
        void testIsSigningEnforcedReturnsTrue() {
            // Given
            when(negotiationRequest.isSigningEnforced()).thenReturn(true);
    
            // When
            boolean result = negotiationRequest.isSigningEnforced();
    
            // Then
            assertTrue(result, "isSigningEnforced should return true when signing is enforced");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

        /**
         * Checks if message signing is supported but not mandatory.
         *
         * @return whether signatures are supported but not required
         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningOptional() throws SmbException;
    
        /**
         * Checks if message signing is mandatory for this connection.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/config/SecurityConfigurationTest.java

        }
    
        /**
         * Test that signing is properly configured
         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. 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.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertFalse(result);
            verify(negotiationResponse).canReuse(null, false);
        }
    
        @Test
        @DisplayName("Test signing state combinations")
        void testSigningStateCombinations() {
            // Test all combinations of signing states
    
            // Signing disabled
            when(negotiationResponse.isSigningEnabled()).thenReturn(false);
            when(negotiationResponse.isSigningRequired()).thenReturn(false);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(context.isEstablished());
            assertArrayEquals(serverChallenge, context.getServerChallenge());
            // Signing key may or may not be generated depending on flags negotiation
            // The context negotiates flags with server, so we can't guarantee signing key
        }
    
        @Test
        void testInitSecContext_state2_withoutSigning() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @return the server challenge bytes
         */
        public byte[] getServerChallenge() {
            return serverChallenge;
        }
    
        /**
         * Gets the signing key for message authentication.
         * @return the signing key bytes
         */
        public byte[] getSigningKey() {
            return signingKey;
        }
    
        /**
         * Gets the NetBIOS name of the remote server.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
                assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001");
            }
    
            @Test
            @DisplayName("Signing required flag should be 0x0002")
            void testSigningRequiredFlag() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

    tasks.withType<Sign>().configureEach { isEnabled = signArtifacts }
    
    signing {
        useInMemoryPgpKeys(
            project.providers.environmentVariable("PGP_SIGNING_KEY").orNull,
            project.providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE").orNull
        )
        publishing.publications.configureEach {
            if (signArtifacts) {
                signing.sign(this)
            }
        }
    }
    
    fun configureJavadocVariant() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top