ecdsa

package
v0.0.0-...-10e2fbd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "ECDSA"

Variables

This section is empty.

Functions

func NewECDSAKeyPair

func NewECDSAKeyPair(curve elliptic.Curve) (keys.KeyPair, error)

func NewECDSAKeyPairFactory

func NewECDSAKeyPairFactory(curve elliptic.Curve) keys.KeyPairFactory

func StandardKeys

func StandardKeys() []keys.KeyPairFactory

Types

type ECDSAKeyPair

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

func (*ECDSAKeyPair) Private

func (keypair *ECDSAKeyPair) Private() crypto.PrivateKey

func (*ECDSAKeyPair) Public

func (keypair *ECDSAKeyPair) Public() crypto.PublicKey

type ECDSAKeyPairFactory

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

func (*ECDSAKeyPairFactory) Name

func (factory *ECDSAKeyPairFactory) Name() string

func (*ECDSAKeyPairFactory) New

func (factory *ECDSAKeyPairFactory) New() (keys.KeyPair, error)

Jump to

Keyboard shortcuts

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