Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for verifySignature (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          val trustedCert = trustRootIndex.findByIssuerAndSignature(toVerify)
          if (trustedCert != null) {
            if (result.size > 1 || toVerify != trustedCert) {
              result.add(trustedCert)
            }
            if (verifySignature(trustedCert, trustedCert, result.size - 2)) {
              return result // The self-signed cert is a root CA. We're done.
            }
            foundTrustedCertificate = true
            continue
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            }
    
            if ( !verifySignature(buffer, start, len) ) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + getClass().getName());
            }
    
            setAsyncHandled(false);
            received();
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Response.java

         */
        long getMid ();
    
    
        /**
         * 
         * @param buffer
         * @param i
         * @param size
         * @return whether signature verification is successful
         */
        boolean verifySignature ( byte[] buffer, int i, int size );
    
    
        /**
         * @return whether signature verification failed
         */
        boolean isVerifyFailed ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.uid = 0;
            this.tid = 0xFFFF;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            /*
             * Verification fails (w/ W2K3 server at least) if status is not 0. This
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            if ( isRetainPayload() ) {
                byte[] payload = new byte[len];
                System.arraycopy(buffer, 4, payload, 0, len);
                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, 4, len) ) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + this.getClass().getName());
            }
            return len;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                                response.setDigest(dgst);
                                byte[] payload = response.getRawPayload();
                                if ( !response.verifySignature(payload, 0, payload.length) ) {
                                    throw new SmbException("Signature validation failed");
                                }
                            }
                            setDigest(dgst);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top