peerdid

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

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

Creator implements the Out-Of-Band V2 protocol.

func New

func New(p Provider) *Creator

New creates a new instance of the out-of-band service.

func (*Creator) CreatePeerDIDV2

func (s *Creator) CreatePeerDIDV2() (*did.Doc, error)

CreatePeerDIDV2 create a peer DID suitable for use in DIDComm V2.

type Provider

type Provider interface {
	VDRegistry() vdrapi.Registry
	KMS() kms.KeyManager
	KeyType() kms.KeyType
	KeyAgreementType() kms.KeyType
}

Provider provides this service's dependencies.

Jump to

Keyboard shortcuts

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