nac

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cert []byte) (validationCtx unsafe.Pointer, request []byte, err error)

func KeyEstablishment

func KeyEstablishment(validationCtx unsafe.Pointer, response []byte) (err error)

func Load

func Load() error

func MeowMemory

func MeowMemory() func()

func SanityCheck

func SanityCheck() error

func Sign

func Sign(validationCtx unsafe.Pointer) (validationData []byte, err error)

Types

type NoOffsetsError

type NoOffsetsError struct {
	Hash    string `json:"hash"`
	Version string `json:"version"`
	BuildID string `json:"build_id"`
	Arch    string `json:"arch"`
}

func (NoOffsetsError) Error

func (err NoOffsetsError) Error() string

Jump to

Keyboard shortcuts

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