KeyList Event
Lists the keysets in a CSP (see the ListKeys method).
Syntax
[VB.NET] Public Event OnKeyList As OnKeyListHandler
[C#] public event OnKeyListHandler OnKeyList; public delegate void OnKeyListHandler(object sender, CertmgrKeyListEventArgs e); class CertmgrKeyListEventArgs : EventArgs { string KeyContainer {get;} int KeyType {get;} string AlgId {get;} int KeyLen {get;} }
Remarks
The KeyContainer parameter is the name used to identify the keyset (public/private key pair) when it was first created.
KeyType shows the key type: 1 for key exchange (encryption) keys, and 2 for digital signature keys.
KeyLen shows the length of the public key (in bits).