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

com.safelayer.rap.json.model.issuance.JsonGetCertificatesRequest Maven / Gradle / Ivy

Go to download

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy