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

com.safelayer.rap.json.model.issuance.JsonCertificatesPutKeysRequest 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 java.security.PublicKey;
import java.util.Map;

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.IssuancePutKeysRequest;

/**
 * @version $Revision$
 */
public class JsonCertificatesPutKeysRequest  extends JsonCertificatesPutRequest implements IssuancePutKeysRequest{
		
	@JsonProperty
	private byte[] state;
	
	@JsonProperty(value = "keys")
	private Map keys;

	@JsonCreator
	public JsonCertificatesPutKeysRequest() {
	}
	
	public JsonCertificatesPutKeysRequest(IssuancePutKeysRequest other) {
		this.state = other.getState();
		this.keys = other.getKeys();
	}
	
	@Override
	@JsonIgnore
	public byte[] getState() {
		return state;
	}

	@Override
	@JsonIgnore
	public Map getKeys() {
		return keys;
	}
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy