Statistics
| Branch: | Tag: | Revision:

trustedintents / src @ 05a33beb

Name Size Revision Age Author Comment
  info 51127330 over 2 years Hans-Christoph Steiner fix warnings in javadoc
  org 05a33beb about 2 years Hans-Christoph Steiner include signing key pin for Amnesty iilab Panic...

Latest revisions

# Date Author Comment
05a33beb 12/08/2015 01:50 pm Hans-Christoph Steiner

include signing key pin for Amnesty iilab Panic Button

51127330 08/28/2015 01:32 pm Hans-Christoph Steiner

fix warnings in javadoc

7ad55713 08/28/2015 12:33 pm Hans-Christoph Steiner

add more javadoc!

bd2a6b89 07/30/2014 11:20 pm Hans-Christoph Steiner

implement TrustedIntents.getIntentFromTrustedSender() instance method

The idea is to mimic Activity.getIntent(), but check that the Intent is
from a packageName that is trusted. The difference from getIntent() is
that this one throws Exceptions that must be caught.

81664f35 07/30/2014 08:06 pm Hans-Christoph Steiner

split out trust check based on packageName into separate method

This allows this method to be reused, like for isSenderTrusted().

2f3b3e87 07/30/2014 07:11 pm Hans-Christoph Steiner

store PackageManager in static var so it can be used in static methods

Android has some design patterns that based on static methods, like
Intent.createChooser(), that this library should mirror. In order to
implement those, they will need access to a PackageManager instance, so...

b876bccb 07/18/2014 04:05 am Hans-Christoph Steiner

add methods to remove Trusted Signers test if ApkSignaturePins are trusted

Since TrustedIntents is a singleton, there needs to be a way to remove
items from the list of trusted pins. Getting the instance will inherit any
pins that were set in the past by a given app.

aeb2e7e5 07/18/2014 04:05 am Hans-Christoph Steiner

addTrustedSigner() returns whether add was successful or not

At the very least, this is useful in the tests.

76c3ca66 07/18/2014 04:05 am Hans-Christoph Steiner

isReceiverTrusted() and isIntentSane() check getComponent() for packageName

The packageName can be set with setPackage(), setClassName() or setClass().

  • getPackage() returns what is set by setPackage()
  • getComponent() returns what is set by setClassName() and setClass()
9f8a3056 07/18/2014 04:05 am Hans-Christoph Steiner

ApkSignaturePin: remove useless and unused getSHA256Fingerprint argument

getFingerprint() accesses the instance variable directly for the data.

View revisions

Also available in: Atom