Documentation ¶ Index ¶ type HsmClient func NewHSMClient(ctx context.Context, keyPath string, keyName string) (*HsmClient, error) func (hsm *HsmClient) CreateKeyPair(projectID, locationID, keyRingID, keyID, method string) (string, error) func (hsm *HsmClient) SignTransaction(hash string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HsmClient ¶ type HsmClient struct { Ctx context.Context KeyName string Gclient *kms.KeyManagementClient } func NewHSMClient ¶ func NewHSMClient(ctx context.Context, keyPath string, keyName string) (*HsmClient, error) func (*HsmClient) CreateKeyPair ¶ func (hsm *HsmClient) CreateKeyPair(projectID, locationID, keyRingID, keyID, method string) (string, error) func (*HsmClient) SignTransaction ¶ func (hsm *HsmClient) SignTransaction(hash string) (string, error) Source Files ¶ View all Source files hsm.go Click to show internal directories. Click to hide internal directories.