AEGIS by ProtoworksDevelopers
Menu

ToolT2

Credential inspector

Choose one of RFC 9901’s examples, or paste your own selective-disclosure JWT (SD-JWT): the tool takes it apart in your browser, checks the Issuer’s signature, hashes every Disclosure and finds the digest it opens RFC9901 §4.2.3, and shows the claims a verifier ends with RFC9901 §7.1. It reads SD-JWT and SD-JWT VC; mdoc and AnonCreds are not read here.

Runs in your browser
Issuer-signed JWT
alg ES256, typ example+sd-jwtSigned by the Issuer over the digests, not the claims RFC9901 §4.1
Disclosures
4A salt, a claim name and a value, base64url-encoded RFC9901 §4.2
Digest algorithm
sha-256Named by _sd_alg; sha-256 when absent RFC9901 §4.2.3
Key Binding JWT
PresentThe presenter’s proof of the key the credential names RFC9901 §4.3

Agrees with the specification The Issuer’s signature verifies with the key the RFC publishes for its examples RFC9901 §A.5.

Each Disclosure, its digest, and where its claim lands
DigestClaimValueLands at
TGf4oLbgwd…family_name"Doe"(top level)
XzFrzwscM6…address{"street_address":"123 Main St","locality":"Anytown","region…(top level)
jsu9yVulwQ…given_name"John"(top level)
pFndjkZ_VC…(array element)"US"nationalities[0]
Digests no Disclosure opens
6Withheld claims and decoy digests look the same to a verifier RFC9901 §4.2.5
Where they sit
nationalities[…], (top level)

Agrees with the specification Every Disclosure opens exactly one digest, and no claim is both in the payload and disclosed RFC9901 §7.1.

typ
kb+jwt
nonce
1234567890The verifier’s one-time value, so the proof cannot be replayed elsewhere
aud
https://verifier.example.orgThe verifier it was made for
iat
1748537244
sd_hash
0_Af-2B-EhLWX5ydh_w2xzwmO6iM66B_2QCEanI4fUYThe hash of the presentation up to its last tilde RFC9901 §4.3.1

Agrees with the specification Its sd_hash is the hash of exactly what was presented.

Agrees with the specification Its signature verifies with the key the credential names in cnf: the presenter holds that key RFC9901 §4.3.2.

The Issuer-signed JWT, decoded
{
  "header": {
    "alg": "ES256",
    "typ": "example+sd-jwt"
  },
  "payload": {
    "_sd": [
      "CrQe7S5kqBAHt-nMYXgc6bdt2SH5aTY1sU_M-PgkjPI",
      "JzYjH4svliH0R3PyEMfeZu6Jt69u5qehZo7F7EPYlSE",
      "PorFbpKuVu6xymJagvkFsFXAbRoc2JGlAUA2BA4o7cI",
      "TGf4oLbgwd5JQaHyKVQZU9UdGE0w5rtDsrZzfUaomLo",
      "XQ_3kPKt1XyX7KANkqVR6yZ2Va5NrPIvPYbyMvRKBMM",
      "XzFrzwscM6Gn6CJDc6vVK8BkMnfG8vOSKfpPIZdAfdE",
      "gbOsI4Edq2x2Kw-w5wPEzakob9hV1cRD0ATN3oQL9JM",
      "jsu9yVulwQQlhFlM_3JlzMaSFzglhQG0DpfayQwLUK4"
    ],
    "iss": "https://issuer.example.com",
    "iat": 1683000000,
    "exp": 1883000000,
    "sub": "user_42",
    "nationalities": [
      {
        "...": "pFndjkZ_VCzmyTa6UjlZo3dh-ko8aIKQc9DlGzhaVYo"
      },
      {
        "...": "7Cf6JkPudry3lcbwHgeZ8khAv1U1OSlerP0VkBJrWZ0"
      }
    ],
    "_sd_alg": "sha-256",
    "cnf": {
      "jwk": {
        "kty": "EC",
        "crv": "P-256",
        "x": "TCAER19Zvu3OHF4j4W4vfSVoHIP1ILilDls7vCeGemc",
        "y": "ZxjiWWbZMQGHVWKVQ4hbSIirsVfuecCE6t4jT9F2HZQ"
      }
    }
  }
}
What the verifier ends with
{
  "iss": "https://issuer.example.com",
  "iat": 1683000000,
  "exp": 1883000000,
  "sub": "user_42",
  "nationalities": [
    "US"
  ],
  "cnf": {
    "jwk": {
      "kty": "EC",
      "crv": "P-256",
      "x": "TCAER19Zvu3OHF4j4W4vfSVoHIP1ILilDls7vCeGemc",
      "y": "ZxjiWWbZMQGHVWKVQ4hbSIirsVfuecCE6t4jT9F2HZQ"
    }
  },
  "family_name": "Doe",
  "address": {
    "street_address": "123 Main St",
    "locality": "Anytown",
    "region": "Anystate",
    "country": "US"
  },
  "given_name": "John"
}

Agrees with the specification These are the claims RFC 9901 says the verifier ends with (§5.2).

What you just saw

A selective-disclosure credential is a signed list of digests plus the claims behind the digests you choose to show (3.2 SD-JWT and SD-JWT VC). The signature covers the digests, not the claims, so a verifier checks each Disclosure by hashing it, and a digest nobody opens stays unreadable, whether it hides a claim or is a decoy RFC9901 §4.2.5. A Key Binding JWT proves the presenter holds the key the credential names, and signs a hash of exactly what was presented RFC9901 §4.3.1.

Verified against
  • RFC9901 Selective Disclosure for JSON Web Tokens version RFC 9901, checked 2026-10-29

Last reviewed 2026-10-29. Next review 2027-04-29. Every quotation is checked against the text it quotes, at the version named, before the page is published.