verification

package
v0.0.0-...-075157f Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package verification provides verification utilities.

This is provided as reference to application authors wishing to calculate the exposure key HMAC as part of their exposure notifications mobile app.

This protocol is detailed at https://developers.google.com/android/exposure-notifications/verification-system

Although exported, this package is non intended for general consumption. It is a shared dependency between multiple exposure notifications projects. We cannot guarantee that there won't be breaking changes in the future.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateExposureKeyHMAC

func CalculateExposureKeyHMAC(keys []verifyapi.ExposureKey, secret []byte) ([]byte, error)

CalculateExposureKeyHMAC will calculate the verification protocol HMAC value. Input keys are already to be base64 encoded. They will be sorted if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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