Skip to main content

Module types

Module types 

Source

Structs§

Credential
Final credential payload signed by the issuance key.
CredentialDigest
SHA-256 digest of a finalized credential payload.
CredentialProof
Issuance proof for a finalized credential payload.
HolderId
Holder identifier.
IssuanceRequest
Request produced by a holder during issuance.
IssuanceResponse
Response produced by an issuer during issuance.
Issuer
Issuer metadata signed by the issuer identity key.
IssuerAuthority
Signed issuer metadata used by verifiers before accepting credentials.
IssuerId
Issuer identifier.
IssuerSecretKeys
JSON-friendly issuer secret export.
ProtocolV1
Protocol version marker used by the MVP credential format.
Revocation
Revocation payload signed by the issuer identity key.
RevocationLocation
Location where issuer revocations may be published.
RevocationProof
Issuer proof for a signed revocation.
SchnorrSignatureProof
Schnorr signature proof encoded for JSON.
SignedCredential
Final holder credential.
SignedRevocation
Signed revocation wire object.
Timestamp
Unix timestamp in seconds.

Constants§

CREDENTIAL_DIGEST_DOMAIN_SEPARATOR
Domain separator prepended to canonical credential JSON before hashing.
ISSUER_AUTHORITY_SIGNATURE_DOMAIN_SEPARATOR
Domain separator for issuer authority identity signatures.
REVOCATION_SIGNATURE_DOMAIN_SEPARATOR
Domain separator for revocation identity signatures.