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