corda / net.corda.core.crypto / CompositeSignature

CompositeSignature

class CompositeSignature : Signature

Dedicated class for storing a set of signatures that comprise CompositeKey.

Types

State

data class State

Constructors

<init>

CompositeSignature()

Dedicated class for storing a set of signatures that comprise CompositeKey.

Functions

engineGetParameter

fun engineGetParameter(param: String?): Any

engineInitSign

fun engineInitSign(privateKey: PrivateKey?): Unit

engineInitVerify

fun engineInitVerify(publicKey: PublicKey?): Unit

engineSetParameter

fun engineSetParameter(param: String?, value: Any?): Unit
fun engineSetParameter(params: AlgorithmParameterSpec): Unit

engineSign

fun engineSign(): ByteArray

engineUpdate

fun engineUpdate(b: Byte): Unit
fun engineUpdate(b: ByteArray, off: Int, len: Int): Unit

engineVerify

fun engineVerify(sigBytes: ByteArray): Boolean

Companion Object Properties

SIGNATURE_ALGORITHM

const val SIGNATURE_ALGORITHM: String

Companion Object Functions

getService

fun getService(provider: Provider): Service

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.