Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidKeyAlgorithm = fmt.Errorf("invalid key algorithm") ErrInvalidKeyID = fmt.Errorf("invalid key ID") )
Functions ¶
This section is empty.
Types ¶
type KMS ¶
type KMS struct {
// contains filtered or unexported fields
}
KMS is a crypto.Signer that uses an AWS KMS key for signing.
func (*KMS) Algorithm ¶
func (sv *KMS) Algorithm() jwa.KeyAlgorithm
Algorithm returns the equivalent of the KMS key's signing algorithm as a JWA key algorithm.
func (*KMS) GetPublicKey ¶
GetPublicKey is an escape hatch for those cases where the user needs to debug what went wrong during the GetPublicKey operation.
Click to show internal directories.
Click to hide internal directories.