Relying Party Policy#
Functions#
- nvat_rc_t nvat_apply_relying_party_policy(nvat_relying_party_policy_t policy, const nvat_claims_collection_t claims)
Evaluate the given claims collection against a relying party policy.
- nvat_rc_t nvat_relying_party_policy_create_rego_from_str(nvat_relying_party_policy_t *rp_policy, const char *rego_str)
Create a Rego relying party (RP) policy backed by regorus .
- void nvat_relying_party_policy_free(nvat_relying_party_policy_t *relying_party_policy)
Typedefs#
- nvat_relying_party_policy_t
Evaluates attestation results to determine whether the source attesters are trustworthy.
Functions#
- nvat_rc_t nvat_apply_relying_party_policy(
- nvat_relying_party_policy_t policy,
- const nvat_claims_collection_t claims,
Evaluate the given claims collection against a relying party policy.
Returns NVAT_RC_OK if the claims match the policy, NVAT_RC_RELYING_PARTY_POLICY_MISMATCH if the claims do not match the policy.
- Parameters:
claims – The claims collection to evaluate.
policy – The relying party policy to evaluate the claims against.
- nvat_rc_t nvat_relying_party_policy_create_rego_from_str(
- nvat_relying_party_policy_t *rp_policy,
- const char *rego_str,
Create a Rego relying party (RP) policy backed by regorus.
see nvat_claims_collection_st for the format of the input to the policy
- void nvat_relying_party_policy_free(
- nvat_relying_party_policy_t *relying_party_policy,
Typedefs#
-
typedef struct nvat_relying_party_policy_st *nvat_relying_party_policy_t#
Evaluates attestation results to determine whether the source attesters are trustworthy.
The RP policy will be provided attestation results from every attested device type at the end of an nvat_attest_system call.