SMIME Decoder

In this article

Overview

You can use this Snap to decode and interpret S/MIME (Secure/Multipurpose Internet Mail Extensions) encrypted or signed messages. S/MIME is a widely used protocol for securing email communications by providing encryption and digital signature capabilities.

 

Snap Type

The SMIME Decoder Snap is a Transform-type Snap that transforms the S/MIME encrypted or signed 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: 0

  • Max: 1

  • File Poller

  • S3 File Writer

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

  • ZipFile Write

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 field set.

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

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

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default ValueSMIME Decoder
ExampleSMIME Decoder_docs

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.

 

Decrypt

Default Valuedeselected

Checkbox

Select this checkbox to enable the decryption of the data.

Verify

Default Valuedeselected

Checkbox

Select this checkbox to verify the digital signing of 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

Please select 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.

Message/Payload*

Default Value: N/A
Example<h1>Welcome to the channel</h1>

String/Expression

Specify the message or data, or Payload to decrypt and verify.

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 complete execution of the Snap (unlimited records) during pipeline runtime.

  • Execute only: Performs full 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