verifiers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package verifiers 微信支付 API v3 Go SDK 数字签名验证器

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(getter core.CertificateGetter) *SHA256WithRSAVerifier

NewSHA256WithRSAVerifier 使用 core.CertificateGetter 初始化 SHA256WithRSAVerifier

func (*SHA256WithRSAVerifier) Verify

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

Verify 对数字签名信息进行验证

Jump to

Keyboard shortcuts

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