UiPath Documentation
activities
latest
false

Developer activities

PGP Sign File

UiPath.Cryptography.Activities.PgpSignFile

Description

Creates a PGP binary signature of a file using a private key. The signed output contains the original data and the signature. To verify it later, use the PGP Verify activity with the Signed File (Binary) verification type.

This activity produces a binary OpenPGP signature. For a text-friendly armored signature that embeds the plaintext, use the PGP ClearSign File activity instead.

Project compatibility

Windows | Cross-platform

Windows, Cross-platform configuration

  • Input File Path - The path to the file that you want to sign. This field supports only strings and String variables. To use a project resource instead of a path, select the field's input menu and switch to the Input File input (an IResource).
  • Private Key File Path - The path to your PGP private key file, used to sign the data. This field supports only strings and String variables. To use a project resource instead of a path, select the field's input menu and switch to the Private Key File input (an IResource).
  • Output File Path - The full path where the signed file is saved. This field supports only strings and String variables.
  • Passphrase - The passphrase that unlocks the private key. To provide it as a secure string instead of plain text, select the field's input menu and switch to the Passphrase (Secure) input (a SecureString).

Advanced options

Options
  • Overwrite - If a file already exists at the output path, this overwrites it. This field only supports Boolean values (True, False). The default value is False.
  • Continue On Error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
    Note:

    If this activity is included in Try Catch and the value of the Continue On Error property is True, no error is caught when the project is executed.

Output
  • Signed File - A resource handle to the signed file that was written, stored in an ILocalResource variable for use in other activities. The signed bytes are also written to the Output File Path.
  • Description
  • Project compatibility
  • Windows, Cross-platform configuration
  • Advanced options

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated