corda / net.corda.core.utilities / java.security.PublicKey

Extensions for java.security.PublicKey

toBase58String

fun PublicKey.toBase58String(): String

Return the Base58 representation of the serialised public key.

toSHA256Bytes

fun PublicKey.toSHA256Bytes(): ByteArray

Return the bytes of the SHA-256 output for this public key.