Expand description
SansID is a fixed-profile reference implementation for unlinkable attribute proofs.
An issuer signs a holder secret, the fixed credential schema, and an attribute predicate. A presentation proves knowledge of that signature while revealing only the schema and predicate. The holder secret remains hidden and the proof is bound to one verifier challenge and origin.
Structs§
- Blind
Credential - An issuer response carrying a BBS+ signature that remains blinded to the holder secret.
- Credential
- The public BBS+ credential kept in a holder’s encrypted credential envelope.
- Holder
Secret - A 256-bit holder secret released by an approved holder-secret provider.
- Issuance
Challenge - A one-time 32-byte nonce that binds a blind-issuance request to an issuer session.
- Issuance
Request - A holder-created blind issuance request.
- Issuer
- An issuer able to create credentials under one public key.
- Issuer
Public Key - A public issuer key and its deterministic SansID key identifier.
- Origin
- A canonical HTTPS origin approved by the holder for one presentation.
- Presentation
- The complete wire value sent from a holder to a verifier backend.
- Proof
Request - A verifier-supplied request that authorizes exactly one presentation.
- Provisioned
Credential - Credential material returned after blind issuance.
Enums§
- Holder
KeyBackend - The platform boundary that authorizes release of a holder secret.
- Predicate
- The attribute predicates supported by the fixed SansID v1 schema.
- Sans
IdError - Errors returned while creating, encoding, or verifying SansID protocol values.
Constants§
- CIPHERSUITE
- The only BBS+ ciphersuite and profile accepted by this implementation.
- PROTOCOL_
VERSION - Current SansID wire-protocol version.
Traits§
- Holder
Secret Provider - Supplies the holder secret after platform-native authorization.
Functions§
- verify
- Verifies one presentation against a verifier’s fresh request and trusted issuer key.