PublicKey

An XDH public key that provides shared secret computation via sharedSecretGenerator.

Types

Link copied to clipboard
sealed class Format : EncodingFormat

Encoding formats for XDH public keys.

Functions

Link copied to clipboard

Encodes this material into a ByteArray in the specified format.

Link copied to clipboard

Encodes this material into a ByteArray in the specified format.

Link copied to clipboard

Encodes this material into a ByteString in the specified format.

Link copied to clipboard

Encodes this material into a ByteString in the specified format.

Link copied to clipboard

Returns a SharedSecretGenerator that computes a shared secret using this public key and a PrivateKey.