Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for signatures (0.08 sec)

  1. src/main/java/jcifs/SmbConstants.java

        /**
         * Extended attributes are supported flag.
         */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /**
         * Security signatures are supported flag.
         */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /**
         * Security signatures are required flag.
         */
        int FLAGS2_SECURITY_REQUIRE_SIGNATURES = 0x0010;
        /**
         * Extended security negotiation is supported flag.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/BufferCacheTest.java

        @BeforeEach
        void setUp() {
            testCache = new TestBufferCacheImpl(5, 1024); // 5 buffers of 1KB each
        }
    
        @Test
        @DisplayName("BufferCache interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            BufferCache cache = mockBufferCache;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS2_NONE = 0x0000;
        /** Long filenames supported flag */
        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /** Security signatures supported flag */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should correctly verify signatures - regression test for inverted logic bug")
            void testVerifySignatureLogicRegression() throws Exception {
                // This test ensures the signature verification logic is not inverted
                // Previously there was a bug where verify returned true for invalid signatures
    
                // Set signed flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. build.gradle.kts

          androidSignature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } }
        } else {
          // Everything else requires Android API 21+.
          androidSignature(rootProject.libs.signature.android.apilevel21) { artifact { type = "signature" } }
        }
    
        // OkHttp requires Java 8+.
        jvmSignature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. okhttp-tls/README.md

        .heldCertificate(serverCertificate, intermediateCertificate.certificate())
        .build();
    ```
    
    The client only needs to know the trusted root certificate. It checks the server's certificate by
    validating the signatures within the chain.
    
    ```java
    HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
        .addTrustedCertificate(rootCertificate.certificate())
        .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

              /*
               * When we block access to AtomicReferenceFieldUpdater, we can't even reflect on
               * AbstractFuture, since it declares methods that use that type in their signatures.
               */
              && !method.getName().equals("testFutures_nullChecks")) {
            suite.addTest(
                TestSuite.createTest(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              issuerUniqueID = null,
              subjectUniqueID = null,
              extensions = extensions(),
            )
    
          // Signature.
          val signature =
            Signature.getInstance(tbsCertificate.signatureAlgorithmName).run {
              initSign(issuerKeyPair.private)
              update(CertificateAdapters.tbsCertificate.toDer(tbsCertificate).toByteArray())
              sign().toByteString()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertTrue(result); // Signature mismatch expected
        }
    
        @Test
        @DisplayName("Test verify method with invalid signature")
        void testVerifyWithInvalidSignature() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[100];
    
            // Set invalid signature
            for (int i = 0; i < 8; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top