Class ISArchiveVerify


  • public class ISArchiveVerify
    extends Object
    This Archive verify class provides the way for verifying LogRecords that has logged with mac and signature. It will detect any intrusion made for secure log file.
    • Constructor Detail

      • ISArchiveVerify

        public ISArchiveVerify()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws Exception
        Main method for the class. It drives verify procedure by invoking runCommand method.
        Parameters:
        args -
        Throws:
        Exception - if it fails to processing verification.
      • verifyArchive

        public boolean verifyArchive​(String logName,
                                     String path,
                                     String uname,
                                     String passwd)
                              throws Exception
        Verifies the complete archive including the current set and all the previous sets for the specified log.
        Parameters:
        logName - the name of the log for which the complete Archive is to be verified.
        path - Fully quallified path name for log file
        uname - userv name for logger user
        passwd - Password for logger user
        Returns:
        value of the status of verification.
        Throws:
        Exception - if it fails to verify the archive.