/frameworks/base/services/core/java/com/android/server/security/ |
D | AttestationVerificationSelfTrustedVerifierForTesting.java | 138 List<X509Certificate> certificates = new ArrayList<>(); in verifyAttestation() local 142 certificates.add((X509Certificate) mCertificateFactory.generateCertificate(bis)); in verifyAttestation() 151 && checkLeafChallenge(requirements, certificates) in verifyAttestation() 152 && verifyCertificateChain(certificates)) { in verifyAttestation() 159 private boolean verifyCertificateChain(List<X509Certificate> certificates) { in verifyCertificateChain() argument 160 if (certificates.size() < 2) { in verifyCertificateChain() 166 CertPath certificatePath = mCertificateFactory.generateCertPath(certificates); in verifyCertificateChain() 196 private boolean checkLeafChallenge(Bundle requirements, List<X509Certificate> certificates) { in checkLeafChallenge() argument 200 challenge = getChallengeFromCert(certificates.get(0)); in checkLeafChallenge()
|
D | AttestationVerificationPeerDeviceVerifier.java | 255 List<X509Certificate> certificates = new ArrayList<>(); in getCertificates() local 258 certificates.add((X509Certificate) mCertificateFactory.generateCertificate(bis)); in getCertificates() 261 return certificates; in getCertificates() 293 private void validateCertificateChain(List<X509Certificate> certificates) in validateCertificateChain() argument 296 if (certificates.size() < 2) { in validateCertificateChain() 301 CertPath certificatePath = mCertificateFactory.generateCertPath(certificates); in validateCertificateChain()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | TrustedRootCertificates.java | 164 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/ |
D | TestCertificateSource.java | 30 public TestCertificateSource(Set<X509Certificate> certificates) { in TestCertificateSource() argument 31 mCertificates = certificates; in TestCertificateSource() 32 for (X509Certificate cert : certificates) { in TestCertificateSource()
|
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | TrustedRootCertificatesTest.java | 40 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/core/java/android/security/net/config/ |
D | KeyStoreCertificateSource.java | 58 Set<X509Certificate> certificates = new ArraySet<>(mKeyStore.size()); in ensureInitialized() local 63 certificates.add(cert); in ensureInitialized() 68 mCertificates = certificates; in ensureInitialized()
|
D | ResourceCertificateSource.java | 55 Set<X509Certificate> certificates = new ArraySet<X509Certificate>(); in ensureInitialized() local 70 certificates.add((X509Certificate) cert); in ensureInitialized() 73 mCertificates = certificates; in ensureInitialized()
|
/frameworks/base/core/java/android/provider/ |
D | FontRequest.java | 70 @NonNull String query, @NonNull List<List<byte[]>> certificates) { in FontRequest() argument 74 mCertificates = Preconditions.checkNotNull(certificates); in FontRequest()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 290 ArrayList<Certificate> certificates = new ArrayList<>(signerInfos.length); in verifySignature() local 297 certificates.addAll(chain); in verifySignature() 300 return certificates.toArray(new Certificate[certificates.size()]); in verifySignature() 455 final Certificate[] certificates = verifySignature(digests, in getInstallerChecksums() local 457 if (certificates == null || certificates.length == 0) { in getInstallerChecksums() 462 certs = new Signature[certificates.length]; in getInstallerChecksums() 463 for (int i = 0, size = certificates.length; i < size; i++) { in getInstallerChecksums() 464 certs[i] = new Signature(certificates[i].getEncoded()); in getInstallerChecksums()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertUtils.java | 332 List<X509Certificate> certificates = (List<X509Certificate>) certPath.getCertificates(); in validateCertPath() local 333 X509Certificate leafCert = certificates.get(0); in validateCertPath() 335 certificates.subList(/*fromIndex=*/ 1, certificates.size()); in validateCertPath()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 95 private final Hashtable<String, Certificate[]> certificates = field in StrictJarVerifier 232 Certificate[] certChain = certificates.get(signatureFile); in initEntry() 383 certificates.put(signatureFile, signerCertChain); in verifyCertificate() 499 return certificates.size() > 0; in isSignedJar()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 337 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in verifySigner() local 340 while (certificates.hasRemaining()) { in verifySigner() 342 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in verifySigner()
|
D | ApkSignatureSchemeV3Verifier.java | 396 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in verifySigner() local 399 while (certificates.hasRemaining()) { in verifySigner() 401 byte[] encodedCert = readLengthPrefixedByteArray(certificates); in verifySigner()
|
/frameworks/base/tools/aapt2/ |
D | ApkInfo.proto | 247 repeated string certificates = 4; field 260 repeated string certificates = 3; field 304 repeated string certificates = 5; field
|
/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/ |
D | AndroidKeystoreAttestationVerificationAttributesTest.java | 287 Collection<? extends Certificate> certificates = mFactory.generateCertificates( in generateCertificates() local 292 for (Certificate cert : certificates) { in generateCertificates()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 331 X509Certificate[] certificates = block.getCertificates(); in verifyPackage() local 332 if (certificates == null || certificates.length == 0) { in verifyPackage() 335 X509Certificate cert = certificates[0]; in verifyPackage()
|
/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:
|
/frameworks/proto_logging/stats/atoms/wifi/ |
D | wifi_extension_atoms.proto | 552 // Require valid OCSP stapling response for all not-trusted certificates
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/proto_logging/stats/ |
D | atoms.proto | 22726 // A digest of the root key that certified the provisioned certificates
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 44444 method public java.security.Certificate[] certificates();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 31946 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certificates()Ljava/util/List;
|