Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for signify (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should fail validation when signing enforced but not enabled")
        void testIsValidSigningEnforcedButNotEnabled() throws Exception {
            // Given
            setResponseAsReceived(response);
            when(mockRequest.isSigningEnforced()).thenReturn(true);
            setPrivateField(response, "securityMode", 0); // No signing
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    if (b != 0) {
                        allZero = false;
                        break;
                    }
                }
                assertFalse(allZero, "Signature should not be all zeros after signing");
            }
    
            @Test
            @DisplayName("Should set SMB2_FLAGS_SIGNED flag")
            void testSignSetsSignedFlag() {
                // Set initial flags without signed flag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionInternal.java

        /**
         * Determines whether this session is currently in use.
         *
         * @return whether the session is in use
         */
        boolean isInUse();
    
        /**
         * Returns the current session key used for signing and encryption.
         *
         * @return the current session key
         * @throws CIFSException if the session key cannot be retrieved
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                    && !sess.getCredentials().isAnonymous() && sess.getDigest() == null) {
                throw new SmbException("IPC signing is enforced, but no signing is available");
            }
    
            this.service = rsvc;
            this.inDfs = response.isShareDfs();
            this.treeNum = TREE_CONN_COUNTER.incrementAndGet();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int ANONYMITY = 0x08;
        /**
         * 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);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
                    if (this.getCommand() == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

      }
    
      /**
       * Returns true if [toVerify] was signed by [signingCert]'s public key.
       *
       * @param minIntermediates the minimum number of intermediate certificates in [signingCert]. This
       *     is -1 if signing cert is a lone self-signed certificate.
       */
      private fun verifySignature(
        toVerify: X509Certificate,
        signingCert: X509Certificate,
        minIntermediates: Int,
      ): Boolean {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         *
         * @return whether to enable SMB signing (for everything), if available
         */
        boolean isSigningEnabled();
    
        /**
         *
         * Property {@code jcifs.smb.client.ipcSigningEnforced} (boolean, default true)
         *
         * @return whether to enforce SMB signing for IPC connections
         */
        boolean isIpcSigningEnforced();
    
        /**
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            assertEquals(0, SMBUtil.readInt4(dst, 2));
        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)} with a signing digest.
         */
        @Test
        public void testWriteParameterWordsWireFormatWithDigest() {
            // Given
            int fid = 789;
            long lastWriteTime = System.currentTimeMillis();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    carefully. Because of this, if you're interested in seeing a new feature in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 15 18:43:50 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top