Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Create(TdxX509StoreName,TdxX509StoreLocation) Constructor

Creates an empty certificate store in memory.

#Declaration

Delphi
constructor Create(AName: TdxX509StoreName; ALocation: TdxX509StoreLocation); overload;

#Parameters

Name Type
AName TdxX509StoreName
ALocation TdxX509StoreLocation

#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 = snMy) that belongs to the current user (Location = slCurrentUser).
2 This variant accepts a source store location as the ALocation parameter and creates an empty container to open a personal certificate store (Name = snMy) at the specified location.
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 = slCurrentUser).
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