Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for signature (0.18 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8);
                update(raxr.getData(), raxr.getOffset(), raxr.getDataLength());
            }
            else {
                update(data, index, msg.getLength() - SmbConstants.SIGNATURE_OFFSET - 8);
            }
            byte[] signature = digest();
            for ( int i = 0; i < 8; i++ ) {
                if ( signature[ i ] != data[ offset + SmbConstants.SIGNATURE_OFFSET + i ] ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/fe.tld

        <example>
          ${fe:facetForm()}
        </example>
      </function>
    
      <function>
        <description>
          Returns a hidden form for More Like This.
        </description>
        <name>mltForm</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String mltForm()</function-signature>
        <example>
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu May 28 07:49:35 GMT 2020
    - 10K bytes
    - Viewed (0)
  3. 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.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacSignature.java

                    break;
                }
                bufferStream.readFully(this.checksum);
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
    
        public int getType () {
            return this.type;
        }
    
    
        public byte[] getChecksum () {
            return this.checksum;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                update(raxr.b, raxr.off, raxr.dataLength);
            } else {
                update(data, index, response.length - ServerMessageBlock.SIGNATURE_OFFSET - 8);
            }
            byte[] signature = digest();
            for (int i = 0; i < 8; i++) {
                if (signature[i] != data[offset + ServerMessageBlock.SIGNATURE_OFFSET + i]) {
                    if( log.level >= 2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                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;
        }
    
    
        protected int writeAndXWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, 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)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
    
            byte[] sig = new byte[SIGNATURE_LENGTH];
            System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH);
    
            int index = offset + SIGNATURE_OFFSET;
            for ( int i = 0; i < SIGNATURE_LENGTH; i++ )
                data[ index + i ] = 0;
    
            this.digest.update(data, offset, length);
    
            byte[] cmp = new byte[SIGNATURE_LENGTH];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/Pac.java

                    case PacConstants.SERVER_CHECKSUM:
                        // PAC Server Signature
                        if ( this.serverSignature == null ) {
                            this.serverSignature = new PacSignature(bufferData);
                            if ( log.isDebugEnabled() ) {
                                log.debug(
                                    String.format("Server signature is type %d @ %d len %d", this.serverSignature.getType(), bufferOffset, bufferSize));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type2Message.java

                size += 8;
            }
    
            byte[] type2 = new byte[size];
            int pos = 0;
    
            System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, pos, NTLMSSP_SIGNATURE.length);
            pos += NTLMSSP_SIGNATURE.length;
    
            writeULong(type2, pos, NTLMSSP_TYPE2);
            pos += 4;
    
            // TargetNameFields
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
Back to top