Decrypt String
- 11 Sep 2023
- 1 Minute to read
- Print
- DarkLight
Decrypt String
- Updated on 11 Sep 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | |
Location | PGP Steps |
The Decrypt String step takes in a string of encrypted data and using the associated Private Key and Private Key Password will decrypt the string and make it usable data within a Flow.
Prerequisites
This step requires the PGP module to be installed before it will be available in the toolbox.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Data | The data string to be decryped. | String |
Private Key Password | The password for the Private Key from the source of the file. | String |
Private Key String | Private Key from the source of the file. | String |
Outputs
Property | Description | Data Type |
---|---|---|
DecryptString1_Output | The decrypted string | String |
Example Inputs and Outputs
Input | Output |
---|---|
Null Value | EXCEPTION MESSAGE |
Common Errors
Private Key Password or Private Key String are Null
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Decrypt String 1[DecryptString] in flow [Misc Step Tests]: Exception invoking method DecryptString on class PGPSteps
---> DecisionsFramework.LoggedException: Exception invoking method DecryptString on class PGPSteps
---> System.ArgumentNullException: Value cannot be null. (Parameter 's'
at System.ArgumentNullException.Throw(String paramName
at System.Text.Encoding.GetBytes(String s
at Decsisions.PGP.Steps.BouncyCastleProcessor.DecryptString(String data, String privateKeyString, String privateKeyPassword
at Decsisions.PGP.Steps.PGPSteps.DecryptString(String privateKeyString, String privateKeyPassword, String data
at InvokeStub_PGPSteps.DecryptString(Object, Object, IntPtr*
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- 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
Was this article helpful?