Configurable trust

As a relying party you are responsible for validating the credentials you rely on. A trust policy is how you tell Nexiel Verify what you accept: which attestations and formats, which attributes to ask for, which issuers and trust lists to trust, from which Member States, and how to treat revocation. Each check type starts from the Nexiel default policy, which you can narrow per environment and per relying-party service.

What a policy decides

  • Attestations and formats. For example, accept only the EU age verification attestation for age-verification, or only the SD-JWT VC encoding of the PID.
  • Attributes. Ask for fewer attributes than the check type's default where the check allows it, for example a mobile driving licence check without the licence's expiry date. Attributes a check cannot work without, or that the law requires (all of them for aml-identity, whose identification data includes date of birth and nationality), stay requested.
  • Trust sources. The Commission list of PID providers, the EU age verification list, the mDL and company register anchors Nexiel has configured, the national trusted lists for qualified attestations (QEAA), the Commission list of public-sector attestation providers (Pub-EAA), OpenID Federation, your own accepted issuers, and issuer certificates you pin in the policy. Your accepted issuers, pinned certificates and the QEAA and Pub-EAA lists are never on by default: you name each accepted issuer for the one attestation it may issue, and a credential must chain through the exact CA path you accepted. The QEAA and Pub-EAA lists apply to the mobile driving licence and corporate mandate attestations. They do not record which attestation types each provider issues, so adding one to an attestation accepts every provider on it for that attestation, within your Member State rules. The credential must still be the type the check requests.
  • Member States. An allow list and a deny list for each list-based source, using the codes the EU trusted lists use (Greece is EL). A list entry that names no Member State carries the code EU. Any deny list refuses it, because it cannot be shown to be outside that list. Name EU in the allow list to accept it.
  • Revocation. Whether revocation is checked, and whether a credential whose status cannot be established is refused or accepted with a flag on the decision.

The limits the law sets

  • A request never asks for more than your registration certificate registers for the service (eIDAS Article 5b(3)). A policy that asks for more is refused with trust_policy_exceeds_registration.
  • A PID is only ever trusted from the Commission list of PID providers or, where you accept it, an OpenID Federation ecosystem such as Italy's IT-Wallet. The Nexiel default policy accepts both. You can restrict either to some Member States or leave federation out, but you cannot remove the Commission list. Your accepted issuers and pinned certificates apply to mobile driving licence and corporate mandate checks, never to a PID.
  • Device binding is always verified.
  • Qualified signature and seal approvals always check the signer's PID for revocation. Their revocation rule cannot be changed.
  • A credential whose status list Nexiel publishes (Nexiel test credentials, and credentials from issuers hosted on Nexiel) is always checked for revocation, for every check type, and is refused with credential_status_unavailable if its status cannot be read. No policy changes this, including one that turns revocation checking off.
  • For aml-identity, corporate-mandate-verification and sca-* checks, a credential whose revocation status cannot be established is refused by default. A weaker rule needs an acknowledged reason, which is recorded with the version and in your audit trail.

Start from the default

The preset route returns the Nexiel default policy for a check type, what you may change, and the DCQL request it produces:

curl -s https://compliance.nexiel.io/v1/verify/trust-policies/presets/aml-identity \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN"

POST /v1/verify/trust-policies/preview validates a policy and shows its request without saving it.

Save and activate a version

Every save is a new, immutable version. Set activate to put it in force at once, or activate a version later with POST /v1/verify/trust-policies/{id}/versions/{versionId}/activate. Leave out rpServiceId for a policy that applies to every service without one of its own. A test key manages the sandbox policies, which apply to test-mode sessions, and a live key the production ones. environment defaults to your key's own, and the other one is refused. Production writes need an approved KYB application.

curl -s -X POST https://compliance.nexiel.io/v1/verify/trust-policies \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "environment": "production",
    "checkType": "aml-identity",
    "activate": true,
    "policy": {
      "attestations": [
        {
          "attestation": "pid",
          "formats": ["dc+sd-jwt", "mso_mdoc"],
          "attributes": ["birthdate", "family_name", "given_name", "nationalities"],
          "trustSources": [
            { "source": "eu_pid_providers", "jurisdictions": { "allow": ["AT", "DE", "IE"], "deny": [] } }
          ]
        }
      ],
      "revocation": { "checkRevocation": true, "onStatusUnavailable": "reject" }
    }
  }'
