com.safelayer.rap.json.model.issuance.JsonGetCertificatesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX
The newest version!
package com.safelayer.rap.json.model.issuance;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.safelayer.rap.api.model.issuance.GetCertificatesRequest;
import com.safelayer.rap.api.model.issuance.IssuancePutInformationRequest;
import com.safelayer.rap.api.model.issuance.RegistrationParameters;
import com.safelayer.rap.json.RegistrationParametersDeserialize;
import com.safelayer.rap.json.RegistrationParametersSerialize;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
@SuppressWarnings("serial")
public class JsonGetCertificatesRequest extends JsonCertificatesPutRequest implements GetCertificatesRequest {
@JsonProperty
private byte[] state;
@JsonProperty(value = "pki_info")
private Map pkiInfo;
@JsonCreator
public JsonGetCertificatesRequest() {
}
public JsonGetCertificatesRequest(GetCertificatesRequest other) {
this.state = other.getState();
this.pkiInfo = other.getPkiInfo();
}
@Override
@JsonIgnore
public byte[] getState() {
return state;
}
@Override
@JsonIgnore
public Map getPkiInfo() {
return pkiInfo;
}
}