- Vue d'ensemble (Overview)
- Cryptographie
- Base de donnés
- Java
- Python
- APIweb
Activités du développeur.
UiPath.Cryptography.Activities.PgpClearSignFile
Description
Creates a PGP clear-text signature of a file using a private key. The clearsigned output contains the original plaintext wrapped between -----BEGIN PGP SIGNED MESSAGE----- and -----END PGP SIGNATURE----- markers, so it is human-readable and tamper-evident.
The input file must be text, because clearsigning is designed for ASCII or UTF-8 content. For binary data, use the PGP Sign File activity instead. To verify the output, use the PGP Verify activity with the ClearSigned File (Text) verification type.
Compatibilité du projet
Windows | Multiplate-forme
Windows, configuration multiplate-forme
- Input File Path - The path to the file that you want to clearsign. This field supports only strings and
Stringvariables. To use a project resource instead of a path, select the field's input menu and switch to the Input File input (anIResource). - Private Key File Path - The path to your PGP private key file, used to clearsign the data. This field supports only strings and
Stringvariables. To use a project resource instead of a path, select the field's input menu and switch to the Private Key File input (anIResource). - Output File Path - The full path where the clearsigned file is saved. This field supports only strings and
Stringvariables. - 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).
Options avancées
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 isFalse. - Continuer en cas d'erreur (Continue On Error) : précise si l’automatisation doit se poursuivre même si l’activité génère une erreur. Ce champ prend uniquement en charge les valeurs booléennes (
True,False). La valeur par défaut estFalse. Par conséquent, si le champ est vide et qu’une erreur est générée, l’exécution du projet s’arrête. Si le champ indique au contraireTrue, l'exécution du projet se poursuit même en cas d'erreur.Remarque :Si cette activité est incluse dans Essayer de capturer (Try Catch) et que la valeur de la propriété Poursuite sur erreur (ContinueOnError) est
True, aucune erreur n'est détectée lors de l'exécution du projet.
Sortie
- ClearSigned File - A resource handle to the clearsigned file that was written, stored in an
ILocalResourcevariable for use in other activities. The clearsigned text is also written to the Output File Path.