tuweni / org.apache.tuweni.crypto.sodium / DiffieHelman / PublicKey / forBoxPublicKey

forBoxPublicKey

static fun forBoxPublicKey(publicKey: PublicKey!): PublicKey! (source)

Creates a new public key based on a signature public key.

Parameters

publicKey - PublicKey!: the signature public key to copy

Return
PublicKey!: A public key.