CertList Event
Lists the certificates in a store (see the ListStoreCertificates method).
Syntax
[VB.NET] Public Event OnCertList As OnCertListHandler
[C#] public event OnCertListHandler OnCertList; public delegate void OnCertListHandler(object sender, CertmgrCertListEventArgs e); class CertmgrCertListEventArgs : EventArgs { string CertEncoded {get;} byte[] CertEncodedB {get;} string CertSubject {get;} string CertIssuer {get;} string CertSerialNumber {get;} bool HasPrivateKey {get;} }
Remarks
The CertSubject and CertIssuer parameters contain distinguished names of the certificate owner and issuer respectively. The HasPrivateKey flag shows whether the private key for the certificate is available in the system.
The StoreList event and the ListCertificateStores and ListMachineStores methods are used to list the certificate stores in the system.