corda / net.corda.core.crypto / CompositeKeyFactory

CompositeKeyFactory

class CompositeKeyFactory : KeyFactorySpi

Factory for generating composite keys from ASN.1 format key specifications. This is used by CordaSecurityProvider.

Constructors

<init>

CompositeKeyFactory()

Factory for generating composite keys from ASN.1 format key specifications. This is used by CordaSecurityProvider.

Functions

engineGeneratePrivate

fun engineGeneratePrivate(keySpec: KeySpec): PrivateKey

engineGeneratePublic

fun engineGeneratePublic(keySpec: KeySpec): PublicKey?

engineGetKeySpec

fun <T : KeySpec> engineGetKeySpec(key: Key, keySpec: Class<T>): T

engineTranslateKey

fun engineTranslateKey(key: Key): Key

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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