Searched refs:signer (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 164 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/ |
D | current.txt | 2 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/ |
D | README | 7 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/ |
D | Android.bp | 27 name: "com.android.mediadrm.signer", 29 api_packages: ["com.android.mediadrm.signer"],
|
D | README.txt | 2 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/ |
D | MediaDrmSigner.java | 17 package com.android.mediadrm.signer;
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 186 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local 187 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()
|
D | ApkSignatureSchemeV3Verifier.java | 180 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local 181 result = verifySigner(signer, contentDigests, certFactory); in verify()
|
D | SourceStampVerifier.java | 377 ByteBuffer signer = getLengthPrefixedSlice(signers); in getApkContentDigestsFromSignatureBlock() local 378 ByteBuffer signedData = getLengthPrefixedSlice(signer); in getApkContentDigestsFromSignatureBlock()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 647 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/ |
D | SigningDetailsTest.java | 983 for (String signer : signers) { in createDigestSet() 984 String digest = PackageUtils.computeSha256Digest(new Signature(signer).toByteArray()); in createDigestSet()
|
/frameworks/base/ |
D | CleanSpec.mk | 247 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/com.android.mediadrm.signer.jar)
|