Documentation ¶
Overview ¶
Package gcpsigner utilizes the Key Management Service (KMS) from the Google Cloud Platform (GCP). this package is loosely based on https://pkg.go.dev/github.com/pascaldekloe/etherkeyms
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyClient ¶
type KeyClient interface { // GetPublicKey gets the public key for the given key name. GetPublicKey(context.Context, *kmspb.GetPublicKeyRequest, ...gax.CallOption) (*kmspb.PublicKey, error) // AsymmetricSign signs the given data using the given key name. AsymmetricSign(context.Context, *kmspb.AsymmetricSignRequest, ...gax.CallOption) (*kmspb.AsymmetricSignResponse, error) }
KeyClient defines the interface for a GCP Key Management Service client.
Click to show internal directories.
Click to hide internal directories.