didkey

package
v1.0.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: Apache-2.0, MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(identifier string) (did.DID, error)

func FromPrivateKey

func FromPrivateKey(priv crypto.PrivateKey) did.DID

func FromPublicKey

func FromPublicKey(pub crypto.PublicKey) did.DID

Types

type DidKey

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

func (DidKey) Document

func (d DidKey) Document(opts ...did.ResolutionOption) (did.Document, error)

func (DidKey) Equal

func (d DidKey) Equal(d2 did.DID) bool

func (DidKey) Method

func (d DidKey) Method() string

func (DidKey) ResolutionIsExpensive

func (d DidKey) ResolutionIsExpensive() bool

func (DidKey) String

func (d DidKey) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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