类 AesUtil

java.lang.Object
com.wechat.pay.contrib.apache.httpclient.util.AesUtil

public class AesUtil
extends java.lang.Object
  • 构造器概要

    构造器 
    构造器 说明
    AesUtil​(byte[] key)  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String decryptToString​(byte[] associatedData, byte[] nonce, java.lang.String ciphertext)  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • AesUtil

      public AesUtil​(byte[] key)
  • 方法详细资料

    • decryptToString

      public java.lang.String decryptToString​(byte[] associatedData, byte[] nonce, java.lang.String ciphertext) throws java.security.GeneralSecurityException
      抛出:
      java.security.GeneralSecurityException