func (m *MockKeystore) CreateKey(kt kms.KeyType) (string, error) {
	if m.CreateKeyErr != nil {
		return "", m.CreateKeyErr
	}

	return m.CreateKeyValue, nil
}
// CreateKey creates a new key.
CreateKey creates a new key.
// CreateKey creates a new key .
func (m *MockKeystore) CreateKey(kt kms.KeyType) (string, error) {
	if m.CreateKeyErr != nil {
		return "", m.CreateKeyErr
	}
	return m.CreateKeyValue, nil
}
func ( m * MockKeystore ) CreateKey ( kt kms . KeyType ) ( string , error ) { if m . CreateKeyErr != nil { return " " , m . CreateKeyErr } return m . CreateKeyValue , nil }
CreateKey creates a new key.
CreateKey creates a new key .