net.corda.core.node.services / KeyManagementService / freshKey

freshKey

abstract fun freshKey(): KeyPair

Generates a new random key and adds it to the exposed map.