'Declaration
Sub AddCertificate( _ ByVal pkiCertificate As IPkiCertificate, _ ByVal overwrite As Boolean, _ ByVal password As String _ )
'Usage
Dim instance As IPkiStore Dim pkiCertificate As IPkiCertificate Dim overwrite As Boolean Dim password As String instance.AddCertificate(pkiCertificate, overwrite, password)
void AddCertificate( IPkiCertificate pkiCertificate, bool overwrite, string password )
void AddCertificate( IPkiCertificate^ pkiCertificate, bool overwrite, String^ password )
Parameters
- pkiCertificate
- The certificate to add.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - overwrite
- Specifies whether to overwrite an existing certificate if it exists.
- password
- A password to access the private key.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).