Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MasterKeyGet ¶
func MasterKeyGet(req *MasterKeyGetRequest) (keyStore *crypto.KeyStore, err error)
获取数据解密的密钥
Types ¶
type MasterKeyGetRequest ¶
type MasterKeyGetResponse ¶
type MasterKeyGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Response *MasterKeyResponse `json:"jingdong_jos_master_key_get_responce,omitempty" codec:"jingdong_jos_master_key_get_responce,omitempty"` }
type MasterKeyResponse ¶
type MasterKeyResponse struct {
Result *MasterKeyResult `json:"response,omitempty" codec:"response,omitempty"`
}
type MasterKeyResult ¶
type MasterKeyResult struct { Code int `json:"status_code,omitempty" codec:"status_code,omitempty"` ErrorDesc string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` Tid string `json:"tid,omitempty" codec:"tid,omitempty"` Ts int64 `json:"ts,omitempty" codec:"ts,omitempty"` EncService string `json:"enc_service,omitempty" codec:"enc_service,omitempty"` KeyCacheDisabled int `json:"key_cache_disabled,omitempty" codec:"key_cache_disabled,omitempty"` KeyBackupDisabled int `json:"key_backup_disabled,omitempty" codec:"key_backup_disabled,omitempty"` ServiceKeyList []*crypto.KeyStore `json:"service_key_list,omitempty" codec:"service_key_list,omitempty"` }
Click to show internal directories.
Click to hide internal directories.