Skip to content

Ed25519PrivateKey

paulofaria edited this page Feb 24, 2021 · 3 revisions

Ed25519PrivateKey

public struct Ed25519PrivateKey: PrivateKey

Inheritance

PrivateKey

Initializers

init(data:)

public init(data: Data) throws

init(from:)

public init(from decoder: Decoder) throws

Properties

metaType

var metaType: MetaType

data

var data: Data

publicKey

var publicKey: PublicKey

Methods

encode(to:)

public func encode(to encoder: Encoder) throws

sign(message:)

public func sign(message: Data) throws -> Data

Clone this wiki locally