Saltpack.open_message

You're seeing just the function open_message, go back to Saltpack module for more information.
Link to this function

open_message(message, key \\ nil, plaintext \\ nil)

View Source

Specs

open_message(binary(), key(), binary()) :: binary()

open a saltpack message

This may fail in spectacular ways with messages which are not properly formatted for the supplied key.

Opening a detached signature with plaintext will return the signing public key. All other forms return the decoded contents upon validation.