Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXml.java48 private final List<X509Certificate> endpointCerts; field in CertXml
53 List<X509Certificate> endpointCerts) { in CertXml() argument
56 this.endpointCerts = endpointCerts; in CertXml()
71 return endpointCerts; in getAllEndpointCerts()
86 new SecureRandom().nextInt(this.endpointCerts.size()), in getRandomEndpointCert()
95 X509Certificate chosenCert = endpointCerts.get(index); in getEndpointCert()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXmlTest.java71 List<X509Certificate> endpointCerts = certXml.getAllEndpointCerts(); in parse_checkEndpointCerts() local
72 assertThat(endpointCerts).hasSize(3); in parse_checkEndpointCerts()
73 assertThat(endpointCerts).containsAllOf(TestData.LEAF_CERT_1, TestData.LEAF_CERT_2); in parse_checkEndpointCerts()