Add KeyStorageFlags property in CertificateConfig

Add KeyStorageFlags property in CertificateConfig to used by the
CertificateManager to instantiate the X509Certificate2
added the support of keyStorageFlags for the security configuration node