Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(s *Signer)
Option represents a configuration option for the signer.
func WithGetPublicKeyTimeout ¶
WithGetPublicKeyTimeout sets the timeout for the GetPublicKey operation (aws kms api call).
func WithSignTimeout ¶
WithSignTimeout sets the timeout for the Sign operation (aws kms api call).
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer can sign arbitrary bytes.
func NewSigner ¶
func NewSigner( cfg aws.Config, kmsKeyId string, signingAlgo types.SigningAlgorithmSpec, opts ...Option, ) (*Signer, error)
NewSigner returns a new signer
Click to show internal directories.
Click to hide internal directories.