/frameworks/base/core/java/android/security/net/config/ |
D | RootTrustManager.java | 62 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted() argument 67 config.getTrustManager().checkClientTrusted(certs, authType, socket); in checkClientTrusted() 71 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument 76 config.getTrustManager().checkClientTrusted(certs, authType, engine); in checkClientTrusted() 80 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted() argument 90 config.getTrustManager().checkServerTrusted(certs, authType, socket); in checkServerTrusted() 93 checkServerTrusted(certs, authType); in checkServerTrusted() 98 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument 106 config.getTrustManager().checkServerTrusted(certs, authType, engine); in checkServerTrusted() 110 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted() argument [all …]
|
D | NetworkSecurityTrustManager.java | 73 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted() argument 75 mDelegate.checkClientTrusted(certs, authType, socket); in checkClientTrusted() 79 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument 81 mDelegate.checkClientTrusted(certs, authType, engine); in checkClientTrusted() 85 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted() argument 87 checkServerTrusted(certs, authType, (String) null); in checkServerTrusted() 91 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted() argument 94 mDelegate.getTrustedChainForServer(certs, authType, socket); in checkServerTrusted() 99 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument 102 mDelegate.getTrustedChainForServer(certs, authType, engine); in checkServerTrusted() [all …]
|
D | DirectoryCertificateSource.java | 71 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in getCertificates() local 79 certs.add(cert); in getCertificates() 83 mCertificates = certs; in getCertificates() 141 Set<X509Certificate> certs = null; 158 if (certs == null) { 159 certs = new ArraySet<X509Certificate>(); 161 certs.add(cert); 164 return certs != null ? certs : Collections.<X509Certificate>emptySet();
|
D | ResourceCertificateSource.java | 56 Collection<? extends Certificate> certs; in ensureInitialized() local 61 certs = factory.generateCertificates(in); in ensureInitialized() 69 for (Certificate cert : certs) { in ensureInitialized() 112 Set<X509Certificate> certs = new ArraySet<X509Certificate>(anchors.size()); in findAllByIssuerAndSignature() local 114 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 116 return certs; in findAllByIssuerAndSignature()
|
D | KeyStoreCertificateSource.java | 102 Set<X509Certificate> certs = new ArraySet<X509Certificate>(anchors.size()); in findAllByIssuerAndSignature() local 104 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 106 return certs; in findAllByIssuerAndSignature()
|
D | NetworkSecurityConfig.java | 157 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in findAllCertificatesByIssuerAndSignature() local 159 certs.addAll(ref.findAllCertificatesByIssuerAndSignature(cert)); in findAllCertificatesByIssuerAndSignature() 161 return certs; in findAllCertificatesByIssuerAndSignature()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/ |
D | README | 2 certificates and keys under the certs/ directory. To recreate the XML files run the following: 9 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 46 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \ 47 certs/ec-p256_2.x509.der --key certs/ec-p256_2.pk8 --lineage certs/ec-p256-lineage-2-signers 51 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \ 52 certs/ec-p256_3.x509.der --key certs/ec-p256_3.pk8 --lineage certs/ec-p256-lineage-3-signers 57 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \ 58 certs/ec-p256_3.x509.der --key certs/ec-p256_3.pk8 --v3-signing-enabled false
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 108 return vSigner.certs; in verify() 123 return vSigner.certs; in unsafeGetCertsWithoutVerification() 198 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify() local 199 signerCerts.add(certs); in verify() 338 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local 351 certs.add(certificate); in verifySigner() 354 if (certs.isEmpty()) { in verifySigner() 357 X509Certificate mainCertificate = certs.get(0); in verifySigner() 367 return certs.toArray(new X509Certificate[certs.size()]); in verifySigner() 426 public final X509Certificate[][] certs; field in ApkSignatureSchemeV2Verifier.VerifiedSigner [all …]
|
D | ApkSignatureVerifier.java | 272 nonstreamingCerts = new Certificate[][]{v3Signer.certs}; in verifyV4Signature() 275 pastSignerSigs = new Signature[v3Signer.por.certs.size()]; in verifyV4Signature() 278 v3Signer.por.certs.get(i).getEncoded()); in verifyV4Signature() 288 nonstreamingCerts = v2Signer.certs; in verifyV4Signature() 300 Certificate[][] signerCerts = new Certificate[][]{vSigner.certs}; in verifyV4Signature() 360 Certificate[][] signerCerts = new Certificate[][]{vSigner.certs}; in verifyV3Signature() 365 pastSignerSigs = new Signature[vSigner.por.certs.size()]; in verifyV3Signature() 367 pastSignerSigs[i] = new Signature(vSigner.por.certs.get(i).getEncoded()); in verifyV3Signature() 399 Certificate[][] signerCerts = vSigner.certs; in verifyV2Signature() 550 private static Signature[] convertToSignatures(Certificate[][] certs) in convertToSignatures() argument [all …]
|
D | ApkSignatureSchemeV3Verifier.java | 397 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local 410 certs.add(certificate); in verifySigner() 413 if (certs.isEmpty()) { in verifySigner() 416 X509Certificate mainCertificate = certs.get(0); in verifySigner() 437 return verifyAdditionalAttributes(additionalAttrs, certs, certFactory); in verifySigner() 445 verifyAdditionalAttributes(ByteBuffer attrs, List<X509Certificate> certs, in verifyAdditionalAttributes() argument 447 X509Certificate[] certChain = certs.toArray(new X509Certificate[certs.size()]); in verifyAdditionalAttributes() 467 if (por.certs.size() > 0 in verifyAdditionalAttributes() 468 && !Arrays.equals(por.certs.get(por.certs.size() - 1).getEncoded(), in verifyAdditionalAttributes() 554 public final X509Certificate[] certs; field in ApkSignatureSchemeV3Verifier.VerifiedSigner [all …]
|
D | ApkSignatureSchemeV4Verifier.java | 260 public final Certificate[] certs; field in ApkSignatureSchemeV4Verifier.VerifiedSigner 267 public VerifiedSigner(Certificate[] certs, byte[] apkDigest, in VerifiedSigner() argument 269 this.certs = certs; in VerifiedSigner()
|
D | ApkSigningBlockUtils.java | 826 List<X509Certificate> certs = new ArrayList<>(); in verifyProofOfRotationStruct() local 892 certs.add(lastCert); in verifyProofOfRotationStruct() 906 return new VerifiedProofOfRotation(certs, flagsList); in verifyProofOfRotationStruct() 915 public final List<X509Certificate> certs; field in ApkSigningBlockUtils.VerifiedProofOfRotation 918 public VerifiedProofOfRotation(List<X509Certificate> certs, List<Integer> flagsList) { in VerifiedProofOfRotation() argument 919 this.certs = certs; in VerifiedProofOfRotation()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestCertificateSource.java | 62 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in findAllByIssuerAndSignature() local 64 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 66 return certs; in findAllByIssuerAndSignature()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 54 @NonNull String query, @Nullable List<List<String>> certs, in ProviderResourceEntry() argument 59 mCerts = certs; in ProviderResourceEntry() 183 List<List<String>> certs = null; in readFamily() local 187 certs = new ArrayList<>(); in readFamily() 194 certs.add(certsList); in readFamily() 199 certs.add(certsList); in readFamily() 208 certs, in readFamily()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidAppAsset.java | 185 private List<String> sortAndDeDuplicate(List<String> certs) { in sortAndDeDuplicate() argument 186 if (certs.size() <= 1) { in sortAndDeDuplicate() 187 return certs; in sortAndDeDuplicate() 189 HashSet<String> set = new HashSet<>(certs); in sortAndDeDuplicate()
|
D | AndroidAppAssetMatcher.java | 42 Set<String> certs = new HashSet<String>(mQuery.getCertFingerprints()); in matches() local 44 if (certs.contains(cert)) { in matches()
|
/frameworks/proto_logging/stats/enums/app/ |
D | remoteprovisioner_enums.proto | 21 // The status of an attempt to remotely provision keys and certs. 24 KEYS_SUCCESSFULLY_PROVISIONED = 1; // Success: got keys and certs 46 // Failures to get certs from the RKP service
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 128 List<String> certs = certList.get(0); in testParseDownloadableFont_singleCerts() local 129 assertEquals(2, certs.size()); in testParseDownloadableFont_singleCerts() 130 assertEquals("123456789", certs.get(0)); in testParseDownloadableFont_singleCerts() 131 assertEquals("987654321", certs.get(1)); in testParseDownloadableFont_singleCerts()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerService.java | 287 String[] certs = mContext.getResources().getStringArray( in createUpdatableFontDir() 291 String[] tmp = new String[certs.length + 1]; in createUpdatableFontDir() 292 System.arraycopy(certs, 0, tmp, 0, certs.length); in createUpdatableFontDir() 293 tmp[certs.length] = mDebugCertFilePath; in createUpdatableFontDir() 294 certs = tmp; in createUpdatableFontDir() 298 new FsverityUtilImpl(certs), new File(CONFIG_XML_FILE)); in createUpdatableFontDir()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AttestationUtils.java | 168 Certificate[] certs = keyStore.getCertificateChain(keystoreAlias); in attestDeviceIds() local 170 Arrays.copyOf(certs, certs.length, X509Certificate[].class); in attestDeviceIds()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 101 Certificate[] certs = session.getPeerCertificates(); in verify() local 102 X509Certificate x509 = (X509Certificate) certs[0]; in verify() 108 Certificate[] certs = session.getPeerCertificates(); in verify() local 109 X509Certificate x509 = (X509Certificate) certs[0]; in verify()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 280 final Certificate[] certs = pkcs7.getCertificates(); in verifySignature() local 281 if (certs == null || certs.length == 0) { in verifySignature() 451 final Signature[] certs; in getInstallerChecksums() local 462 certs = new Signature[certificates.length]; in getInstallerChecksums() 464 certs[i] = new Signature(certificates[i].getEncoded()); in getInstallerChecksums() 477 certs = installer.getSigningDetails().getSignatures(); in getInstallerChecksums() 480 if (certs == null || certs.length == 0 || certs[0] == null) { in getInstallerChecksums() 487 byte[] trustedCertBytes = certs[0].toByteArray(); in getInstallerChecksums() 493 Signature trustedCert = isTrusted(certs, trusted); in getInstallerChecksums()
|
/frameworks/base/identity/java/android/security/identity/ |
D | CredstoreWritableIdentityCredential.java | 57 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain() local 60 certs = factory.generateCertificates(bais); in getCredentialKeyCertificateChain() 66 for (Certificate cert : certs) { in getCredentialKeyCertificateChain()
|
D | CredstoreIdentityCredential.java | 226 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain() local 229 certs = factory.generateCertificates(bais); in getCredentialKeyCertificateChain() 235 for (Certificate cert : certs) { in getCredentialKeyCertificateChain() 406 Collection<? extends Certificate> certs = null; in getAuthKeysNeedingCertification() local 408 certs = factory.generateCertificates(bais); in getAuthKeysNeedingCertification() 409 if (certs.size() != 1) { in getAuthKeysNeedingCertification() 412 X509Certificate authKeyCert = (X509Certificate) certs.iterator().next(); in getAuthKeysNeedingCertification()
|
/frameworks/native/libs/binder/tests/ |
D | BinderRpcTestClientInfo.aidl | 20 ParcelableCertificateData[] certs;
|