Home
last modified time | relevance | path

Searched refs:signer (Results 1 – 9 of 9) 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.bp18 name: "com.android.mediadrm.signer",
20 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.java192 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local
193 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()
DApkSignatureSchemeV3Verifier.java187 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local
188 result = verifySigner(signer, contentDigests, certFactory); in verify()
/frameworks/base/
DCleanSpec.mk247 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/com.android.mediadrm.signer.jar)