Skip to main content

SignContentPGP

Description

Sign content using OpenPGP Private Keys

Tags

Encryption, GPG, OpenPGP, PGP, RFC 4880, Signing

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
File Encoding *file-encodingBINARY
  • ASCII
  • BINARY
File Encoding for signing
Hash Algorithm *hash-algorithmSHA512
  • SHA256
  • SHA384
  • SHA512
Hash Algorithm for signing
Signing Strategy *signing-strategySIGNED
  • SIGNED
  • DETACHED
Strategy for writing files to success after signing
Private Key Service *private-key-serviceController Service:
PGPPrivateKeyService

Implementations:
StandardPGPPrivateKeyService
PGP Private Key Service for generating content signatures
Private Key ID *private-key-idPGP Private Key Identifier formatted as uppercase hexadecimal string of 16 characters used for signing

Supports Expression Language, using FlowFile attributes and Environment variables.

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
failureContent signing failed
successContent signing succeeded

Reads Attributes

This processor does not read attributes.

Writes Attributes

NameDescription
pgp.compression.algorithmCompression Algorithm
pgp.compression.algorithm.idCompression Algorithm Identifier
pgp.file.encodingFile Encoding
pgp.signature.algorithmSignature Algorithm including key and hash algorithm names
pgp.signature.hash.algorithm.idSignature Hash Algorithm Identifier
pgp.signature.key.algorithm.idSignature Key Algorithm Identifier
pgp.signature.key.idSignature Public Key Identifier
pgp.signature.type.idSignature Type Identifier
pgp.signature.versionSignature Version Number

State Management

This component does not store state.

Restricted

This component is not restricted.

Input Requirement

This component requires an incoming relationship.

System Resource Considerations

This component does not specify system resource considerations.

See Also

DecryptContentPGP, EncryptContentPGP, VerifyContentPGP