static fun sign(keyPair: KeyPair!, message: ByteArray!, domain: Int): SignatureAndPublicKey!
(source)
Generates a SignatureAndPublicKey.
keyPair
- KeyPair!: The public and private key pair, not null
message
- ByteArray!: The message to sign, not null
domain
- Int: The domain value added to the message
Return
SignatureAndPublicKey!: The SignatureAndPublicKey, not null
static fun sign(keyPair: KeyPair!, message: Bytes!, domain: Int): SignatureAndPublicKey!
(source)
Generates a SignatureAndPublicKey.
keyPair
- KeyPair!: The public and private key pair, not null
message
- Bytes!: The message to sign, not null
domain
- Int: The domain value added to the message
Return
SignatureAndPublicKey!: The SignatureAndPublicKey, not null