mocku2f

package
v4.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

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

func Create

func Create() (*Key, error)

func CreateWithKeyHandle

func CreateWithKeyHandle(keyHandle []byte) (*Key, error)

func (*Key) RegisterResponse

func (muk *Key) RegisterResponse(req *u2f.RegisterRequest) (*u2f.RegisterResponse, error)

func (*Key) SetCounter

func (muk *Key) SetCounter(counter uint32)

func (*Key) SignResponse

func (muk *Key) SignResponse(req *u2f.SignRequest) (*u2f.SignResponse, error)

Jump to

Keyboard shortcuts

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