Skip to content

Instance Method

signature(for:)

Signs the given data.
func signature<D>(for data: D) throws -> Data where D : DataProtocol

Parameters

data

The data to sign.

Return Value

The signature.

Discussion

Throws

If the signature couldn’t be produced.