crypto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

It converts a `WebauthnCredential` to a `webauthn.Credential`

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DidDocument

type DidDocument = types.DidDocument

DidDocument is a type alias for types.DidDocument in x/identity/types.

type Network

type Network interface {
	// Ls returns a list of peers that are connected to the network.
	Ls() []party.ID

	// A function that takes in a party ID and returns a channel of protocol messages.
	Next(id party.ID) <-chan *protocol.Message

	// Sending a message to the network.
	Send(msg *protocol.Message)

	// A channel that is closed when the party is done with the protocol.
	Done(id party.ID) chan struct{}

	// A function that is called when a party is done with the protocol.
	Quit(id party.ID)

	// IsOnlineNetwork returns true if the network is an online network.
	IsOnlineNetwork() bool
}

A Network is a channel that sends messages to parties and receives messages from parties.

type PubKey

type PubKey = types.PubKey

PubKey is a type alias for types.PubKey in x/identity/types.

type Service

type Service = types.Service

Service is a type alias for types.Service in x/identity/types.

type VerificationMethod

type VerificationMethod = types.VerificationMethod

VerificationMethod is a type alias for types.VerificationMethod in x/identity/types.

type VerificationRelationship

type VerificationRelationship = types.VerificationRelationship

VerificationRelationship is a type alias for types.VerificationRelationship in x/identity/types.

Jump to

Keyboard shortcuts

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