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

io.github.nichetoolkit.rest.worker.rsa.RsaKey Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy