[The Store object is available for use in the operating systems specified in the Requirements section. Instead, use the X509Store Class in the System.Security.Cryptography.X509Certificates namespace.]
The Store object provides properties and methods that you can use to choose, manage, and use certificate stores and the certificates in those stores. CAPICOM can use Current-User, Local-Machine, memory, and Active Directory stores. Also, stores support smart card–based certificate stores. Developers should be aware that some methods may fail with some stores if operations are attempted for which the user does not have rights.
The Store object has these types of members:
The Store object has these methods.
Adds a Certificate object to the open certificate store.
Closes an open certificate store.
CAPICOM 126.96.36.199 and earlier: The Close method is not supported.
Deletes the certificate store represented by the current Store object.
CAPICOM 188.8.131.52 and earlier: The Delete method is not supported.
Exports the store of an encoded BLOB.
Imports a previously exported store.
Imports Certificate objects from a file into the store.
Opens a certificate store.
Removes a Certificate object from an open store.
The Store object has these properties.
Retrieves the Certificates collection of the store. This is the default property.
Retrieves the location of the certificate store that this object represents.
CAPICOM 184.108.40.206 and earlier: The Location property is not supported.
Retrieves the name of the certificate store that this object represents.
CAPICOM 220.127.116.11 and earlier: The Name property is not supported.
The Store object can be created, and it is safe for scripting. The ProgID for the Store object is CAPICOM.Store.2.
CAPICOM 1.x: The ProgID for the Store object is CAPICOM.Store.1.
|CAPICOM 2.0 or later on Windows Server 2003 and Windows XP|
Build date: 12/11/2013