nvat_get_detached_eat_es384#

nvat_rc_t nvat_get_detached_eat_es384(
const nvat_claims_collection_t claims,
const char *private_key_pem,
const char *issuer,
const char *kid,
nvat_str_t *out_detached_eat,
)#
Parameters:
  • claims – - The claims collection to get the detached EAT from.

  • private_key_pem – - The private key to use to sign the detached EAT. If NULL, the EAT will not be signed. Must be generated using ECDSA with the P-384 curve.

  • issuer – - The issuer to use for the detached EAT. If NULL, will be set to “NVAT-LOCAL-VERIFIER”.

  • kid – - The kid to use for the detached EAT. If NULL, the kid header claim will not be set.

  • out_detached_eat – - out parameter, will point to detached EAT, which is a NULL terminated JSON string