rsa

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RSAAlgorithm

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

func (*RSAAlgorithm) Generate

func (a *RSAAlgorithm) Generate() (algo.DerKeys, error)

func (*RSAAlgorithm) Name

func (a *RSAAlgorithm) Name() string

func (*RSAAlgorithm) Sign

func (a *RSAAlgorithm) Sign(privateKey []byte, data []byte) ([]byte, error)

func (*RSAAlgorithm) ValidateSignature

func (a *RSAAlgorithm) ValidateSignature(publicKey []byte, signature []byte, data []byte) error

Jump to

Keyboard shortcuts

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