mobile2DDoc

package module
v0.0.0-...-cb920f1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 4 Imported by: 0

README

go2ddoc

ANTS 2D-Doc decoder/verifier

Take scanned 2D-Doc barcode payload as String, decode data and verify it's signature

Intended to be embedded in mobile applications using gomobile Ios/Android bindings (experimental).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataIdentifierFromId

func DataIdentifierFromId(id string) (data_identifier *spec.DataIdentifier, err error)

func DocumentTypeFromId

func DocumentTypeFromId(id string) (document_type *spec.DocumentType, err error)

Types

type BindBarcode2DDoc

type BindBarcode2DDoc struct {
	Header    *model.Header
	Message   *model.Message
	Signature *model.Signature
}

func DecodeMobile

func DecodeMobile(payload string) (barcode *BindBarcode2DDoc, err error)

Jump to

Keyboard shortcuts

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