Home
last modified time | relevance | path

Searched refs:appCertHashes (Results 1 – 2 of 2) sorted by relevance

/packages/apps/SecureElement/src/com/android/se/security/
DAccessControlEnforcer.java309 List<byte[]> appCertHashes = getAppCertHashes(packageName); in internal_setUpChannelAccess() local
311 if (appCertHashes == null || appCertHashes.size() == 0) { in internal_setUpChannelAccess()
318 return getAccessRule(aid, appCertHashes); in internal_setUpChannelAccess()
328 byte[] aid, List<byte []> appCertHashes) in getAccessRule() argument
331 for (byte[] appCertHash : appCertHashes) { in getAccessRule()
340 channelAccess = mAccessRuleCache.findAccessRule(aid, appCertHashes); in getAccessRule()
376 List<byte[]> appCertHashes = new ArrayList<byte[]>(); in getAppCertHashes() local
378 appCertHashes.add(md.digest(signature.toByteArray())); in getAppCertHashes()
379 appCertHashes.add(md256.digest(signature.toByteArray())); in getAppCertHashes()
381 return appCertHashes; in getAppCertHashes()
[all …]
DAccessRuleCache.java243 public ChannelAccess findAccessRule(byte[] aid, List<byte[]> appCertHashes) in findAccessRule() argument
245 ChannelAccess ca = findAccessRuleInternal(aid, appCertHashes); in findAccessRule()
269 private ChannelAccess findAccessRuleInternal(byte[] aid, List<byte[]> appCertHashes) in findAccessRuleInternal() argument
285 for (byte[] appCertHash : appCertHashes) { in findAccessRuleInternal()
327 for (byte[] appCertHash : appCertHashes) { in findAccessRuleInternal()
451 public boolean checkCarrierPrivilege(String packageName, List<byte[]> appCertHashes) { in checkCarrierPrivilege() argument
452 for (byte[] hash : appCertHashes) { in checkCarrierPrivilege()