CertList Event

Lists the certificates in a store (see the ListStoreCertificates method).

Syntax

public class DefaultCertmgrEventListener implements CertmgrEventListener {
  ...
  public void certList(CertmgrCertListEvent e) {}
  ...
}

public class CertmgrCertListEvent {
  public byte[] certEncoded;
  public String certSubject;
  public String certIssuer;
  public String certSerialNumber;
  public boolean hasPrivateKey;
}

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]