pub unsafe extern "C-unwind" fn SecSignTransformCreate(
key: &SecKey,
error: *mut *mut CFError,
) -> Option<CFRetained<SecTransform>>
👎Deprecated: SecTransform is no longer supported
Available on crate features
SecBase
and SecSignVerifyTransform
and SecTransform
only.Expand description
Creates a sign computation object.
Parameter key
: A SecKey with the private key used for signing.
Parameter error
: A pointer to a CFErrorRef. This pointer will be set
if an error occurred. This value may be NULL if you
do not want an error returned.
Returns: A pointer to a SecTransformRef object. This object must be released with CFRelease when you are done with it. This function will return NULL if an error occurred.
This function creates a transform which computes a cryptographic signature. The InputIS defaults to kSecInputIsPlainText, and the DigestType and DigestLength default to something appropriate for the type of key you have supplied.