KeyUtil

object KeyUtil

Functions

Link copied to clipboard
Link copied to clipboard
fun getPublicKey(privateKey: ByteArray): ByteArray
Link copied to clipboard
fun getSignatureBytes(sig: Sign.SignatureData): ByteArray
Link copied to clipboard
fun getSignatureData(signatureBytes: ByteArray): Sign.SignatureData
Link copied to clipboard
fun validateConsentSignature(signature: String, clientAddress: String, peerAddress: String, timestamp: Long): Boolean