UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

开发者活动

PGP Verify

UiPath.Cryptography.Activities.PgpVerify

描述

Verifies a PGP signature, a clearsignature, or the structural validity of a public key file. The Verification Type property selects which check is performed and which inputs are required.

This activity does not throw an error on a verification mismatch. Instead, it returns False in the Result output. A False result means that verification failed because of a wrong key, a tampered payload, or a malformed file.

项目兼容性

Windows | 跨平台

Windows、跨平台配置

  • Verification Type - The check to perform. The following options are available:
    • Signed File (Binary) (default) - Verifies a binary-signed file produced by the PGP Sign File activity. Requires Signed File Path and Public Key File Path.
    • ClearSigned File (Text) - Verifies a clear-text signed file produced by the PGP ClearSign File activity. Requires Signed File Path and Public Key File Path.
    • Validate Public Key - Validates that a file is a well-formed public key. Requires Public Key File Path only; Signed File Path is ignored and its field is hidden.
  • Signed File Path - The path to the signed file to verify. Required for the Signed File (Binary) and ClearSigned File (Text) types; ignored for Validate Public Key. 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 Signed File input (an IResource).
  • Public Key File Path - The path to the signer's PGP public key file. For Validate Public Key, this is the key being validated. 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 Public Key File input (an IResource).

高级选项

选项
  • “出错时继续”- 指定在活动抛出错误时是否应继续自动化操作。该字段仅支持“布尔值”(TrueFalse)。默认值为 False。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。
    备注:

    如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为“True”,则系统在执行项目时不会捕获任何错误。

输出
  • Result - The verification outcome, stored in a Boolean variable for use in other activities. The value is True if verification succeeded, and False otherwise.
  • 描述
  • 项目兼容性
  • Windows、跨平台配置
  • 高级选项

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新