Home
last modified time | relevance | path

Searched refs:mX509Certificate (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DServiceProviderVerifierTest.java71 private X509Certificate mX509Certificate; field in ServiceProviderVerifierTest
94 when(mX509Certificate.getSubjectAlternativeNames()).thenReturn(null); in testNullFromgetSubjectAlternativeNamesShouldReturnEmptyList()
95 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNullFromgetSubjectAlternativeNamesShouldReturnEmptyList()
105 when(mX509Certificate.getSubjectAlternativeNames()).thenReturn(Collections.emptySet()); in testEmptyListFromGetSubjectAlternativeNamesShouldReturnEmptyList()
106 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testEmptyListFromGetSubjectAlternativeNamesShouldReturnEmptyList()
117 mX509Certificate).getSubjectAlternativeNames(); in testExceptionFromGetSubjectAlternativeNamesShouldReturnEmptyList()
119 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testExceptionFromGetSubjectAlternativeNamesShouldReturnEmptyList()
133 when(mX509Certificate.getSubjectAlternativeNames()).thenReturn( in testNonOtherNameFromGetSubjectAlternativeNamesShouldReturnEmptyList()
136 assertTrue(ServiceProviderVerifier.getProviderNames(mX509Certificate).isEmpty()); in testNonOtherNameFromGetSubjectAlternativeNamesShouldReturnEmptyList()
151 when(mX509Certificate.getSubjectAlternativeNames()).thenReturn( in testInvalidFormatFromGetSubjectAlternativeNamesShouldReturnEmptyList()
[all …]
DPasspointProvisionerTest.java194 @Mock X509Certificate mX509Certificate; field in PasspointProvisionerTest
401 certificates.add(mX509Certificate); in stopAfterStep()
922 certificates.add(mX509Certificate); in verifyHandlingErrorForAddingPasspointConfiguration()
971 certificates.add(mX509Certificate); in verifyHandlingEmptyRemediationTrustRootCertificateRetrieved()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java83 private final X509Certificate mX509Certificate; field in SslCertificate
108 X509Certificate x509Certificate = certificate.mX509Certificate; in saveState()
197 mX509Certificate = x509Certificate; in SslCertificate()
257 return mX509Certificate; in getX509Certificate()
481 .setText(getSerialNumber(mX509Certificate)); in inflateCertificateView()
506 .setText(getDigest(mX509Certificate, "SHA256")); in inflateCertificateView()
508 .setText(getDigest(mX509Certificate, "SHA1")); in inflateCertificateView()