Add utility function for loading certificates from a buffer
authorAlex Guzman <reanimus@fb.com>
Tue, 31 Oct 2017 06:38:41 +0000 (23:38 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 31 Oct 2017 06:50:20 +0000 (23:50 -0700)
commitecd0fb38477b04e36685a0808a904fd9080f50b1
tree96a31fa1b00195ee913abaa9f2a5566bb013fced
parente3d0887cb670dd2eb70b805925b2d4b128ea0f70
Add utility function for loading certificates from a buffer

Summary: Adds a function that reads certificates in from a buffer and returns them as a vector of X509 pointers.

Reviewed By: yfeldblum

Differential Revision: D6133332

fbshipit-source-id: eaaaffcbd4d03f37d9d5b4c99a52b0d968b163ba
folly/ssl/OpenSSLCertUtils.cpp
folly/ssl/OpenSSLCertUtils.h
folly/ssl/test/OpenSSLCertUtilsTest.cpp