Lines Matching refs:Signature
36 import android.content.pm.Signature;
50 * with this signature is allowed.
52 final HashMap<Signature, String[]> mNfceeAccess; // contents final after onCreate()
67 mNfceeAccess = new HashMap<Signature, String[]>();
138 for (Signature s : info.signatures){
161 Log.w(TAG, "denied NFCEE access for " + pkg + " with signature:");
162 for (Signature s : info.signatures) {
193 Signature signature = null;
199 signature = null;
202 if ("android:signature".equals(parser.getAttributeName(i))) {
203 signature = new Signature(parser.getAttributeValue(i));
207 if (signature == null) {
208 Log.w(TAG, "signer tag is missing android:signature attribute, igorning");
211 if (mNfceeAccess.containsKey(signature)) {
212 Log.w(TAG, "duplicate signature, ignoring");
213 signature = null;
217 if (signature == null) {
221 mNfceeAccess.put(signature, packages.toArray(new String[0]));
224 if (signature == null) {
237 signature = null; // invalidate signer
267 Log.i(TAG, "read " + mNfceeAccess.size() + " signature(s) for NFCEE access");
273 for (Signature s : mNfceeAccess.keySet()) {