Skip to content
Permalink
Branch: master
Commits on Sep 3, 2019
  1. Added utility for fetching and decoding attestation certificate status.

    robbarnes committed Aug 20, 2019
    Added check of certificate status to example.
    
    TEST: Added AttestationCerificateStatusTest unit test
    Change-Id: I891929baefef2a8300fd8b59f4f53c026cfc7356
  2. Change UserAuthType to Enum.

    MatejZidek committed Sep 3, 2019
    Change-Id: I69ed59331f49a7d0d7fb7eccb9879c6abfa5afa5
  3. Fix Java practices in AttestationApplicationIdTest.

    MatejZidek committed Sep 3, 2019
    - Constant field declarations should use the immutable type (such as
    ImmutableList) instead of the general collection interface type (such as
    List)
    - Implicit use of the platform default charset, which can result in
    differing behaviour between JVM executions or incorrect behavior if the
    encoding of the data source doesn't match expectations.
    
    Change-Id: I591b60acf5c65eed3a049bc8418333ca74151792
Commits on Sep 2, 2019
  1. Update Bouncy Castle to 1.61.

    MatejZidek committed Sep 2, 2019
    Change-Id: Ie72b93647f3cf6c30bb86005ef3a026e0fb53ed5
  2. Merge "Override hashCode in AttestationApplicationId."

    MatejZidek authored and Gerrit Code Review committed Sep 2, 2019
  3. Override hashCode in AttestationApplicationId.

    MatejZidek committed Aug 30, 2019
    + some nits:
    - add explicit encoding,
    - reorder comparison to have the constant on RHS,
    - rename private method in RootOfTrust as the previous name did not
    desribe its operation,
    - fix typo in an enum,
    - make inner class ByteArrayComparator static.
    
    Change-Id: Ib8999627907310492496e1b7fd08ed27d7b6b16f
Commits on Aug 30, 2019
  1. Update the documentation.

    MatejZidek committed Aug 30, 2019
    Change-Id: Ia4a7f72a12b869cdb35960caf92935f4fc35b3b8
  2. Fix java style in the Example app.

    MatejZidek committed Aug 22, 2019
    - Stop using default certificate dir so that it does not depend on the
    structure.
    - Add private constructor to a class with all members static.
    - Use explicit UTF_8 encoding.
    - Make sure stream gets closed.
    - Take generic Optional as an argument in printOptional().
    
    Change-Id: Iaf65b477049735f8c44d7f3b134c1c3c2509b874
Commits on Aug 22, 2019
  1. Parse AttestationApplicationId

    MatejZidek committed Aug 7, 2019
    Change-Id: Ide8655c382a7fe120d5dfa8fdb6fb5ecee52cbe3
Commits on Jul 30, 2019
  1. Revert "Add Immutable annotations"

    MatejZidek committed Jul 30, 2019
    This reverts commit 8c10242.
    
    Reason for revert: the fields are not actually immutable, see https://sponge.corp.google.com/invocation?tab=Build+Log&id=cbe6565d-5515-4e81-98ac-bbda2c3677d0.
    
    Change-Id: I2649a15d0ae7c72d66babbd86b996f2760e3aa33
Commits on Jul 29, 2019
  1. Add Immutable annotations

    MatejZidek committed Jul 29, 2019
    And fix a typo in AuthorizationListTest: VERISON -> VERSION.
    
    Change-Id: Ida422e3478fcc59fcbd99f2a48af538b0be6135b
  2. Fix RootOfTrust's verifiedBootHash

    MatejZidek committed Jul 29, 2019
    VerifiedBootHash is present only in key attestation version 3. Hence it
    should not be expected in earlier versions.
    
    Change-Id: I9b67dea2c863c1a0ef500e451b942dd5c0ad6efd
Commits on Jul 24, 2019
  1. Fix Java style and best practices

    MatejZidek committed Jul 24, 2019
    - fix typos and unnecessary parentheses
    - a private method that does not reference the enclosing instance can be static
    - use ImmutableSet instead of HashSet
    - simplify null checks
    - use explicit charset in getBytes()
    - use Instant and Duration for time related fields in AuthorizationList
    
    Change-Id: Ia615ae1113efc275b7e7c01cc9a627eb568a7fd3
Commits on Jul 17, 2019
  1. Move certificate parsing to separate package

    MatejZidek committed Jul 17, 2019
    New package: com.google.android.attestation
    
    Change-Id: I0103da597505dfeb101825b0cd742a22f38a4f18
  2. Add tests

    MatejZidek committed Jul 15, 2019
    Change-Id: I80d8b13076527bf7c3cf35cb6f8eef0bf744ac18
Commits on Jul 12, 2019
  1. Add examples of PEM encoded certificates

    MatejZidek committed Jul 12, 2019
    Change-Id: I6a217f908d85733152f3202db324d19da029d058
Commits on Jul 10, 2019
  1. Use all keys of all attestation versions

    MatejZidek committed Jun 21, 2019
    - ParsedAttestationRecord class
    - move constants to a separate file
    - add example certificates generated by testDPC
      with combinations of RSA/EC keys and StrongBox on/off
    
    Change-Id: I74173c7a1ae0c20175d4de761e8a3929ea252b10
Commits on Jul 1, 2019
  1. Code reformatting

    MatejZidek committed Jun 20, 2019
    - line width increased to 100 characters
    - 2 spaces per tab instead of 4
    - deleted some empty lines
    
    Change-Id: Ia3bcd30257f910e32676e0804b52106ab7c67498
Commits on Dec 20, 2016
  1. Fix links in README files.

    jfschmakeit committed Dec 20, 2016
    Change-Id: I864387df643b9506d01ab6b90859f31277db3d8c
  2. Add key attestation sample.

    jfschmakeit committed Dec 15, 2016
    Change-Id: Id7967f73633742c5d508bfabf34eb519c512381a
Commits on Dec 15, 2016
  1. Initial empty repository

    jfschmakeit authored and Gerrit Code Review committed Dec 15, 2016
You can’t perform that action at this time.