Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KMSContext *kmsContext
KMSContext is a kms context
Functions ¶
func CreateKMSKeyWithContext ¶
func CreateKMSKeyWithContext(context *kmsContext, extParams map[string]string) ([]byte, crypto.PrivateKey, error)
CreateKMSKeyWithContext - create kms private key with Context
func InitKMS ¶
func InitKMS(config KMSConfig) *kmsContext
InitKMS is used to init kms context, run only once nolint
func ParseKMSPrivKey ¶
func ParseKMSPrivKey(keySpecJson []byte) (crypto.PrivateKey, error)
ParseKMSPrivKey parse a kms private key
Types ¶
Click to show internal directories.
Click to hide internal directories.