package com.izouma.nineth.dto.security;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import net.sf.cglib.core.Local;

import java.time.LocalDateTime;

/**
 * 密钥对
 *
 */
@Data
public class RSAPairDTO {

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 私钥
     */
    @JsonIgnore
    private String privateKey;

    /**
     * 刷新时间
     */
    private LocalDateTime freshTime = LocalDateTime.now();


}
