canDecrypt(using:)
Checks whether the algorithm you supply is valid for decrypting data with the key.
Declaration
func canDecrypt(using algorithm: SecKeyAlgorithm) -> BoolParameters
- algorithm:
A cryptographic algorithm.
Return Value
A Boolean value that indicates whether the algorithm you supply is valid for decrypting data with the key.