Uses of Enum Class
com.luna.common.encrypt.SignUtil.SignType
-
Uses of SignUtil.SignType in com.luna.common.encrypt
Modifier and TypeMethodDescriptionstatic SignUtil.SignType
Returns the enum constant of this class with the specified name.static SignUtil.SignType[]
SignUtil.SignType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic String
SignUtil.generateSignature
(Map<String, String> data, String key, SignUtil.SignType signType) 生成签名.static String
SignUtil.generateSignedXml
(Map<String, String> data, String key, SignUtil.SignType signType) 生成带有 sign 的 XML 格式字符串static boolean
SignUtil.isSignatureValid
(Map<String, String> data, String key, SignUtil.SignType signType) 判断签名是否正确,必须包含sign字段,否则返回false。