Home
last modified time | relevance | path

Searched refs:certificates (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/security/keystore/recovery/
DTrustedRootCertificates.java164 ArrayMap<String, X509Certificate> certificates = in constructRootCertificateMap() local
166 certificates.put( in constructRootCertificateMap()
169 return certificates; in constructRootCertificateMap()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestCertificateSource.java30 public TestCertificateSource(Set<X509Certificate> certificates) { in TestCertificateSource() argument
31 mCertificates = certificates; in TestCertificateSource()
32 for (X509Certificate cert : certificates) { in TestCertificateSource()
/frameworks/base/core/java/android/security/net/config/
DKeyStoreCertificateSource.java58 Set<X509Certificate> certificates = new ArraySet<>(mKeyStore.size()); in ensureInitialized() local
63 certificates.add(cert); in ensureInitialized()
68 mCertificates = certificates; in ensureInitialized()
DResourceCertificateSource.java55 Set<X509Certificate> certificates = new ArraySet<X509Certificate>(); in ensureInitialized() local
70 certificates.add((X509Certificate) cert); in ensureInitialized()
73 mCertificates = certificates; in ensureInitialized()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DTrustedRootCertificatesTest.java40 Map<String, X509Certificate> certificates = getRootCertificates(); in getRootCertificates_listsGoogleCloudVaultV1Certificate() local
42 assertTrue(certificates.containsKey(GOOGLE_CLOUD_KEY_VAULT_SERVICE_V1_ALIAS)); in getRootCertificates_listsGoogleCloudVaultV1Certificate()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java331 List<X509Certificate> certificates = (List<X509Certificate>) certPath.getCertificates(); in validateCertPath() local
332 X509Certificate leafCert = certificates.get(0); in validateCertPath()
334 certificates.subList(/*fromIndex=*/ 1, certificates.size()); in validateCertPath()
/frameworks/base/core/java/android/provider/
DFontRequest.java69 @NonNull String query, @NonNull List<List<byte[]>> certificates) { in FontRequest() argument
73 mCertificates = Preconditions.checkNotNull(certificates); in FontRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java400 List<X509Certificate> certificates = new ArrayList<>(); in stopAfterStep() local
401 certificates.add(mX509Certificate); in stopAfterStep()
402 trustRootCertificates.put(OsuServerConnection.TRUST_CERT_TYPE_AAA, certificates); in stopAfterStep()
404 certificates); in stopAfterStep()
921 List<X509Certificate> certificates = new ArrayList<>(); in verifyHandlingErrorForAddingPasspointConfiguration() local
922 certificates.add(mX509Certificate); in verifyHandlingErrorForAddingPasspointConfiguration()
923 trustRootCertificates.put(OsuServerConnection.TRUST_CERT_TYPE_AAA, certificates); in verifyHandlingErrorForAddingPasspointConfiguration()
924 trustRootCertificates.put(OsuServerConnection.TRUST_CERT_TYPE_REMEDIATION, certificates); in verifyHandlingErrorForAddingPasspointConfiguration()
970 List<X509Certificate> certificates = new ArrayList<>(); in verifyHandlingEmptyRemediationTrustRootCertificateRetrieved() local
971 certificates.add(mX509Certificate); in verifyHandlingEmptyRemediationTrustRootCertificateRetrieved()
[all …]
DOsuServerConnectionTest.java299 X509Certificate[] certificates = new X509Certificate[1]; in verifyInitAndConnectCertValidationFailure() local
300 certificates[0] = certificateList.get(0); in verifyInitAndConnectCertValidationFailure()
307 trustManager.checkServerTrusted(certificates, AUTH_TYPE); in verifyInitAndConnectCertValidationFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java594 List<X509Certificate> certificates = trustRootCertificates.get( in installTrustRootCertificates() local
596 if (certificates == null || certificates.isEmpty()) { in installTrustRootCertificates()
607 certificates.toArray(new X509Certificate[0])); in installTrustRootCertificates()
609 certificates = trustRootCertificates.get( in installTrustRootCertificates()
611 if (certificates == null || certificates.isEmpty()) { in installTrustRootCertificates()
620 certificates.get(0)); in installTrustRootCertificates()
DOsuServerConnection.java400 List<X509Certificate> certificates = new ArrayList<>(); in performRetrievingTrustRootCerts() local
421 certificates.add(certificate); in performRetrievingTrustRootCerts()
423 if (!certificates.isEmpty()) { in performRetrievingTrustRootCerts()
424 trustRootCertificates.put(certInfoPerType.getKey(), certificates); in performRetrievingTrustRootCerts() local
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java90 private final Hashtable<String, Certificate[]> certificates = field in StrictJarVerifier
227 Certificate[] certChain = certificates.get(signatureFile); in initEntry()
372 certificates.put(signatureFile, signerCertChain); in verifyCertificate()
488 return certificates.size() > 0; in isSignedJar()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java332 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in verifySigner() local
335 while (certificates.hasRemaining()) { in verifySigner()
337 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in verifySigner()
DApkSignatureSchemeV3Verifier.java345 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in verifySigner() local
348 while (certificates.hasRemaining()) { in verifySigner()
350 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in verifySigner()
/frameworks/base/core/java/android/os/
DRecoverySystem.java267 X509Certificate[] certificates = block.getCertificates(); in verifyPackage() local
268 if (certificates == null || certificates.length == 0) { in verifyPackage()
271 X509Certificate cert = certificates[0]; in verifyPackage()
/frameworks/base/services/tests/servicestests/assets/PackageSignaturesTest/xml/
DREADME2 certificates and keys under the certs/ directory. To recreate the XML files run the following:
/frameworks/base/proto/src/
Dwifi.proto2739 // The reason code for provisioning failure when failing to retrieve trust root certificates
/frameworks/base/config/
Dboot-image-profile.txt31576 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certificates()Ljava/util/List;
Dhiddenapi-greylist-max-o.txt105937 Ljava/security/Identity;->certificates:Ljava/util/Vector;
112693 Lsun/security/pkcs/PKCS7;->certificates:[Ljava/security/cert/X509Certificate;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44444 method public java.security.Certificate[] certificates();
/frameworks/base/non-updatable-api/
Dcurrent.txt65596 method @Deprecated public java.security.Certificate[] certificates();
/frameworks/base/api/
Dcurrent.txt65740 method @Deprecated public java.security.Certificate[] certificates();