class NetworkRegistrationHelper
This checks the config.certificatesDirectory for certificates required to connect to a Corda network. If the certificates are not found, a PKCS10CertificationRequest will be submitted to Corda network permissioning server using NetworkRegistrationService. This process will enter a polling loop until the request has been approved, and then the certificate chain will be downloaded and stored in Keystore reside in config.certificatesDirectory.
<init> |
NetworkRegistrationHelper(config: NodeConfiguration, certService: NetworkRegistrationService)
This checks the config.certificatesDirectory for certificates required to connect to a Corda network. If the certificates are not found, a PKCS10CertificationRequest will be submitted to Corda network permissioning server using NetworkRegistrationService. This process will enter a polling loop until the request has been approved, and then the certificate chain will be downloaded and stored in Keystore reside in config.certificatesDirectory. |
certService |
val certService: NetworkRegistrationService |
config |
val config: NodeConfiguration |
buildKeystore |
fun buildKeystore(): Unit |
SELF_SIGNED_PRIVATE_KEY |
val SELF_SIGNED_PRIVATE_KEY: String |
pollInterval |
val pollInterval: Duration |