Class X509CertUtil
java.lang.Object
com.github.shoothzj.javatool.util.X509CertUtil
- Author:
- shoothzj
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCA(X509Certificate certificate) digitalSignature(0), nonRepudiation(1), keyEncipherment(2), dataEncipherment(3), keyAgreement(4), keyCertSign(5),trueONLYforCAs cRLSign(6), encipherOnly(7), decipherOnly(8)static booleanisValid(X509Certificate certificate)
-
Constructor Details
-
X509CertUtil
public X509CertUtil()
-
-
Method Details
-
isValid
-
isCA
digitalSignature(0), nonRepudiation(1), keyEncipherment(2), dataEncipherment(3), keyAgreement(4), keyCertSign(5),trueONLYforCAs cRLSign(6), encipherOnly(7), decipherOnly(8)- Parameters:
certificate- x509证书- Returns:
- 该证书是否为CA证书
-