Contents

supportsAlgorithm(_:)

Whether the specified algorithm is the target operation algorithm, or one of the other algorithms used.

Declaration

func supportsAlgorithm(_ algorithm: SecKeyAlgorithm) -> Bool

Parameters

  • algorithm:

    The algorithm to be checked.

Return Value

true if algorithm is the target operation algorithm or one of the other algorithms used; otherwise, false.

See Also

Determining Algorithm Usage