com.safelayer.rap.json.model.issuance.JsonPkiPendingResponse 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.*;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.safelayer.rap.api.model.issuance.CertificatesInstallationPendingResponse;
import com.safelayer.rap.api.model.issuance.PkiPendingResponse;
import com.safelayer.rap.json.CertificatesInstallationPendingMapDeserialize;
import com.safelayer.rap.json.CertificatesInstallationPendingMapSerialize;
import java.security.cert.X509Certificate;
import java.util.Map;
public class JsonPkiPendingResponse extends JsonIssuanceResponse implements PkiPendingResponse{
@JsonProperty(value = "pki_info")
private Map pkiInfo;
@JsonCreator
public JsonPkiPendingResponse() {
super(null);
}
public JsonPkiPendingResponse(PkiPendingResponse other) {
super(other.getState());
this.pkiInfo = other.getPkiInfo();
}
@Override
@JsonAnyGetter
public Map getPkiInfo() {
return pkiInfo;
}
@JsonAnySetter
public void putPkiInfo(String key, Object value) {
pkiInfo.put(key, value);
}
}