Instance Method

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

func isAlgorithm(SecKeyAlgorithm) -> Bool

Returns whether the specified algorithm is the target operation algorithm.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software