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

Extensions for java.security.PublicKey

toBase58String fun PublicKey.toBase58String(): <ERROR CLASS>
toStringShort fun PublicKey.toStringShort(): String

Render a public key to a string, using a short form if its an elliptic curve public key

tree val PublicKey.tree: PublicKeyTree

Creates a PublicKeyTree with a single leaf node containing the public key

verifyWithECDSA fun PublicKey.verifyWithECDSA(content: ByteArray, signature: DigitalSignature): Unit

Utility to simplify the act of verifying a signature