IPWorks P2P 2020 Kotlin Edition

Questions / Feedback?

CertList Event

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

Syntax

public open class DefaultCertmgrEventListener : CertmgrEventListener {
  ...
  public override fun certList(e: CertmgrCertListEvent) {}
  ...
}

public class CertmgrCertListEvent {
  val certEncoded: ByteArray?
  val certSubject: String?
  val certIssuer: String?
  val certSerialNumber: String?
  val hasPrivateKey: Boolean
}

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) 2021 /n software inc. - All rights reserved.
IPWorks P2P 2020 Kotlin Edition - Version 20.0 [Build 7941]