credential

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorCredentialHandler

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

AnchorCredentialHandler handles a new, published anchor credential.

func New

func New(anchorPublisher anchorPublisher, casResolver casResolver,
	documentLoader ld.DocumentLoader, monitoringSvc monitoringSvc, maxDelay time.Duration) *AnchorCredentialHandler

New creates new credential handler.

func (*AnchorCredentialHandler) HandleAnchorCredential

func (h *AnchorCredentialHandler) HandleAnchorCredential(actor, id *url.URL, hl string, anchorCred []byte) error

HandleAnchorCredential handles anchor credential.

Jump to

Keyboard shortcuts

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