signer

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicSigner

type DynamicSigner interface {
	Sign(rel VerificationRelation, message []byte) (*SigningResponse, error)
	GetDid() string
}

type SigningResponse added in v0.1.9

type SigningResponse struct {
	ProofValue         []byte
	VerificationMethod string
	ProofType          string
}

type VerificationRelation added in v0.1.3

type VerificationRelation uint8
const (
	NotSupported VerificationRelation = iota
	Master
	Authentication
	CapabilityInvocation
	CapabilityDelegation
	AssertionMethod
)

func (VerificationRelation) String added in v0.1.4

func (vr VerificationRelation) String() string

Directories

Path Synopsis
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