ecdsa

package
v0.0.0-...-4fd71c7 Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package ecdsa implements ECDSA algorithm following JSON Web Algorithms (JWA) directives.

Index

Constants

This section is empty.

Variables

View Source
var ErrVerification = errors.New("jose/jwa/ecdsa: verification error")

ErrVerification represents a failure to verify a signature. It is deliberately vague to avoid adaptive attacks.

Functions

func New256

func New256() jwa.Algorithm

New256 returns a new ES256 cryptographic algorithm.

func New384

func New384() jwa.Algorithm

New384 returns a new ES384 cryptographic algorithm.

func New512

func New512() jwa.Algorithm

New512 returns a new ES512 cryptographic algorithm.

func ParseFromPEM

func ParseFromPEM(key []byte) (interface{}, error)

ParseFromPEM decodes PEM encoded ECDSA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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