verifiers

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SHA256WithRSAVerifier

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

SHA256WithRSAVerifier SHA256WithRSA 数字签名验证器

func NewSHA256WithRSAVerifier

func NewSHA256WithRSAVerifier(publicKey *rsa.PublicKey) *SHA256WithRSAVerifier

NewSHA256WithRSAVerifier 初始化 SHA256WithRSAVerifier

func (*SHA256WithRSAVerifier) Verify

func (verifier *SHA256WithRSAVerifier) Verify(ctx context.Context, message, signature string) error

Jump to

Keyboard shortcuts

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