Skip to content

libsodium.PKI.PublicKey.Constructor

Andrew Lambert edited this page Jan 21, 2023 · 1 revision

libsodium.PKI.PublicKey.Constructor

Method Signatures

 Sub Constructor(FromKey As libsodium.PKI.EncryptionKey)
 Sub Constructor(FromKey As libsodium.PKI.SigningKey)

Parameters

Constructor(libsodium.PKI.EncryptionKey)

Name Type Comment
FromKey EncryptionKey The Encryption key pair whose public key is to be used.

Constructor(libsodium.PKI.SigningKey)

Name Type Comment
FromKey SigningKey The signing key pair whose public key is to be used.

Remarks

Instantiates the PublicKey using the public half of the specified key pair. To construct an instance of PublicKey from the public half of a key pair, use PublicKey.Operator_Convert(String).

Clone this wiki locally