Documentation
¶
Index ¶
- type ApiCheck
- type XWSSE
- func (x *XWSSE) Check(authorization, xwsse string, getAppSecret ApiCheck) (err error)
- func (x *XWSSE) CheckSum(appSecret string) (err error)
- func (x *XWSSE) Marshal(appSecret string) (xwsse string, err error)
- func (x *XWSSE) Sum(appSecret string) (string, error)
- func (x *XWSSE) UnMarshal(xwsse string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XWSSE ¶
func (*XWSSE) Check ¶
Check x-wsse 校验 Authorization=`WSSE profile="UsernameToken"` X-WSSE: UsernameToken Username="bob", PasswordDigest="quR/EWLAV4xLf9Zqyw4pDmfV9OY=", Nonce="d36e316282959a9ed4c89851497a717f", Created="2006-01-02T15:04:05Z" PasswordDigest=base64(sm3(Nonce + Created + AppSecret)) Nonce 随机数 Created 时间, 2006-01-02T15:04:05Z
Click to show internal directories.
Click to hide internal directories.