Skip to main content

Crate sansid

Crate sansid 

Source
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§

BlindCredential
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.
HolderSecret
A 256-bit holder secret released by an approved holder-secret provider.
IssuanceChallenge
A one-time 32-byte nonce that binds a blind-issuance request to an issuer session.
IssuanceRequest
A holder-created blind issuance request.
Issuer
An issuer able to create credentials under one public key.
IssuerPublicKey
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.
ProofRequest
A verifier-supplied request that authorizes exactly one presentation.
ProvisionedCredential
Credential material returned after blind issuance.

Enums§

HolderKeyBackend
The platform boundary that authorizes release of a holder secret.
Predicate
The attribute predicates supported by the fixed SansID v1 schema.
SansIdError
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§

HolderSecretProvider
Supplies the holder secret after platform-native authorization.

Functions§

verify
Verifies one presentation against a verifier’s fresh request and trusted issuer key.