Create(TdxX509StoreName,TdxX509StoreLocation) Constructor
In This Article
Creates an empty certificate store in memory.
#Declaration
Delphi
constructor Create(AName: TdxX509StoreName; ALocation: TdxX509StoreLocation); overload;
#Parameters
Name | Type |
---|---|
AName | Tdx |
ALocation | Tdx |
#Remarks
Call any of the four overloaded constructors to create an empty certificate storage to populate it later from a system CryptoAPI certificate store.
Overloaded Variant | Description |
---|---|
1 | This constructor variant accepts no parameters and creates an empty container to open a personal certificate store (Name = sn |
2 | This variant accepts a source store location as the ALocation parameter and creates an empty container to open a personal certificate store (Name = sn |
3 | This constructor variant accepts the name of a source system store as the AName parameter and creates an empty container to open the store that belongs to the current user (Location = sl |
4 | This constructor variant accepts the name and location of a source certificate store as the AName and ALocation parameters and creates an empty container to open the specified store. |
Note
Call the Open procedure to open the system certificate store according to the settings defined by a constructor call and populate the Certificates list. Ensure that a Close procedure call follows every Open call to avoid resource leaks.
See Also