CkCreateCS C++ Class Reference (Visual C++)
CkCreateCS
Factory class for creating certificate store objects.
Properties
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 get_ReadOnly(void); void put_ReadOnly(bool newVal);
Determines whether certificate stores are opened with read-only or read/write permissions. Only applies to methods such as OpenCurrentUserStore, where the a readOnly parameter is not present. The default is True.
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.
void get_Version(CkString &version);
The version of this component, such as "1.0"
Methods
CkCertStore * CreateFileStore(const char * filename);
Creates a file-based certificate store. If 'filename' already exists, the method will fail.
CkCertStore * CreateMemoryStore();
Creates a temporary certificate store in memory that is initially empty.
CkCertStore * CreateRegistryStore(const char * regRoot, const char * regPath);
Creates a registry-based certificate store. The 'hiveName' can either be "CurrentUser" or "LocalMachine". The 'regPath' argument should be specified without a leading slash, such as "Software/Chilkat/MyCertStore".
CkCertStore * OpenChilkatStore();
Opens the certificate store used by Chilkat Mail and returns the object representing that store.
CkCertStore * OpenCurrentUserStore();
Opens the local system's Current User Certificate Store and returns the object representing that store.
CkCertStore * OpenFileStore(const char * filename);
Opens an existing file certificate store. To open it read-only, readOnly should be non-zero.
CkCertStore * OpenLocalSystemStore();
Opens the local system's Local Machine Certificate Store and returns the object representing that store.
CkCertStore * OpenOutlookStore();
Opens the certificate store used by Microsoft Outlook (and Office) and returns the object representing that store.
CkCertStore * OpenRegistryStore(const char * regRoot, const char * regPath);
Opens an existing registry-based certificate store. 'hiveName' should be either "CurrentUser" or "LocalMachine". The 'regPath' argument should be specified without a leading slash, such as "Software/Chilkat/MyCertStore".
bool SaveLastError(const char * filename);
Saves the last error information to an XML formatted file.
const char * lastErrorHtml();
Error information in HTML format for the last method called.
const char * lastErrorText();
Error information in plain-text format for the last method called.
const char * lastErrorXml();
Error information in XML format for the last method called.
|