Package com.luna.common.encrypt.security
Class SharingParamManager
java.lang.Object
com.luna.common.encrypt.security.SharingParamManager
- Author:
- luna
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSharingParamManager
(SecurityManager securityManager) SharingParamManager
(SecurityManager securityManager, String version, String... param) -
Method Summary
-
Field Details
-
CURRENT_DEFAULT_VERSION
当前协议默认的版本号- See Also:
-
-
Constructor Details
-
SharingParamManager
-
SharingParamManager
-
SharingParamManager
public SharingParamManager()
-
-
Method Details
-
generate
生成分享参数 如果分享者为null,分享参数为null- Returns:
-
parse
解析分享参数- Returns:
- true--校验成功,否则校验失败
-
getVersion
-
setVersion
-
getParam
-
setParam
-