pskc_get_key_policy_keyusages3
Api function
Usage
#include <pskc.h>
int pskc_get_key_policy_keyusages(pskc_key_t * key, int * present);
Arguments
pskc_key_t * key
|
a |
|---|---|
int * present
|
output variable indicating whether data was provided or not. |
Overview
Get the PSKC KeyPackage Key Policy KeyUsage values. The element puts constraints on the intended usage of the key. The recipient of the PSKC document MUST enforce the key usage.
If present is non-NULL, it will be 0 if the field is not present or 1 if it was present.
Returns
an integer holding a set of pskc_keyusage values ORed together.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.