'Declaration
Public Shared Function CreateCopyWithPrivateKey( _ ByVal certificate As X509Certificate2, _ ByVal persisted As Boolean _ ) As X509Certificate2
'Usage
Dim certificate As X509Certificate2 Dim persisted As Boolean Dim value As X509Certificate2 value = X509Utils.CreateCopyWithPrivateKey(certificate, persisted)
public static X509Certificate2 CreateCopyWithPrivateKey( X509Certificate2 certificate, bool persisted )
public: static X509Certificate2^ CreateCopyWithPrivateKey( X509Certificate2^ certificate, bool persisted )
Parameters
- certificate
- persisted
Return Value
The certificate