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

com.gitee.cliveyuan.tools.bean.rsa.RSASignReq Maven / Gradle / Ivy

There is a newer version: 4.0.6
Show newest version
package com.gitee.cliveyuan.tools.bean.rsa;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by Clive on 2020/02/22.
 */
@Data
@Builder
public class RSASignReq implements Serializable {

    // region required
    /**
     * 需要签名的数据字符串 (必传)
     */
    private String data;
    /**
     * RSA私钥  (必传)
     */
    private String privateKeyString;

    // endregion required



    // region optional
    /**
     * 密钥算法, 默认 RSA
     */
    private String keyAlgorithm;

    /**
     * 签名算法, 默认 SHA256withRSA
     */
    private String signatureAlgorithm;

    /**
     * 编码方式, 默认 UTF-8
     */
    private String charset;

    // endregion optional
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy