Decrypt

Operation name

Decrypt

Function overview

Decrypts the encrypted file and outputs it to the specified directory.

Data model

The data model of this component is XML type.

Properties

= Remarks =

For details on use of variables, refer to Variables.

Basic settings

Item name

Required/Optional

Use of variables

Description

Remarks

Name

Required

Not available

Enter a name that is used on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Source directory

Required

Available

Enter a directory path of HULFT Square Storage to specify the location of the file to decrypt.

The Browse button launches a directory chooser that allows you to select a directory.

Note

Input file name

Required

Available

Specify the name of the file to decrypt.

Wildcards ("*" and "?") can be used.

Destination directory

Required

Available

Enter a directory path of HULFT Square Storage to specify the location of the decrypted file.

The Browse button launches a directory chooser that allows you to select a directory.

Note

Private key

Required

Available

Enter a directory path of HULFT Square Storage to specify the location of the private key used for decryption.

The Browse button launches a file chooser that allows you to select a file.

Note
  • Specify an absolute path of HULFT Square Storage for the directory path.

  • With the exception of the path separator "/", the Restricted characters of HULFT Square Storage can't be used.

  • The keys that can be used are private keys only.

Passphrase

Optional

Available

You can set a passphrase for the private key with GnuPG. If you set a passphrase, you will be prompted to enter the passphrase every time the private key is used.

 

Output settings

Item name

Required/Optional

Use of variables

Description

Remarks

Overwrite the output file when it exists

Optional

Not available

Select whether to overwrite when a file with the same name exists in the specified directory.

Selected

Overwrite when a file with the same name exists in the specified directory.

Not selected

(Default)

Output an error without overwriting if a file with the same name exists in the specified local directory.

 

Stop on error

Optional

Not available

When you are processing multiple files at the same time, select whether to continue processing the remaining files if an error occurs while some files are being processed.

Selected

(Default)

Stops all processing if an error occurs.

Not selected

Continues processing even if an error occurs.

 

Decryption settings

Item name

Required/Optional

Use of variables

Description

Remarks

Check integrity

Optional

Not available

Select whether to verify the data consistency.

If the consistency of the encrypted files isn't protected, the encrypted files are verified to ensure the contents haven't been tampered with.

Selected

(Default)

Verifies the data consistency.

Not selected

Doesn't verify the data consistency.

 

Verify signature

Optional

Not available

Select whether to perform signature verification.

Selected

Performs signature verification.

Not selected

(Default)

Doesn't perform signature verification.

Signature verification is a means of verifying the other's identity with the public key of the transfer source.

For details, refer to the GnuPG site (https://gnupg.org/) or the GnuPG manual (https://gnupg.org/documentation/manuals/gnupg/).

Signature verification key

Optional

Available

Enter a directory path of HULFT Square Storage to specify the location of the private key used for signature verification.

The Browse button launches a file chooser that allows you to select a file.

Note

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

Input schema

None.

Output schema

<pgp>
    <decryption>
        <sourceDir>Source directory</sourceDir>
        <inFile>Input file name</inFile>
        <targetDir>Destination directory</targetDir>
        <pathnames>
            <pathname>
                <input>File to decrypt</input>
                <output>Decrypted file</output>
            </pathname>
            <pathname>
              : 
            </pathname>
        </pathnames>
    </decryption>
</pgp>

Element name

Description

Remarks

sourceDir

The source directory is output.

 

inFile

The value that has been set for Input file name is output.

 

targetDir

The value that has been set for Destination directory is output.

 

pathnames

 

 

pathname

Repeats for the number of decrypted files.

 

input

The name of the input file is output.

 

output

The name of the output file is output.

 

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

For details, refer to Edit Schema.

Mass data processing

Mass data processing isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

sourceDir

The input source directory is stored.

Enter a "/" at the end of the variable.

inFile

The input file name is stored.

 

targetDir

The output destination directory is stored.

Enter a "/" at the end of the variable.

succeeded_count

The number of input items that were processed successfully is stored.

  • The default value is 0.

failed_count

The number of input items that failed in the processing is stored.

  • The default value is 0.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the PGP connector

check

check

check