Fires once for each key when listing keys.
type TKeyListEvent = procedure ( Sender: TObject; const Name: String; Purpose: Integer; const CreationDate: String; const PrimaryVersion: String ) of Object;
property OnKeyList: TKeyListEvent read FOnKeyList write FOnKeyList;
Name reflects the name of the key.
Purpose reflects the key's purpose. Possible values are:
- 0: Unspecified.
- 1: A symmetric key used for encryption and decryption.
- 2: An asymmetric key used for signing and verification.
- 3: An asymmetric key used for encryption and decryption.
CreationDate reflects the key's creation date, formatted as an RFC 3339 UTC timestamp.
PrimaryVersion reflects the Id of the key's primary version if it is symmetric. For asymmetric keys, it is always empty, since asymmetric keys cannot have a primary version.