Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for Sign (0.03 sec)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
            int length = testData.length;
    
            // Act
            signingDigest.sign(testData, offset, length, request, response);
    
            // Assert
            verify(signingDigest, times(1)).sign(testData, offset, length, request, response);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should reject null data buffer in sign method")
            void testSignNullDataBuffer() {
                assertThrows(IllegalArgumentException.class, () -> digest.sign(null, 0, 100, request, response),
                        "Should throw IllegalArgumentException for null data buffer");
            }
    
            @Test
            @DisplayName("Should reject negative offset in sign method")
            void testSignNegativeOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign sequence increment for normal requests")
        void testSignSequenceIncrementNormal() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, false, 100);
            byte[] data = new byte[100];
    
            // First sign
            digest.sign(data, 0, data.length, mockRequest, mockResponse);
            verify(mockRequest).setSignSeq(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    		return strconv.FormatInt(secs, 10)
    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            return b;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#sign(byte[], int, int, jcifs.internal.CommonServerMessageBlock,
         *      jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public void sign(final byte[] data, final int offset, final int length, final CommonServerMessageBlock request,
                final CommonServerMessageBlock response) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. pom.xml

    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-gpg-plugin</artifactId>
    				<version>3.2.7</version>
    				<executions>
    					<execution>
    						<id>sign-artifacts</id>
    						<phase>verify</phase>
    						<goals>
    							<goal>sign</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    				<groupId>org.sonatype.central</groupId>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Fri Jun 20 20:21:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            return m;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#sign(byte[], int, int, jcifs.internal.CommonServerMessageBlock,
         *      jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public void sign(final byte[] data, final int offset, final int length, final CommonServerMessageBlock request,
                final CommonServerMessageBlock response) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. pom.xml

    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-gpg-plugin</artifactId>
    				<version>3.2.7</version>
    				<executions>
    					<execution>
    						<id>sign-artifacts</id>
    						<phase>verify</phase>
    						<goals>
    							<goal>sign</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    				<groupId>org.sonatype.central</groupId>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 03:01:32 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    	if canonicalQuery != "" {
    		return encodedResource + "?" + canonicalQuery
    	}
    	return encodedResource
    }
    
    // Return string to sign under two different conditions.
    // - if expires string is set then string to sign includes date instead of the Date header.
    // - if expires string is empty then string to sign includes date header instead.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        }
    
        /**
         * SigningDigest spy that records whether sign() was invoked.
         */
        static class TestSigningDigest extends SigningDigest {
            boolean called;
            int lastLength;
    
            TestSigningDigest() throws SmbException {
                super(new byte[16], false);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top