SMIME Encoder

In this article

Overview

You can use this Snap to encrypt and sign S/MIME (Secure/Multipurpose Internet Mail Extensions) messages. It enables public encryption and signing of MIME data to verify a sender's identity. The SMIME Encoder Snap allows you to send encrypted email messages.

Snap Type

The SMIME Snap is a Transform-type Snap that transforms SMIME messages.

Prerequisites

None.

Limitations and Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 1

  • Max: 1

  • AS2 Sender

  • AS2 Receiver

This Snap has, at most, one document input view. Each document contains data in the form of JSON.

Output

Document

  • Min: 1

  • Max: 1

  • File Writer

This Snap has, at most, one document output view. Each document contains a corresponding response in the form of JSON.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop pipeline Execution: Stops the current pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a dynamically populated list based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or static (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

 

Field Type

Description

Field Name

 

Field Type

Description

Label*

 

Default Value: SMIME
Example: ELT RS Account

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

 

Sign

Default Value: Deselected

Checkbox

Select this checkbox to enable the digital signing of the data

Signer Algorithm

Default Value: sha1
Example: AES_256

String/Expression/Suggestion

A signer algorithm is the cryptographic algorithm used in digital signatures to generate and verify the integrity and authenticity of electronic documents or messages.

Encrypt

Checkbox

Select this checkbox to enable the encryption of the data.

Encrypt Algorithm*

Default Value: 3des
Example: AES_256

String/Expression/Suggestion

Specify the algorithm to encrypt the data.

Certificate

 

 

 

 

Default Value: N/A
Example: $853764$Certificate of Insurance - 6.cert

String/Expression

Specify the relative path of the X.509 certificate in the SLDB. You can upload the certificate to the SLDB by clicking . An X.509 certificate is a standard format for public key certificates that securely associates cryptographic key pairs with identities such as websites, individuals, or organizations.

The X.509 certificate should be in any one of the following formats:

  • cert: The certificate file is a public-key certificate following the x. 509 standard.

  • pem: pem file is a container format that may include the public certificate or the entire certificate chain (private key, public key, root certificates):

  • crt: The certificates may be encoded as binary DER or ASCII PEM.

Content Transfer Encoding

 

Default Value: base64
Example: AES_256

String/Expression/Suggestion

Select the Content Transfer Encoding from the suggestions list. Content Transfer Encoding is a mechanism used in email communication and other protocols to encode the content of a message for transmission.

Headers

Checkbox

Select this checkbox if you want the Snap to write SMIME-generated headers to the output.

Snap Execution

Default Value: 
Example: Validate & Execute

Dropdown

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, it performs full execution of the Snap (unlimited records) during pipeline runtime.

  • Execute only: Performs complete execution of the Snap during pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

 

Snap Pack History


Related Content

Â