signers

package
v0.0.0-...-3235d85 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HmacSha256

func HmacSha256(data string, key []byte) []byte

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

Jump to

Keyboard shortcuts

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