Instance Method
isValidSignature(_:for:)
Verifies that the given signature is valid for the given data.
func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocol
Parameters
signatureThe signature to verify.
dataThe data the signature is expected to sign.
Return Value
Whether the signature is valid.