无关风月
2025-02-28 2f8e70ad2884d2b6b7443dfae0af11ae9cfc8b99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.jilongda.common.wxPay.certificate.model;
 
import com.wechat.pay.java.core.util.GsonUtil;
import java.io.Serializable;
 
public class EncryptCertificate implements Serializable {
 
  private String algorithm;
  private String nonce;
  private String associatedData;
  private String ciphertext;
 
  public String getAlgorithm() {
    return algorithm;
  }
 
  public void setAlgorithm(String algorithm) {
    this.algorithm = algorithm;
  }
 
  public void setNonce(String nonce) {
    this.nonce = nonce;
  }
 
  public String getAssociatedData() {
    return associatedData;
  }
 
  public void setAssociatedData(String associatedData) {
    this.associatedData = associatedData;
  }
 
  public String getCiphertext() {
    return ciphertext;
  }
 
  public void setCiphertext(String ciphertext) {
    this.ciphertext = ciphertext;
  }
 
  @Override
  public String toString() {
    return GsonUtil.getGson().toJson(this);
  }
 
  public String getNonce() {
    return nonce;
  }
}