类 LicenseCodeHelper


  • public class LicenseCodeHelper
    extends Object
    授权码工具类
    作者:
    guer
    • 方法详细资料

      • createLicenseCodeData

        public static String createLicenseCodeData​(License license,
                                                   RsaKey rsaKey)
        创建授权码内容
        参数:
        license - 授权对象
        rsaKey - 公私钥
        返回:
        授权码内容
      • parse

        public static io.jsonwebtoken.Claims parse​(String licenseCode,
                                                   RsaKey rsaKey)