Dart Home | PowerTCP SSL for ActiveX | Custom Development | Reply | PowerTCP SSL for ActiveX Topics | Forums |
Author | Forum: PowerTCP SSL for ActiveX Topic: CertificateStore LOAD method - undocumented feature |
BrendanM From: Durban, South Africa Posts: 80 Member Since: 07/11/02 |
posted July 26, 2011 9:09 AM I notice the CertificateStore has a LOAD method but this not described in the Help file. Can you provide some info on it - like what format must the file be in, and what is the pwd parameter? |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted July 26, 2011 9:44 AM Hello, You may have an old version of the help documentation installed, I've copied the entry here: Loads the certificates contained in a certificate file into the CertificateStore. Syntax Value = Object.Load CertFileName, [Password] Part Description Object Evaluates to a CertificateStore Object or a CertificateList Control. CertFileName String. The full filepath of a pfx file on disk. Password String. If the pfx file is password protected, specifies the password to use to open the file. Remarks Use this method to load certificates contained in a digital certificate file (pfx file) into the CertificateStore. The desired certificate can then be chosen from the store. Using the Load method sets the StoreLocation property to locationRemote and the StoreName property to "". The values of CertFileName and Password passed in are saved internally to be used when the Refresh method is called. If either the StoreLocation or StoreName properties are set, the internal CertFileName and Password are cleared. Error Codes The Load method may generate the following error code (refer to the ErrorConstants topic for a complete list of error codes): certInvalidCertName certInvalidCA certInvalidProvider certError ------ |
BrendanM From: Durban, South Africa Posts: 80 Member Since: 07/11/02 |
posted July 26, 2011 2:52 PM Thanks. Strange about the outdated help file. I just installed the SSL SW & licence that Jamie gave me 2 weeks back. But I have a lot of other Dart products installed many years back - maybe that influenced it. |
Reply | PowerTCP SSL for ActiveX Topics | Forums |
This site is powered by
![]() |