Home
last modified time | relevance | path

Searched refs:getCertificates (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/security/net/config/
DCertificateSource.java24 Set<X509Certificate> getCertificates(); in getCertificates() method
DCertificatesEntryRef.java40 for (X509Certificate cert : mSource.getCertificates()) { in getTrustAnchors()
DKeyStoreCertificateSource.java45 public Set<X509Certificate> getCertificates() { in getCertificates() method in KeyStoreCertificateSource
DResourceCertificateSource.java80 public Set<X509Certificate> getCertificates() { in getCertificates() method in ResourceCertificateSource
DDirectoryCertificateSource.java64 public Set<X509Certificate> getCertificates() { in getCertificates() method in DirectoryCertificateSource
/frameworks/base/keystore/java/android/security/keystore/
DAttestationUtils.java89 final Collection<byte[]> rawChain = kmChain.getCertificates(); in parseCertificateChain()
209 return chain != null && chain.getCertificates().size() >= 2; in isChainValid()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java324 if (certPath.getCertificates().isEmpty()) { in validateCertPath()
327 if (!(certPath.getCertificates().get(0) instanceof X509Certificate)) { in validateCertPath()
332 List<X509Certificate> certificates = (List<X509Certificate>) certPath.getCertificates(); in validateCertPath()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterCertificateChain.java65 public List<byte[]> getCertificates() { in getCertificates() method in KeymasterCertificateChain
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestCertificateSource.java38 public Set<X509Certificate> getCertificates() { in getCertificates() method in TestCertificateSource
DXmlConfigTests.java421 for (X509Certificate cert : SystemCertificateSource.getInstance().getCertificates()) { in testTrustManagerKeystore()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java251 assertThat(certPath.getCertificates()).containsExactly( in buildCertPath_succeedsWithoutIntermediates()
266 assertThat(certPath.getCertificates()) in buildCertPath_succeedsWithIntermediates()
285 assertThat(certPath.getCertificates()) in buildCertPath_succeedsWithIntermediates_ignoreUnrelatedIntermedateCert()
DCertXmlTest.java138 assertThat(certPath.getCertificates()) in parseAndValidate_returnsExpectedCertPath()
/frameworks/base/core/java/android/provider/
DFontRequest.java107 public List<List<byte[]>> getCertificates() { in getCertificates() method in FontRequest
DFontsContract.java790 List<List<byte[]>> requestCertificatesList = request.getCertificates(); in getProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestData.java157 CERT_1_PUBLIC_KEY = CERT_PATH_1.getCertificates().get(0).getPublicKey();
DRecoverableKeyStoreManagerTest.java944 TestData.CERT_PATH_1.getCertificates() in startRecoverySessionWithCertPath_throwsIfInvalidCertPath()
945 .subList(0, TestData.CERT_PATH_1.getCertificates().size() - 1)); in startRecoverySessionWithCertPath_throwsIfInvalidCertPath()
DKeySyncTaskTest.java570 TestData.getInsecureCertPathForEndpoint1().getCertificates().get(0) in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java147 if (!signedData.getCertificates().getMatches(null).isEmpty()) { in verifyPkcs7DetachedSignature()
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationPeerDeviceVerifier.java216 final List<X509Certificate> certificateChain = getCertificates(attestation); in verifyAttestationInternal()
253 private List<X509Certificate> getCertificates(byte[] attestation) in getCertificates() method in AttestationVerificationPeerDeviceVerifier
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java183 public Certificate[] getCertificates(ZipEntry ze) { in getCertificates() method in StrictJarFile
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java241 publicKey = certPath.getCertificates().get(0).getPublicKey(); in syncKeysForAgent()
DRecoverableKeyStoreManager.java615 byte[] verifierPublicKey = certPath.getCertificates().get(0).getPublicKey().getEncoded(); in startRecoverySessionWithCertPath()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java280 final Certificate[] certs = pkcs7.getCertificates(); in verifySignature()
/frameworks/base/core/java/android/os/
DRecoverySystem.java331 X509Certificate[] certificates = block.getCertificates(); in verifyPackage()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java588 if (certPath.getCertificates().size() == 0) { in setRecoveryServiceCertPath()

12