# Functions
No description provided by the author
No description provided by the author
GetRSAPrivateKey reads RSA private key from the reader.
GetRSAPrivateKeyFromFile reads RSA private key from file.
GetRSAPrivateKeyFromString reads RSA private key from string.
HMACSHA256 signs message with HMAC SHA256 using key.
NewHMACSHA256Signer returns Signer instance which signs msg using HMACSHA256S and key.
NewSHA256WithRSASigner returns Signer instance which signs msg using SHA256WithRSA and private key.
SHA256WithRSA signs SHA256 hash of the message with RSA privateKey.
# Interfaces
Signer is an interface that can be used to sign messages.
# Type aliases
SignFunc is a wrapper of sign functions to implement Signer interface.