类 PlatformRSAUtils

java.lang.Object
com.iplatform.base.util.PlatformRSAUtils

public class PlatformRSAUtils extends Object
  • 字段详细资料

  • 构造器详细资料

    • PlatformRSAUtils

      public PlatformRSAUtils()
  • 方法详细资料

    • getAesDecryptValue

      public static final String getAesDecryptValue(String encryptString)
      使用公共密钥,解密密码数据。

      目前APP端使用(电商)

      参数:
      encryptString -
      返回:
    • getRsaDecryptValue

      public static final String getRsaDecryptValue(String encryptString, String privateKeyString)
      返回加密之前的原始内容(解密原始字符串)
      参数:
      encryptString - 加密的内容(RSA)
      privateKeyString - 私钥字符串
      返回:
    • getRsaPrivateKey

      public static final PrivateKey getRsaPrivateKey(String privateKeyString)
      根据私钥字符串,生成对应的私钥对象。
      RSA标准算法,PKCS8EncodedKeySpec
      参数:
      privateKeyString -
      返回: