Contents

canVerify(using:)

Checks whether the algorithm you supply is valid for verifying signatures with the key.

Declaration

func canVerify(using algorithm: SecKeyAlgorithm) -> Bool

Parameters

  • algorithm:

    A cryptographic algorithm.

Return Value

A Boolean value that indicates whether the algorithm you supply is valid for verifying signatures with the key.

See Also

Checking algorithm support