com.safelayer.rap.json.model.issuance.JsonCertificatesPublishRequest 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.safelayer.rap.api.model.issuance.CertificatesPublishRequest;
public class JsonCertificatesPublishRequest extends JsonCertificatesPutRequest implements CertificatesPublishRequest{
@JsonProperty
private byte[] state;
@JsonCreator
public JsonCertificatesPublishRequest() {
};
public JsonCertificatesPublishRequest(CertificatesPublishRequest other) {
state = other.getState();
}
@Override
@JsonIgnore
public byte[] getState() {
return state;
}
}