77 lines
1.6 KiB
Java
77 lines
1.6 KiB
Java
package com.cym.utils.cert.ssl;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
@Data
|
|
public class Root {
|
|
private AuthKeyId authKeyId;
|
|
|
|
private AuthorityInfoAccessExtension authorityInfoAccessExtension;
|
|
|
|
private AuthorityKeyIdentifierExtension authorityKeyIdentifierExtension;
|
|
|
|
private int basicConstraints;
|
|
|
|
private BasicConstraintsExtension basicConstraintsExtension;
|
|
|
|
private CRLDistributionPointsExtension cRLDistributionPointsExtension;
|
|
|
|
private CertificatePoliciesExtension certificatePoliciesExtension;
|
|
|
|
private List<String> criticalExtensionOIDs;
|
|
|
|
private List<String> elements;
|
|
|
|
private String encoded;
|
|
|
|
private String encodedInternal;
|
|
|
|
private List<String> extendedKeyUsage;
|
|
|
|
private ExtendedKeyUsageExtension extendedKeyUsageExtension;
|
|
|
|
private IssuerDN issuerDN;
|
|
|
|
private List<Boolean> keyUsage;
|
|
|
|
private String name;
|
|
|
|
private List<String> nonCriticalExtensionOIDs;
|
|
|
|
private Date notAfter;
|
|
|
|
private Date notBefore;
|
|
|
|
private PublicKey publicKey;
|
|
|
|
private double serialNumber;
|
|
|
|
private SerialNumberObject serialNumberObject;
|
|
|
|
private String sigAlgName;
|
|
|
|
private String sigAlgOID;
|
|
|
|
private String signature;
|
|
|
|
private SubjectAlternativeNameExtension subjectAlternativeNameExtension;
|
|
|
|
private List<List<String>> subjectAlternativeNames;
|
|
|
|
private SubjectDN subjectDN;
|
|
|
|
private SubjectKeyId subjectKeyId;
|
|
|
|
private SubjectKeyIdentifierExtension subjectKeyIdentifierExtension;
|
|
|
|
private String tBSCertificate;
|
|
|
|
private String type;
|
|
|
|
private int version;
|
|
|
|
|
|
} |