qcrypto_key_is_private()

Updated: April 19, 2023

Check if a key is private

Synopsis:

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

Arguments:

key
The key handle.

Library:

libqcrypto

Returns:

1 if the key is private or 0 otherwise.