Home
last modified time | relevance | path

Searched refs:isSelfSignedCertificate (Results 1 – 2 of 2) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DX509Utils.java127 return isSelfSignedCertificate(rootCert) && verifyCertChain(rootCert, certChain); in isCertChainValid()
152 public static boolean isSelfSignedCertificate(X509Certificate certificate) in isSelfSignedCertificate() method in X509Utils
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DX509UtilsTest.java134 assertThat(X509Utils.isSelfSignedCertificate(rootCert)).isTrue(); in testCertChainSwapOAndCN()
135 assertThat(X509Utils.isSelfSignedCertificate(testCert)).isFalse(); in testCertChainSwapOAndCN()