Class SignatureCheck

java.lang.Object
org.eclipse.ease.sign.SignatureCheck

public class SignatureCheck
extends Object
  • Field Details

  • Constructor Details

    • SignatureCheck

      public SignatureCheck()
  • Method Details

    • canExecute

      public static boolean canExecute​(ScriptType scriptType, InputStream inputStream, boolean remote)
      Use result of this method directly to know whether to run remote/local scripts.
      Parameters:
      scriptType - instance of ScriptType
      inputStream - InputStream of data file which contain appended signature
      remote - true if file to be executed is a remote file or false if file is on local system
      Returns:
      true if script file can be executed or false otherwise