package com.cym.utils.cert.ssl;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 
 *
 * @author czh
 * @data 2020/8/11 11:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SSLDetailsInfo {

    //序列号
    private String serialNum;
    //版本
    private String    version;
    //加密算法
    private String encryptionAlgorithm;
    //签名算法
    private String signatureAlgorithm;

    //证书类型
    private String certificateType;
    //证书品牌
    private String certificateBrand;
    //sha256指纹
    private String sha256Fingerprint;
    //签发时间
    private Date   issueDate;
    //到期时间
    private Date   deadlineDate;
    //有效期
    private String validPeriod;
    //sans
    private List<String> sansList;

}
