Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SHA256WithRSASigner ¶
type SHA256WithRSASigner struct { AppCode string // 应用编号 PrivateKey *rsa.PrivateKey // 应用私钥 }
func (*SHA256WithRSASigner) Algorithm ¶
func (s *SHA256WithRSASigner) Algorithm() string
func (*SHA256WithRSASigner) Sign ¶
func (s *SHA256WithRSASigner) Sign(_ context.Context, message string) (*auth.SignatureResult, error)
Click to show internal directories.
Click to hide internal directories.