EncryptContentPGP
Description
Encrypt contents using OpenPGP. The processor reads input and detects OpenPGP messages to avoid unnecessary additional wrapping in Literal Data packets.
Tags
Encryption, GPG, OpenPGP, PGP, RFC 4880
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 Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Symmetric-Key Algorithm * | symmetric-key-algorithm | AES_256 |
| Symmetric-Key Algorithm for encryption |
File Encoding * | file-encoding | BINARY |
| File Encoding for encryption |
Passphrase | passphrase | Passphrase used for encrypting data with Password-Based Encryption | ||
Public Key Service | public-key-service | Controller Service: PGPPublicKeyService Implementations: StandardPGPPublicKeyService | PGP Public Key Service for encrypting data with Public Key Encryption | |
Public Key Search | public-key-search | PGP Public Key Search will be used to match against the User ID or Key ID when formatted as uppercase hexadecimal string of 16 characters Supports Expression Language, using FlowFile attributes and Environment variables. This property is only considered if:
|
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
failure | Encryption Failed |
success | Encryption Succeeded |
Reads Attributes
This processor does not read attributes.
Writes Attributes
Name | Description |
---|---|
pgp.compression.algorithm | Compression Algorithm |
pgp.compression.algorithm.id | Compression Algorithm Identifier |
pgp.file.encoding | File Encoding |
pgp.symmetric.key.algorithm | Symmetric-Key Algorithm |
pgp.symmetric.key.algorithm.block.cipher | Symmetric-Key Algorithm Block Cipher |
pgp.symmetric.key.algorithm.id | Symmetric-Key Algorithm Identifier |
pgp.symmetric.key.algorithm.key.size | Symmetric-Key Algorithm Key Size |
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.