qcrypto_key_is_symmetric()

Check if a key is symmetric

Synopsis:

#include <qcrypto/qcrypto_keys.h>
int qcrypto_key_is_symmetric(qcrypto_key_t *key)

Arguments:

key
The key handle.

Library:

libqcrypto

Returns:

1 if the key is symmetric or 0 otherwise.