Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HmacSha256 ¶
Types ¶
type AccessKeySigner ¶
type AccessKeySigner struct {
// contains filtered or unexported fields
}
func NewAccessKeySigner ¶
func NewAccessKeySigner(credential *credentials.AccessKeyCredential) *AccessKeySigner
func (*AccessKeySigner) GetAccessKeyId ¶
func (signer *AccessKeySigner) GetAccessKeyId() (accessKeyId string, err error)
func (*AccessKeySigner) GetName ¶
func (signer *AccessKeySigner) GetName() string
func (*AccessKeySigner) GetSecretKey ¶
func (signer *AccessKeySigner) GetSecretKey() (secretKey string, err error)
func (*AccessKeySigner) Sign ¶
func (signer *AccessKeySigner) Sign(stringToSign, secretSuffix string) string
Click to show internal directories.
Click to hide internal directories.