Home
last modified time | relevance | path

Searched refs:signer (Results 1 – 5 of 5) 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/
DAndroid.mk22 LOCAL_MODULE:= com.android.mediadrm.signer
35 LOCAL_MODULE := com.android.mediadrm.signer.xml
DREADME.txt1 This library (com.android.mediadrm.signer.jar) is a shared java 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.java223 ByteBuffer signer = getLengthPrefixedSlice(signers); in verify() local
224 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()