knox

package module
v0.1.0 Latest Latest
Warning

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

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

README

knox-go

Go library for the Knox API

Documentation

Index

Constants

This section is empty.

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 credential_adapter.VerifiableCredential) 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