eckey

package
v0.0.0-...-989978f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT, NIST-PD-fallback Imports: 7 Imported by: 0

Documentation

Overview

Package eckey implements SigSha256WithEcdsa signature type.

Index

Constants

This section is empty.

Variables

View Source
var ErrVerification = errors.New("ECDSA verification error")

ErrVerification represents a failure to verify a signature.

Functions

func NewPrivateKey

func NewPrivateKey(name ndn.Name, key *ecdsa.PrivateKey) (keychain.PrivateKeyKeyLocatorChanger, error)

NewPrivateKey creates a private key for SigSha256WithEcdsa signature type.

func NewPublicKey

func NewPublicKey(name ndn.Name, key *ecdsa.PublicKey) (keychain.PublicKey, error)

NewPublicKey creates a public key for SigSha256WithEcdsa signature type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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