public class AesUtil extends Object
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875
Node.js 版: https://gitee.com/javen205/TNWX
工具类 AesUtil
Constructor and Description |
---|
AesUtil(byte[] key) |
Modifier and Type | Method and Description |
---|---|
String |
decryptToString(byte[] associatedData,
byte[] nonce,
String cipherText)
证书和回调报文解密
|
public String decryptToString(byte[] associatedData, byte[] nonce, String cipherText) throws GeneralSecurityException
associatedData
- associated_datanonce
- noncecipherText
- ciphertextGeneralSecurityException
- 异常Copyright © 2022. All rights reserved.