corda / com.r3.corda.networkmanage.common.signer / LocalSigner

LocalSigner

class LocalSigner : Signer

This local signer is intended to be used in testing environment where hardware signing module is not available.

Types

AuthenticatedLocalSigner

class AuthenticatedLocalSigner : AuthenticatedSigner

Constructors

<init>

LocalSigner(keyStore: <ERROR CLASS>, keyAlias: String, keyStorePassword: String, keyPassword: String, ctx: <ERROR CLASS>)
LocalSigner(keyStorePath: Path, keyStorePassword: String, keyAlias: String, keyPassword: String, ctx: <ERROR CLASS>)LocalSigner(cryptoService: BCCryptoService, keyAlias: String, signerCertChain: List<X509Certificate>, ctx: <ERROR CLASS>)

This local signer is intended to be used in testing environment where hardware signing module is not available.

Properties

ctx

val ctx: <ERROR CLASS>

Functions

authenticate

fun <T : Any> authenticate(headless: Boolean, renderer: Renderer, logOff: Boolean, block: (AuthenticatedSigner) -> T): T

Authentication within the local signer requires no user input, hence the headless and renderer inputs have no effect.