public 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 interface 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.
Modifier and Type | Class and Description |
---|---|
static class |
NetworkRegistrationHelper.Companion |
Modifier and Type | Field and Description |
---|---|
static NetworkRegistrationHelper.Companion |
Companion |
Constructor and Description |
---|
NetworkRegistrationHelper(NodeConfiguration config,
NetworkRegistrationService certService)
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
interface 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. |
Modifier and Type | Method and Description |
---|---|
void |
buildKeystore() |
NetworkRegistrationService |
getCertService() |
NodeConfiguration |
getConfig() |
public static NetworkRegistrationHelper.Companion Companion
public NetworkRegistrationHelper(NodeConfiguration config, NetworkRegistrationService certService)
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 interface 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.
public void buildKeystore()
public NodeConfiguration getConfig()
public NetworkRegistrationService getCertService()