Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 240 for signature (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            }
            final byte[] signature = digest();
            for (int i = 0; i < 8; i++) {
                if (signature[i] != data[offset + SmbConstants.SIGNATURE_OFFSET + i]) {
                    if (LogStream.level >= 2) {
                        log.println("signature verification failure");
                        Hexdump.hexdump(log, signature, 0, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        @Test
        @DisplayName("Should set and get signature")
        void testSignature() {
            // Given
            byte[] signature = new byte[16];
            new SecureRandom().nextBytes(signature);
    
            // When
            transformHeader.setSignature(signature);
    
            // Then
            assertArrayEquals(signature, transformHeader.getSignature());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacSignature.java

     */
    package jcifs.pac;
    
    import java.io.ByteArrayInputStream;
    import java.io.DataInputStream;
    import java.io.IOException;
    
    /**
     * Represents a PAC signature structure containing checksum type and data.
     * This class parses and holds signature information from Kerberos PAC data,
     * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES.
     */
    public class PacSignature {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/SMBSigningDigest.java

         */
        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. KEYS.md

    ```
    
    ### Verifying signatures
    
    Once you've downloaded a Gradle JAR file or a distribution and its corresponding signature file (with a `.asc` extension), you can verify its authenticity against the public key.
    
    For example, to verify the signature of `plugin-publish-plugin-2.0.0.jar` and its signature file `plugin-publish-plugin-2.0.0.jar.asc`, use this command:
    
    ```bash
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 04 14:29:13 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

      // For now, we'll keep the standard ones and allow modules to add more
      androidSignature(library("signature-android-apilevel21")) { artifact { type = "signature" } }
      jvmSignature(library("codehaus-signature-java18")) { artifact { type = "signature" } }
    
      "lintChecks"(library("androidx-lint-gradle"))
    }
    
    configure<com.android.build.api.dsl.Lint> {
      xmlReport = true
      checkDependencies = true
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            }
            final byte[] signature = digest();
            for (int i = 0; i < 8; i++) {
                if (signature[i] != data[offset + SmbConstants.SIGNATURE_OFFSET + i]) {
                    if (log.isDebugEnabled()) {
                        log.debug("signature verification failure"); //$NON-NLS-1$
                        log.debug("Expect: " + Hexdump.toHexString(signature, 0, 8));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
            try {
                if (this.closed) {
                    throw new IllegalStateException("SigningDigest is closed");
                }
    
                // zero out signature field
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. Dockerfile.hotfix

    ENV CGO_ENABLED=0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/hotfixes/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. cmd/test-utils_test.go

    	req.URL.RawQuery = query.Encode()
    
    	// Save signature finally.
    	req.URL.RawQuery += "&Signature=" + url.QueryEscape(signature)
    	return nil
    }
    
    // Sign given request using Signature V2.
    func signRequestV2(req *http.Request, accessKey, secretKey string) error {
    	signer.SignV2(*req, accessKey, secretKey, false)
    	return nil
    }
    
    // Sign given request using Signature V4.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
Back to Top