|
Properties
bool get_Utf8(void) const; void put_Utf8(bool b);
When set to true, all "const char *" arguments are expected to be utf-8 strings. If set to false, the "const char *" arguments are expected to be ANSI strings.
Methods
bool ImportPfxFile(const char *pfxFilename, const char *password, bool bMachineKeyset, bool bLocalMachineCertStore, bool bExportable, bool bUseWarningDialog);
Imports the certificate(s) and private key(s) contained within a PFX file onto the computer. If the "machine keyset" argument is true, the private keys are stored under local computer and not the current user. If the "local machine cert store" argument is true, the certificates are saved in the local machine certificate store. If the "exportable" argument is true, the private keys are marked as exportable. If the "use warning dialog" argument is true, the user is to be notified through a dialog box or other method when certain actions are attempting to use the private key. The precise 'behavior is specified by the cryptographic service provider (CSP) being used.Returns true for success, false for failure.
void LastErrorHtml(CkString &str);
Error information in HTML format for the last method called.
void LastErrorText(CkString &str);
Error information in plain-text format for the last method called.
void LastErrorXml(CkString &str);
Error information in XML format for the last method called.
bool SaveLastError(const char *filename);
Saves the last error information to an XML formatted file.
bool UnlockComponent(const char *unlockCode);
Unlocks the component. This must be called once prior to using the component.Returns true for success, false for failure.
|