rsa

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RS256

type RS256 struct{}

func (*RS256) GenerateKeyPair

func (p *RS256) GenerateKeyPair() (*keypair.KeyPair, error)

func (*RS256) GenerateSecret

func (p *RS256) GenerateSecret() ([]byte, error)

type RS384

type RS384 struct{}

func (*RS384) GenerateKeyPair

func (p *RS384) GenerateKeyPair() (*keypair.KeyPair, error)

func (*RS384) GenerateSecret

func (p *RS384) GenerateSecret() ([]byte, error)

type RS512

type RS512 struct{}

func (*RS512) GenerateKeyPair

func (p *RS512) GenerateKeyPair() (*keypair.KeyPair, error)

func (*RS512) GenerateSecret

func (p *RS512) GenerateSecret() ([]byte, error)

Jump to

Keyboard shortcuts

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