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

Extensions for java.security.PublicKey

toBase58String

Return the Base58 representation of the serialised public key.

fun PublicKey.toBase58String(): String

toSHA256Bytes

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

fun PublicKey.toSHA256Bytes(): ByteArray