io.github.nichetoolkit.rest.worker.rsa.RsaKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-toolkit-utils Show documentation
Show all versions of rest-toolkit-utils Show documentation
Rest toolkit utils project for Spring Boot
The newest version!
package io.github.nichetoolkit.rest.worker.rsa;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* RsaKey
* The rsa key class.
* @author Cyan ([email protected])
* @see java.io.Serializable
* @see lombok.Getter
* @see lombok.Setter
* @since Jdk1.8
*/
@Getter
@Setter
public class RsaKey implements Serializable {
/**
* publicKey
* {@link java.lang.String} The publicKey
field.
* @see java.lang.String
*/
private String publicKey;
/**
* privateKey
* {@link java.lang.String} The privateKey
field.
* @see java.lang.String
*/
private String privateKey;
/**
* keySize
* The keySize
field.
*/
private int keySize;
/**
* RsaKey
* Instantiates a new rsa key.
*/
public RsaKey() {
}
/**
* RsaKey
* Instantiates a new rsa key.
* @param publicKey {@link java.lang.String} The public key parameter is String
type.
* @param privateKey {@link java.lang.String} The private key parameter is String
type.
* @see java.lang.String
*/
public RsaKey(String publicKey, String privateKey) {
this.publicKey = publicKey;
this.privateKey = privateKey;
}
}