All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wechat.pay.java.service.certificate.model.EncryptCertificate Maven / Gradle / Ivy

There is a newer version: 0.2.14
Show newest version
package com.wechat.pay.java.service.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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy