-
Initializes a Curve25519 Key for Key Agreement.
Throws
Throws if the data is not a valid key.Declaration
Swift
public init<D>(rawRepresentation: D) throws where D : ContiguousBytesParameters
rawRepresentationThe data representation of the key
Return Value
An initialized key if the data is valid.
-
A data representation of the public key
Declaration
Swift
public var rawRepresentation: Data { get }
View on GitHub
Install in Dash
PublicKey Structure Reference