nvat_detached_eat_options_create#

nvat_rc_t nvat_detached_eat_options_create(
nvat_detached_eat_options_t *out_options,
const char *private_key_pem,
const char *issuer,
const char *kid,
)#

Create a detached EAT options object.

Parameters:
  • 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