'Declaration
Function LoadPrivateKey( _ ByVal thumbprint As String, _ ByVal subjectName As String, _ ByVal password As String _ ) As Task(Of X509Certificate2)
'Usage
Dim instance As ICertificateStore Dim thumbprint As String Dim subjectName As String Dim password As String Dim value As Task(Of X509Certificate2) value = instance.LoadPrivateKey(thumbprint, subjectName, password)
Task<X509Certificate2> LoadPrivateKey( string thumbprint, string subjectName, string password )
Task<X509Certificate2^>^ LoadPrivateKey( String^ thumbprint, String^ subjectName, String^ password )
Parameters
- thumbprint
- The thumbprint.
- subjectName
- The certificate subject.
- password
- The certificate password.
Return Value
The matching certificate with private key