corda / net.corda.testing.node / MockServices / keyManagementService

keyManagementService

open val keyManagementService: KeyManagementService

The key management service is responsible for storing and using private keys to sign things. An implementation of this may, for example, call out to a hardware security module that enforces various auditing and frequency-of-use requirements.

You don't normally need to use this directly. If you have a TransactionBuilder and wish to sign it to get a SignedTransaction, look at signInitialTransaction.