signature

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSNAPAsymmetricSignature

func GenerateSNAPAsymmetricSignature(clientSecret string, timestamp time.Time, privateKey *rsa.PrivateKey) (string, error)

GenerateSNAPAsymmetricSignature generates a signature for the given client secret and timestamp using the private key

func GenerateSNAPSymmetricSignature

func GenerateSNAPSymmetricSignature(httpMethod, endpointUrl, accessToken string, timestamp time.Time, body []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL