ChilkatCreateCS ActiveX Reference (Visual Basic)
ChilkatCreateCS
Factory class for creating certificate store objects.
Properties
LastErrorHtml As String (read-only)
Error information in HTML format for the last method called.
LastErrorText As String (read-only)
Error information in plain-text format for the last method called.
LastErrorXml As String (read-only)
Error information in XML format for the last method called.
ReadOnly As Long
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 (1).
Version As String (read-only)
The version of this component, such as "1.0"
Methods
CreateFileStore(filename As String) As ChilkatCertStore
Creates a file-based certificate store. If 'filename' already exists, the method will fail.
CreateMemoryStore() As ChilkatCertStore
Creates a temporary certificate store in memory that is initially empty.
CreateRegistryStore(regRoot As String, regPath As String) As ChilkatCertStore
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".
OpenChilkatStore() As ChilkatCertStore
Opens the certificate store used by Chilkat Mail and returns the object representing that store.
OpenCurrentUserStore() As ChilkatCertStore
Opens the local system's Current User Certificate Store and returns the object representing that store.
OpenFileStore(filename As String, readOnly As Long) As ChilkatCertStore
Opens an existing file certificate store. To open it read-only, readOnly should be non-zero.
OpenLocalSystemStore() As ChilkatCertStore
Opens the local system's Local Machine Certificate Store and returns the object representing that store.
OpenOutlookStore() As ChilkatCertStore
Opens the certificate store used by Microsoft Outlook (and Office) and returns the object representing that store.
OpenRegistryStore(regRoot As String, regPath As String, readOnly As Long) As ChilkatCertStore
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".
SaveLastError(filename As String)
Saves the last error information to an XML formatted file.
|