sidetree

package
v0.0.0-...-64dd8ac Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDID

func CreateDID(params *CreateDIDParams) (*diddoc.Doc, error)

CreateDID in sidetree.

Types

type CreateDIDParams

type CreateDIDParams struct {
	URL             string
	KeyID           string
	JWK             *jwk.JWK
	UpdateJWK       *jwk.JWK
	RecoveryJWK     *jwk.JWK
	EncryptionKey   []byte
	KeyType         string
	EncKeyType      kms.KeyType
	ServiceEndpoint model.Endpoint
	ServiceType     string
}

CreateDIDParams defines parameters for CreateDID().

Jump to

Keyboard shortcuts

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