Versions in this module Expand all Collapse all v1 v1.1.0 May 9, 2023 Changes in this version + type Credential interface + GenerateAuthorizationHeader func(ctx context.Context, method, canonicalURL, signBody string) (string, error) + type SignatureResult struct + CertificateSerialNo string + MchID string + Signature string + type Signer interface + Algorithm func() string + Sign func(ctx context.Context, message string) (*SignatureResult, error) + type Validator interface + Validate func(ctx context.Context, response *http.Response) error + type Verifier interface + Verify func(ctx context.Context, serial, message, signature string) error