Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KMS ¶
type KMS interface { // CreateKey is responsible for creating an asymmetric key pair // with the ECDSA algorithm on the P-256 Curve with a SHA-256 digest CreateKey(context.Context) (*ecdsa.PublicKey, error) // Sign is responsible for signing an image via the keys // stored in KMS Sign(ctx context.Context, payload []byte) (signature []byte, err error) // PublicKey returns the public key stored in the KMS PublicKey(ctx context.Context) (*ecdsa.PublicKey, error) }
Click to show internal directories.
Click to hide internal directories.