rsa

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 RSA

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

func NewRS256

func NewRS256() RSA

func NewRS384

func NewRS384() RSA

func NewRS512

func NewRS512() RSA

func (RSA) Available

func (e RSA) Available() bool

func (RSA) NewSigner

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

func (RSA) NewVerifier

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

Jump to

Keyboard shortcuts

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