Home
last modified time | relevance | path

Searched refs:signer (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java164 Signature signer = Signature.getInstance("SHA512withRSA"); in createSignature() local
165 signer.initSign(createKey()); in createSignature()
166 signer.update(content.trim().getBytes()); in createSignature()
167 signer.update(version.trim().getBytes()); in createSignature()
168 signer.update(requiredHash.getBytes()); in createSignature()
169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT)); in createSignature()
177 Signature signer = Signature.getInstance("SHA512withRSA"); in verifySignature() local
178 signer.initVerify(cert); in verifySignature()
179 signer.update(content.trim().getBytes()); in verifySignature()
180 signer.update(version.trim().getBytes()); in verifySignature()
[all …]
/frameworks/base/media/lib/signer/api/
Dcurrent.txt2 package com.android.mediadrm.signer {
5 …method public static com.android.mediadrm.signer.MediaDrmSigner.CertificateRequest getCertificateR…
6 …method public static com.android.mediadrm.signer.MediaDrmSigner.Certificate provideCertificateResp…
/frameworks/base/services/tests/servicestests/assets/PackageSignaturesTest/xml/
DREADME7 2. Sign the APK with the first signer:
46 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
51 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
54 - To sign with two distinct signers (NOTE: The V3 signature scheme only supports a single signer,
57 --cert certs/ec-p256.x509.der --key certs/ec-p256.pk8 --next-signer --cert \
/frameworks/base/media/lib/signer/
DAndroid.bp27 name: "com.android.mediadrm.signer",
29 api_packages: ["com.android.mediadrm.signer"],
DREADME.txt2 First, com.android.mediadrm.signer.jar is a shared java library
6 Second, com.android.mediadrm.signer.stubs.jar is a stub for the shared library
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java17 package com.android.mediadrm.signer;
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java186 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local
187 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()
DApkSignatureSchemeV3Verifier.java180 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local
181 result = verifySigner(signer, contentDigests, certFactory); in verify()
DSourceStampVerifier.java377 ByteBuffer signer = getLengthPrefixedSlice(signers); in getApkContentDigestsFromSignatureBlock() local
378 ByteBuffer signedData = getLengthPrefixedSlice(signer); in getApkContentDigestsFromSignatureBlock()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java647 ApkSignatureSchemeV4Verifier.VerifiedSigner signer = in extractHashFromFS() local
649 byte[] hash = signer.contentDigests.getOrDefault(CONTENT_DIGEST_VERITY_CHUNKED_SHA256, in extractHashFromFS()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java983 for (String signer : signers) { in createDigestSet()
984 String digest = PackageUtils.computeSha256Digest(new Signature(signer).toByteArray()); in createDigestSet()
/frameworks/base/
DCleanSpec.mk247 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/com.android.mediadrm.signer.jar)