201
{
  "policy": {
    "trustPolicyId": "5d3f1c2a-8e1b-4f0a-9c55-2b7e6a1d9f30",
    "environment": "production",
    "checkType": "aml-identity",
    "rpServiceId": null,
    "activeVersionId": "a0c4e7b2-61f9-4d8e-b3a5-7c2d9e1f4b68",
    "activatedAt": "2026-10-23T09:12:44.512Z",
    "createdAt": "2026-10-23T09:12:44.512Z"
  },
  "version": {
    "versionId": "a0c4e7b2-61f9-4d8e-b3a5-7c2d9e1f4b68",
    "version": 1,
    "sha256": "4b9f0e6c1d2a7b3e8f5c4d1a9e0b6c7d2f3a8e5b1c4d7f0a9e2b5c8d1f4a7e3b",
    "floorOverride": false,
    "createdVia": "api"
  },
  "created": true,
  "activated": true
}

A session uses the version in force when it starts, and completes under that same version even if you activate another one meanwhile.

Lowering the revocation floor

"revocation": { "checkRevocation": true, "onStatusUnavailable": "accept_with_flag" },
"floorOverride": {
  "acknowledged": true,
  "reason": "Risk analysis RA-2026-14: our issuers do not publish status lists yet"
}

Without floorOverride, the request is refused with trust_policy_floor_override_required.

Issuer registration

An issuer registers with its Member State, and its registration certificate can list the credential types it registered. You can require that a credential's type is on that list. This is off by default, and it applies to credentials presented as SD-JWT VCs. When it is on, Nexiel reads the registration certificate from the issuer's signed metadata, checks that the metadata is signed by the issuer's access certificate and that the registration certificate is valid, not revoked and issued to the organization that signed the credential. A registered type shows what the issuer declared when it registered. It is not an authorisation to issue that type, and it never replaces the trust sources above.

"issuerRegistration": {
  "requireRegisteredAttestationType": true,
  "onRegistrationUnavailable": "reject"
}

A type the issuer did not register is refused with attestation_type_not_registered. When the registration cannot be established, for example because the issuer publishes no registration certificate in its metadata or the credential is an mdoc, which names no issuer metadata, onRegistrationUnavailable decides: reject refuses it with issuer_registration_unavailable, and accept_with_flag accepts it and records the outcome. Each decision states the outcome in trustPolicy.issuerRegistration. Because some providers publish their registration and others do not, that outcome can say something about who issued a person's own credential. Turn the check on only where you need it.

On every decision

Each decision records the policy version (null for the Nexiel default), the SHA-256 of the canonical policy document and the trust source that accepted the issuer. For a corporate mandate, and for an issuer you accepted or pinned yourself, it also states the SHA-256 of the trust anchor certificate, and for a corporate mandate the company register's Member State. Neither is given for a person's own PID, age attestation or driving licence, where they would point to the issuing Member State. For aml-identity the same hash is part of the frozen decision artifact.

"trustPolicy": {
  "versionId": "a0c4e7b2-61f9-4d8e-b3a5-7c2d9e1f4b68",
  "sha256": "4b9f0e6c1d2a7b3e8f5c4d1a9e0b6c7d2f3a8e5b1c4d7f0a9e2b5c8d1f4a7e3b",
  "trustSource": "eu_pid_providers",
  "issuerJurisdiction": null,
  "trustAnchorSha256": null,
  "issuerRegistration": null
}

When an issuer is trusted only by a source your policy does not accept, the session fails with issuer_not_accepted_by_policy, and the verify.session.failed event says which rule refused it: trust_source_not_accepted, jurisdiction_not_accepted, federation_ecosystem_not_accepted or credential_format_not_accepted, and with issuer registration on, attestation_type_not_registered or issuer_registration_unavailable. An issuer no source trusts fails with issuer_not_trusted, as before.

{
  "type": "verify.session.failed",
  "data": {
    "sessionId": "7f1d2c3b-4a5e-4f6d-8c7b-9a0e1f2d3c4b",
    "checkType": "aml-identity",
    "reason": "issuer_not_accepted_by_policy",
    "policyRejectionReason": "jurisdiction_not_accepted"
  }
}

Production status

Trust policies apply in test mode and live mode today. In live mode, each trust source accepts issuers only once its list is published and configured. The Commission has not yet published the list of PID providers, so a live PID is accepted only through an OpenID Federation ecosystem your policy accepts, and only once that ecosystem's Trust Anchor keys are configured on the Nexiel live service (see joining the IT-Wallet federation). Until then a live PID is refused. The QEAA, Pub-EAA, mDL and company register sources accept issuers only where those lists or anchors are configured. The issuer registration check needs the Commission lists of access certificate and registration certificate providers, which are not yet published. Until they are, a registration cannot be established in live mode, so it follows your onRegistrationUnavailable choice. A live session also needs your own relying-party certificates (see going live).