PrApi: LoadCertFile

LoadCertFile

Loads the certificate file.

 Public Function LoadCertFile(
	  ByVal certificate As String,
	  ByVal privateKey As String ) As Boolean

Parameters

certificate
The name of the certificate file.
privateKey
The name of the private key file.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function LoadCertFile(ByVal certificate As String, ByVal privateKey As String) As Boolean

[Delphi] function LoadCertFile(certificate: WideString; privateKey: WideString): Boolean;

[C++] bool LoadCertFile(BSTR certificate, BSTR privateKey);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods Lights LoadCertFileFromMem