Versions in this module Expand all Collapse all v0 v0.2.1 Apr 12, 2021 Changes in this version + const ReferenceScheme + var ErrKMSReference = errors.New(...) + func ValidReference(ref string) error + type KMS struct + func NewGCP(ctx context.Context, keyResourceID string) (*KMS, error) + func (g *KMS) CreateKey(ctx context.Context) (*ecdsa.PublicKey, error) + func (g *KMS) ECDSAPublicKey(ctx context.Context) (*ecdsa.PublicKey, error) + func (g *KMS) PublicKey(ctx context.Context) (crypto.PublicKey, error) + func (g *KMS) Sign(ctx context.Context, payload []byte) (signature []byte, err error) + func (g *KMS) Verify(ctx context.Context, payload, signature []byte) error