This is a java util class mainly with some methods to generate X509V3Certificate and X509v2CRL.
There are three ways to generate certificates in the utility class, using the following three different JCE API:
X509V3CertificateGenerator(Deprecated, but still valid)X509v3CertificateBuilder(Not recommended, because its DN uses X500Name)JcaX509v3CertificateBuilder(extended X509v3CertificateBuilder, is the best choice)
There are a number of other helper methods in the utility class, with detailed explanations in the comments.
If you have any concerns here, please post as Github issues, or send an e-mail to Joker Xin by jxpro@qq.com.