Home
last modified time | relevance | path

Searched refs:signers (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/
DREADME42 Step 2 can be modified to sign with multiple signers by running one of the following commands:
44 - To sign with two signers in the lineage (after the signing key has been rotated once):
47 certs/ec-p256_2.x509.der --key certs/ec-p256_2.pk8 --lineage certs/ec-p256-lineage-2-signers
49 - To sign with three signers in the lineage (after the second key rotation):
52 certs/ec-p256_3.x509.der --key certs/ec-p256_3.pk8 --lineage certs/ec-p256-lineage-3-signers
54 - To sign with two distinct signers (NOTE: The V3 signature scheme only supports a single signer,
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java1044 private SigningDetails createSigningDetailsWithLineage(String... signers) throws Exception { in createSigningDetailsWithLineage() argument
1045 int[] capabilities = new int[signers.length]; in createSigningDetailsWithLineage()
1049 return createSigningDetailsWithLineageAndCapabilities(signers, capabilities); in createSigningDetailsWithLineage()
1052 private SigningDetails createSigningDetailsWithLineageAndCapabilities(String[] signers, in createSigningDetailsWithLineageAndCapabilities() argument
1054 if (capabilities.length != signers.length) { in createSigningDetailsWithLineageAndCapabilities()
1058 Signature[] signingHistory = new Signature[signers.length]; in createSigningDetailsWithLineageAndCapabilities()
1059 for (int i = 0; i < signers.length; i++) { in createSigningDetailsWithLineageAndCapabilities()
1060 signingHistory[i] = new Signature(signers[i]); in createSigningDetailsWithLineageAndCapabilities()
1063 Signature[] currentSignature = new Signature[]{signingHistory[signers.length - 1]}; in createSigningDetailsWithLineageAndCapabilities()
1067 private SigningDetails createSigningDetails(String... signers) throws Exception { in createSigningDetails() argument
[all …]
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java183 ByteBuffer signers; in verify() local
185 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in verify()
189 while (signers.hasRemaining()) { in verify()
197 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify()
DApkSignatureSchemeV3Verifier.java212 ByteBuffer signers; in verify() local
214 signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in verify()
218 while (signers.hasRemaining()) { in verify()
220 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify()
DSourceStampVerifier.java380 ByteBuffer signers = getLengthPrefixedSlice(signatureBlock); in getApkContentDigestsFromSignatureBlock() local
381 while (signers.hasRemaining()) { in getApkContentDigestsFromSignatureBlock()
382 ByteBuffer signer = getLengthPrefixedSlice(signers); in getApkContentDigestsFromSignatureBlock()
/frameworks/base/media/java/android/media/
DMediaDrm.java1672 Signature[] signers = packageInfo.signingInfo.getApkContentsSigners();
1673 if (signers != null && signers.length == 1) {
1674 return signers[0].toByteArray();
1676 Log.w(TAG, "pkg cert: " + signers.length + " signers");
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...