p256

package
v0.0.0-...-9be813a Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePEMs

func GeneratePEMs() ([]byte, []byte, error)

GeneratePEMs generates a PEM-formatted pair of P256 public and private keys.

func NewSigner

func NewSigner(pk crypto.Signer) (signatures.Signer, error)

NewSigner creates a signer object from a private key.

func NewVerifier

func NewVerifier(pk *ecdsa.PublicKey) (signatures.Verifier, error)

NewVerifier creates a verifier from a ECDSA public key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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