类 RSA

java.lang.Object
cn.warpin.core.util.RSA

public class RSA extends Object
公私钥生成类,生成的秘钥存入配置文件
  • 字段详细资料

  • 构造器详细资料

    • RSA

      public RSA()
  • 方法详细资料

    • restorePublicKey

      public static PublicKey restorePublicKey(byte[] keyBytes)
      还原公钥
    • restorePrivateKey

      public static PrivateKey restorePrivateKey(byte[] keyBytes)
      还原私钥