knox

package module
v0.1.2 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: 9 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 GenerateIdentityParams added in v0.1.2

type GenerateIdentityParams struct {
}

type KnoxClient

type KnoxClient interface {
	RequestCredential(RequestCredentialParams) (credential_adapter.VerifiableCredential, error)
	SharePresentation(SharePresentationParams) error
	RequestPresentation(RequestPresentationParams) error
	RegisterIdentity(RegisterIdentityParams) error
	GenerateIdentity(GenerateIdentityParams) error
}

func NewKnoxClient

func NewKnoxClient(s signer.DynamicSigner) (KnoxClient, error)

type RegisterIdentityParams added in v0.1.2

type RegisterIdentityParams struct {
}

type RequestCredentialParams added in v0.1.2

type RequestCredentialParams struct {
	CredentialType string
}

type RequestPresentationParams added in v0.1.2

type RequestPresentationParams struct {
}

type SharePresentationParams added in v0.1.2

type SharePresentationParams struct {
	Credentials []model.SerializedDocument
}

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.
mock
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