verifier

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PresentProofClient

type PresentProofClient interface {
	SendRequestPresentation(msg *ppclient.RequestPresentation, myDID, theirDID string) (string, error)
}

type ProofHandler

type ProofHandler struct {
	// contains filtered or unexported fields
}

func NewProofHandler

func NewProofHandler(store datastore.Store, reg engine.PresentationRegistry) *ProofHandler

func (*ProofHandler) PresentationMsg

func (r *ProofHandler) PresentationMsg(e service.DIDCommAction, d *ppprotocol.Presentation)

func (*ProofHandler) PresentationPreviewMsg

func (r *ProofHandler) PresentationPreviewMsg(e service.DIDCommAction, _ *ppprotocol.Presentation)

func (*ProofHandler) ProposePresentationMsg

func (r *ProofHandler) ProposePresentationMsg(e service.DIDCommAction, _ *ppprotocol.ProposePresentation)

func (*ProofHandler) RequestPresentationMsg

func (r *ProofHandler) RequestPresentationMsg(e service.DIDCommAction, _ *ppprotocol.RequestPresentation)

type Provider

type Provider interface {
	Store() datastore.Store
	GetPresentationEngineRegistry() (engine.PresentationRegistry, error)
	GetPresentProofClient() (PresentProofClient, error)
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(ctx Provider) (*Server, error)

func (*Server) APISpec

func (r *Server) APISpec() (http.HandlerFunc, error)

func (*Server) RegisterGRPCGateway

func (r *Server) RegisterGRPCGateway(_ *runtime.ServeMux, _ string, _ ...grpc.DialOption)

func (*Server) RegisterGRPCHandler

func (r *Server) RegisterGRPCHandler(server *grpc.Server)

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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