Creates the cryptographic signature for 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 in creating the signature.
The data whose signature you want.
The address of a CFError object. If an error occurs, this is set to point at an error instance that describes the failure.
The digital signature or
nil on failure.
You later evaluate the combined data and signature with the corresponding public key and a call to the