Searched refs:isSelfSignedCertificate (Results 1 – 2 of 2) sorted by relevance
127 return isSelfSignedCertificate(rootCert) && verifyCertChain(rootCert, certChain); in isCertChainValid()152 public static boolean isSelfSignedCertificate(X509Certificate certificate) in isSelfSignedCertificate() method in X509Utils
134 assertThat(X509Utils.isSelfSignedCertificate(rootCert)).isTrue(); in testCertChainSwapOAndCN()135 assertThat(X509Utils.isSelfSignedCertificate(testCert)).isFalse(); in testCertChainSwapOAndCN()