'Declaration
Public Shared Function Load( _ ByVal certificate As X509Certificate2, _ ByVal ensurePrivateKeyAccessible As Boolean _ ) As X509Certificate2
'Usage
Dim certificate As X509Certificate2 Dim ensurePrivateKeyAccessible As Boolean Dim value As X509Certificate2 value = CertificateFactory.Load(certificate, ensurePrivateKeyAccessible)
public static X509Certificate2 Load( X509Certificate2 certificate, bool ensurePrivateKeyAccessible )
public: static X509Certificate2^ Load( X509Certificate2^ certificate, bool ensurePrivateKeyAccessible )
Parameters
- certificate
- The certificate to load.
- ensurePrivateKeyAccessible
- If true a key container is created for a certificate that must be deleted by calling Cleanup.
Return Value
The cached certificate.