Package icu.easyj.jwt

Class SecretKeyUtils

java.lang.Object
icu.easyj.jwt.SecretKeyUtils

public abstract class SecretKeyUtils extends Object
JWT工具类
Author:
wangliang181230
  • Constructor Details

    • SecretKeyUtils

      public SecretKeyUtils()
  • Method Details

    • generate

      public static Key generate(String secretKey, String secretKeyAlgorithm)
      生成密钥
      Parameters:
      secretKey - 密钥串
      secretKeyAlgorithm - 与密钥关联的算法名称
      Returns:
      返回Key