package com.cym.utils.cert.ssl;

import lombok.Data;

import java.util.List;

/**
 * @author ZhangSan_Plus
 * @version 1.0
 * @className XccSSLInfo
 * @description 
 * @date 2022/8/27 16:17
 **/
@Data
public class XccSSLInfo {
    private String success;
    private String detectUrl;
    /**
     * 信任状态
     */
    private String trustStatus;
    /**
     * 通用名称
     */
    private String commonName;
    /**
     * 颁发者
     */
    private String issuer;
    /**
     * 加密算法
     */
    private String encryptionAlgorithm;
    /**
     * 签名算法
     */
    private String signatureAlgorithm;
    /**
     * 证书透明(CT)
     */
    private String certificateTransparency;
    /**
     * 吊销状态
     */
    private String revocationStatus;


    //主题信息
    private String subjectCN;
    private String subjectO;
    private String subjectOU;
    private String subjectL;
    private String subjectST;
    private String subjectC;
    //签发者信息
    private String issueCN;
    private String issueO;
    private String issueC;
    private String issueOU;
    //证书信息
    private String serialNumber;
    private String rootCert;
    private String algorithm;
    private String certificateType;
    private String certificateBrand;
    private String privateKeyLen;
    private String SHA1Fingerprint;
    private String SHA256Fingerprint;
    private String startTime;
    private String endTime;
    private String validityPeriod;
    private String extKeyUsage;
    private List<List<String>> sans;
    private String ocspUrl;
    private String crlUrl;
    private String caUrl;
    private String publicKey;
    private String openSSL;
}
