X509 support for Security 2.0

Preliminary codes for X509 support.

Change-Id: Ica2822c87069c7bb4972a4ca54b7db3d67093a59
Signed-off-by: Phil Nguyen <philn@qce.qualcomm.com>