PlatformKeysService functions for built-in certificate provisioning
This CL extends PlatformKeysService by introducing the following new functions: - RemoveKey This function will be used to remove the key pair corresponding to a given DER-encoded SubjectPublicKeyInfo. - GetAttributeForKey This function retrieves the value of an attribute for a private key corresponding to a provided DER-encoded public key. - SetAttributeForKey This function sets the value of an attribute for a private key corresponding to a provided DER-encoded public key. This is not planned to be exposed as an actual extension API. Instead, the functions are implemented mainly to be used by another component (built-in cert_provisioning). Bug: 1045895 Test: browser_tests --gtest_filter= *PlatformKeys* Change-Id: I8797e690487b866c80377aafce615546afd8f54d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151868Reviewed-by:Ryan Sleevi <rsleevi@chromium.org> Reviewed-by:
Omar Morsi <omorsi@google.com> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Reviewed-by:
Michael Ershov <miersh@google.com> Commit-Queue: Omar Morsi <omorsi@google.com> Cr-Commit-Position: refs/heads/master@{#762796}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment