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