pub unsafe extern "C-unwind" fn SecKeyIsAlgorithmSupported(
key: &SecKey,
operation: SecKeyOperationType,
algorithm: &SecKeyAlgorithm,
) -> bool
Available on crate features
SecBase
and SecKey
only.Expand description
Checks whether key supports specified algorithm for specified operation.
Parameter key
: Key to query
Parameter operation
: Operation type for which the key is queried
Parameter algorithm
: Algorithm which is queried
Returns: True if key supports specified algorithm for specified operation, False otherwise.