Make ClientCertStoreNSS use_byte_certs-friendly.

Also introduces:
x509_util::CreateX509CertificateFromCERTCertificate

And extracts GetDEREncoded from x509_certificate_nss.cc.

Bug: 671420
Change-Id: I5b604ad380f466de35322bc81c20b5ce3932f541
Reviewed-on: https://chromium-review.googlesource.com/611311
Commit-Queue: Matt Mueller <mattm@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#495419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 947a0b83058a0a48018f7a713bb390632d5f1d49
2 files changed
tree: 161a5f38d0f3dec29410539152887b515e240e2e
  1. ssl/
  2. LICENSE
  3. OWNERS
  4. README.chromium