Decrypts a block of data using a private key and specified algorithm.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
The private key to use to perform the decryption.
The data, produced with the corresponding public key and a call to the
Secfunction, that you want to decrypt.
Key Create Encrypted Data(_: _: _: _:)
The address of a CFError object. If an error occurs, this is set to point at an error instance that describes the failure.
The decrypted data or
nil on failure.