knox

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

knox-go

Go library for the Knox API

Documentation

Index

Constants

View Source
const NormalizationAlgo = "URDNA2015"
View Source
const NormalizationFormat = "application/n-quads"
View Source
const ProofType = "Ed25519Signature2020"

Variables

This section is empty.

Functions

This section is empty.

Types

type KnoxClient

type KnoxClient interface {
	RequestCredential(cred_type string) (credential_adapter.VerifiableCredential, error)
	PresentCredential(cred ...model.SerializedDocument) error
}

func NewKnoxClient

func NewKnoxClient(wallet Wallet) (KnoxClient, error)

type Wallet

type Wallet interface {
	Sign(message []byte) ([]byte, error)
	GetDid() string
}

Directories

Path Synopsis
grpc_mock
Package grpc_mock is a generated GoMock package.
Package grpc_mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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