corda / com.r3.corda.networkmanage.common.utils / buildCertChainForLocal

buildCertChainForLocal

fun buildCertChainForLocal(certificateAlias: String, certificatesStores: Collection<<ERROR CLASS>>, ctx: <ERROR CLASS>): List<X509Certificate>

This method assumes that the certificates store has been built locally. This will result in two possible scenarios:

  1. The old PKI is being used - the certificate stores will be the locally generated key stores containing private keys with their corresponding full certificate chains attached
  2. The new PKI is being used - the certificates stores will contain single entries for every member in the chain
fun buildCertChainForLocal(certificateAlias: String, certificatesStore: <ERROR CLASS>, ctx: <ERROR CLASS>): List<X509Certificate>

Overload for the buildCertChainForLocal