isValidSignature(_:for:)
Verifies an EdDSA signature over Curve25519.
Declaration
func isValidSignature<S, D>(_ signature: S, for data: D) -> Bool where S : DataProtocol, D : DataProtocolParameters
- signature:
The signature to check against the given data.
- data:
The data covered by the signature.
Return Value
A Boolean value that’s true when the signature is valid for the given data.