operator fun KeyPair.component1(): PrivateKey |
|
operator fun KeyPair.component2(): PublicKey |
|
fun KeyPair.sign(bytesToSign: ByteArray): WithKey
Helper function to sign with a key pair. fun KeyPair.sign(bytesToSign: OpaqueBytes): WithKey
Helper function to sign the bytes of bytesToSign with a key pair. fun KeyPair.sign(signableData: SignableData): TransactionSignature
Helper function for signing a SignableData object. |
|
fun KeyPair.verify(signatureData: ByteArray, clearData: ByteArray): Boolean
Helper function for the signers to verify their own signature. |