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

开发者活动

PGP Generate Keys

UiPath.Cryptography.Activities.PgpGenerateKeys

描述

Generates an OpenPGP public/private RSA key pair and saves them to the specified file paths in ASCII-armored format.

项目兼容性

Windows | 跨平台

Windows、跨平台配置

  • User ID - The OpenPGP User ID for the generated key. Conventionally an RFC 2822 mailbox, for example Alice Doe <alice@example.com>. Any UTF-8 string is accepted, but the mailbox form is what most PGP tools and key servers expect. This field supports only strings and String variables.
  • Public Key Output Path - The file path where the generated PGP public key is saved. This field supports only strings and String variables.
  • Private Key Output Path - The file path where the generated PGP private key is saved. This field supports only strings and String variables.
  • Passphrase - The passphrase that protects the generated 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).

高级选项

选项
  • Key Size - The RSA key size, in bits. The following options are available: 2048-bit, 3072-bit, and 4096-bit. The default value is 4096-bit, which meets National Institute of Standards and Technology (NIST) guidance through 2030 and aligns with the strictest enterprise security recommendations. Reduce the key size only when the consuming system cannot handle 4096-bit keys.
  • Overwrite - If files already exist at the output paths, this overwrites them. This field only supports Boolean values (True, False). The default value is False.
  • “出错时继续”- 指定在活动抛出错误时是否应继续自动化操作。该字段仅支持“布尔值”(TrueFalse)。默认值为 False。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。
    备注:

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

输出
  • Public Key File - A resource handle to the generated public key file, stored in an ILocalResource variable for use in other activities. The key is also written to the Public Key Output Path.
  • Private Key File - A resource handle to the generated private key file, stored in an ILocalResource variable for use in other activities. The key is also written to the Private Key Output Path.
  • 描述
  • 项目兼容性
  • Windows、跨平台配置
  • 高级选项

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新