• Polina Bondarenko's avatar
    arc: add requiredKeyPairs policy · 4313f778
    Polina Bondarenko authored
    Add requiredKeyPairs ARC policy that contains certificate names for the
    smart card certificates, available to ARC.
    
    This policy is needed to be able to remove smart cards from the list
    once the reader is detached.
    
    The list is updated after the ArcSmartCardManagerBridge::Refresh is called.
    
    Bug: b:119914122
    Test: ./out/Debug/unit_tests --gtest_filter=ArcSmartCardManagerBridgeTest*
    Test: ./out/Debug/unit_tests --gtest_filter=ArcPolicyBridgeRequiredKeyPairTest*
    Test: ./out/Debug/browser_tests --gtest_filter=Arc*
    Test: detach a smart card reader from the local device, make sure that there is no \
          certificate shown in a client certificate user dialog launched from the test \
          Android app.
    
    Change-Id: I524929ac25d67edaaf54eecdd61448a060393c00
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724083
    Commit-Queue: Polina Bondarenko <pbond@chromium.org>
    Auto-Submit: Polina Bondarenko <pbond@chromium.org>
    Reviewed-by: default avatarBartosz Fabianowski <bartfab@chromium.org>
    Reviewed-by: default avatarEdman Anjos <edman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#695977}
    4313f778
arc_policy_bridge.h 7.49 KB