ecdsa

package
v0.0.0-...-c1ce609 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrECDSAVerification = errors.New("crypto/ecdsa: verification error")

ErrECDSAVerification is returned when the verification failed

View Source
var ErrMalformedSignature = errors.New("jwt: malformed signature")

ErrMalformedSignature is returned when the signature length is wrong

Functions

This section is empty.

Types

type ESDSA

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

func NewES256

func NewES256() ESDSA

func NewES384

func NewES384() ESDSA

func NewES512

func NewES512() ESDSA

func (ESDSA) Available

func (e ESDSA) Available() bool

func (ESDSA) NewSigner

func (e ESDSA) NewSigner(key crypto.PrivateKey) jwa.Signer

func (ESDSA) NewVerifier

func (e ESDSA) NewVerifier(key crypto.PublicKey) jwa.Verifier

Jump to

Keyboard shortcuts

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