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

com.safelayer.rap.json.model.JsonRsaKeyTemplate 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;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.safelayer.rap.api.model.RsaKeyTemplate;

/**
 * @version $Revision$
 */
public class JsonRsaKeyTemplate extends JsonKeyTemplate implements RsaKeyTemplate{

	@JsonProperty
	private Long size;
	
	@JsonCreator
	public JsonRsaKeyTemplate() {}
	
	public JsonRsaKeyTemplate(RsaKeyTemplate other) {
		
		this.size = other.getSize();
	}
	
	@JsonIgnore
	public Long getSize() {
		return size;
	}

	
		
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy