Verify File
  • 05 Jun 2023
  • 1 Minute to read
  • Dark
    Light

Verify File

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version8.1.0
LocationPGP Steps

The Verify File step uses the specified public key to determine whether the input file has an authentic digital signature.

Prerequisites 

This step requires the PGP module to be installed before it will be available in the toolbox. 


Properties

Inputs

PropertyDescriptionData Type
DataThe desired file to evaluateList of Byte
Sender Public KeyThe PGP-generated Public Key fileList of Byte

Example Inputs and Outputs


Common Errors

Buffer cannot be null

If the Data or Sender Public Key fields are null or empty, the step will cause an error.

To correct this, ensure both fields have an appropriate file uploaded or mapped.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Verify File 1[VerifyFile] in flow [Flow 2]: Exception invoking method VerifyFile on class PGPSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method VerifyFile on class PGPSteps
 ---> System.ArgumentNullException: Buffer cannot be null. (Parameter 'buffer'
 at System.IO.MemoryStream..ctor(Byte[] buffer
 at Decsisions.PGP.Steps.PGPSteps.VerifyFile(Byte[] senderPublicKey, Byte[] data)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---

Related Information

Documentation:
PGP module
Forum Posts:
Email Encrypt / Decrypt With PGP Module
Error While Encrypting A File Using PGP
PGP Issues With Decrypting Using Private Key


Was this article helpful?