ONC: VPN: Translate PKCS11 properties

Desktop / Chromium - Steven Bennetts [chromium.org] - 27 September 2017 14:11 EDT

This provides PKCS11 certificate id properties for the UI.

Bug: 380937 Change-Id: I3f025e201ee167b0377011dbe7aedc11060734cf Reviewed-on: https://chromium-review.googlesource.com/682595

8ba0b06 ONC: VPN: Translate PKCS11 properties
chromeos/network/client_cert_util.cc | 2 +
chromeos/network/onc/onc_translation_tables.cc | 7 ++-
.../network/onc/onc_translator_onc_to_shill.cc | 70 ++++++++++++++++------
.../network/onc/onc_translator_shill_to_onc.cc | 51 ++++++++++++++--
chromeos/network/onc/onc_translator_unittest.cc | 8 +++
.../data/network/openvpn_clientcert_pkcs11.onc | 19 ++++++
.../network/shill_openvpn_clientcert_pkcs11.json | 15 +++++
.../network/shill_output_openvpn_clientcert.json | 15 +++++
.../test/data/network/shill_output_vpn_ipsec.json | 15 +++++
.../network/shill_vpn_ipsec_clientcert_pkcs11.json | 14 +++++
.../translation_of_shill_openvpn_clientcert.onc | 15 +++++
.../network/translation_of_shill_vpn_ipsec.onc | 19 ++++++
.../data/network/vpn_ipsec_clientcert_pkcs11.onc | 22 +++++++
components/onc/docs/onc_spec.md | 46 +++++++++-----
14 files changed, 279 insertions(+), 39 deletions(-)

Upstream: git.chromium.org


  • Share