Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for calculateMac (0.06 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            return u * v / a;
        }
    
    
        /**
         * @param type
         * @param keys
         * @return the calculated mac
         * @throws PACDecodingException
         */
        public static byte[] calculateMac ( int type, Map<Integer, KerberosKey> keys, byte[] data ) throws PACDecodingException {
            try {
                int usage = 17;
                if ( type == PacSignature.KERB_CHECKSUM_HMAC_MD5 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/Pac.java

                        this.serverSignature.getType(),
                        Hexdump.toHexString(this.serverSignature.getChecksum())));
            }
    
            byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData);
            if ( !MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum) ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SSPContext.java

         * @return whether this mechanisms supports integrity
         */
        boolean supportsIntegrity ();
    
    
        /**
         * @param data
         * @return MIC
         * @throws CIFSException
         */
        byte[] calculateMIC ( byte[] data ) throws CIFSException;
    
    
        /**
         * @param data
         * @param mic
         * @throws CIFSException
         */
        void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top