Versions in this module Expand all Collapse all v4 v4.1.0 Jan 31, 2024 Changes in this version + var ErrInvalidAlgorithm = errors.New("invalid decryption algorithm") + var ErrInvalidEventResponse = errors.New("invalid event response") + var ErrInvalidHeader = errors.New("invalid sealed data header") + var ErrInvalidKeys = errors.New("invalid decryption keys") + func Unseal(sealed []byte, keys []DecryptionKey) ([]byte, error) + func UnsealEventsResponse(sealed []byte, keys []DecryptionKey) (*sdk.EventResponse, error) + type AggregatedUnsealError struct + UnsealErrors []UnsealError + func NewAggregatedUnsealError() *AggregatedUnsealError + func (e *AggregatedUnsealError) Add(error UnsealError) + func (e *AggregatedUnsealError) Error() string + type Algorithm string + const AlgorithmAES256GCM + type DecryptionKey struct + Algorithm Algorithm + Key []byte + type UnsealError struct + Error error + Key DecryptionKey + func NewUnsealError(err error, key DecryptionKey) UnsealError Other modules containing this package github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v5