SignContentPGP

Description:

Sign content using OpenPGP Private Keys

Tags:

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

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Compression Algorithmcompression-algorithmZIP
  • UNCOMPRESSED
  • ZIP
  • ZLIB
  • BZIP2
Compression Algorithm for signing
File Encodingfile-encodingBINARY
  • ASCII
  • BINARY
File Encoding for signing
Hash Algorithmhash-algorithmSHA512
  • SHA256
  • SHA384
  • SHA512
Hash Algorithm for signing
Signing Strategysigning-strategySIGNED
  • SIGNED Produce signed content packaged as an OpenPGP message
  • DETACHED Produce detached signature based on associated content packaged according to OpenPGP encoding
Strategy for writing files to success after signing
Private Key Serviceprivate-key-serviceController Service API:
PGPPrivateKeyService
Implementation: StandardPGPPrivateKeyService
PGP Private Key Service for generating content signatures
Private Key IDprivate-key-idPGP Private Key Identifier formatted as uppercase hexadecimal string of 16 characters used for signing
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successContent signing succeeded
failureContent signing failed

Reads Attributes:

None specified.

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:

None specified.

See Also:

DecryptContentPGP, EncryptContentPGP, VerifyContentPGP