CodeSigning.sign

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

sign(module_or_path, secret_key)

View Source

Specs

sign(beam(), Ed25519.key()) :: binary()

Signs the the given BEAM binary or path to .beam file using the Ed25519 secret_key.

Returns the modified binary that can be written to a file.

When given a BEAM binary, it will sign the binary.

When given a path to a .beam file, it will sign the binary without modifying the original file.