Expand description
Verifiable Credentials
Modules§
- status_
list_ 2021 - Implementation of StatusList2021.
- validity_
timeframe_ 2024 - Implementation of a new Revocation mechanism for ZK Verifiable Credentials.
Structs§
- Compound
Credential Validation Error - Errors caused by a failure to validate a
Credential
. - Compound
JwtPresentation Validation Error - Errors caused by a failure to validate a
Presentation
. - Credential
- Represents a set of claims describing an entity.
- Credential
Builder - A
CredentialBuilder
is used to create a customizedCredential
. - Decoded
JptCredential - Decoded
Credential
from a cryptographically verified JWP. - Decoded
JptPresentation - Decoded
Credential
from a cryptographically verified JWP. - Decoded
JwtCredential - Decoded
Credential
from a cryptographically verified JWS. - Decoded
JwtPresentation - Decoded
Presentation
from a cryptographically verified JWS. - Domain
Linkage Configuration - DID Configuration Resource which contains Domain Linkage Credentials.
- Domain
Linkage Credential Builder - Convenient builder to create a spec compliant Domain Linkage Credential.
- Domain
Linkage Validation Error - An error caused by a failure to verify a Domain Linkage configuration or credential.
- Domain
Linkage Validation Error List - List of errors caused by failures to verify a Domain Linkage configuration or credential.
- Evidence
- Information used to increase confidence in the claims of a
Credential
- Jpt
- This JSON Proof Token could represent a JWP both in the Issued and Presented forms.
- JptCredential
Validation Options - Options to declare validation criteria for
Credential
s. - JptCredential
Validator - A type for decoding and validating
Credential
s in JPT format. - JptCredential
Validator Utils - Utility functions for verifying JPT credentials.
- JptPresentation
Validation Options - Criteria for validating a
Presentation
. - JptPresentation
Validator - A type for decoding and validating Presented
Credential
s in JPT format. - JptPresentation
Validator Utils - Utility functions for verifying JPT credentials.
- JwpCredential
Options - Options for creating a JSON Web Proof.
- JwpPresentation
Options - Options to be set in the JWT claims of a verifiable presentation.
- Jws
- A wrapper around a JSON Web Signature (JWS).
- Jwt
- A wrapper around a JSON Web Token (JWK).
- JwtCredential
- A JWT representing a Verifiable Credential.
- JwtCredential
Validation Options - Options to declare validation criteria for
Credential
s. - JwtCredential
Validator - A type for decoding and validating
Credential
s. - JwtCredential
Validator Utils - Utility functions for verifying JWT credentials.
- JwtDomain
Linkage Validator - A validator for a Domain Linkage Configuration and Credentials.
- JwtPresentation
Options - Options to be set in the JWT claims of a verifiable presentation.
- JwtPresentation
Validation Options - Criteria for validating a
Presentation
. - JwtPresentation
Validator - Struct for validating
Presentation
. - JwtPresentation
Validator Utils - Utility functions for verifying JWT presentations.
- KeyBindingJWT
Validation Options - Criteria for validating a Key Binding JWT (KB-JWT).
- Linked
Domain Service - A service wrapper for a Linked Domain Service Endpoint.
- Linked
Verifiable Presentation Service - A service wrapper for a Linked Verifiable Presentation Service Endpoint.
- Policy
- Information used to express obligations, prohibitions, and permissions about
a
Credential
orPresentation
. - Presentation
- Represents a bundle of one or more
Credential
s. - Presentation
Builder - A
PresentationBuilder
is used to create a customized Presentation. - Proof
- Represents a cryptographic proof that can be used to validate verifiable credentials and presentations.
- Refresh
Service - Information used to refresh or assert the status of a
Credential
. - Revocation
Bitmap - A compressed bitmap for managing credential revocation.
- Revocation
Bitmap Status - Information used to determine the current status of a
Credential
using theRevocationBitmap2022
specification. - Revocation
Timeframe Status - Information used to determine the current status of a
Credential
- Schema
- Information used to validate the structure of a
Credential
. - SdJwt
Credential Validator - A type for decoding and validating
SdJwt
s. - Selective
Disclosure Presentation - Used to construct a JwpPresentedBuilder and handle the selective disclosure of attributes.
- Status
- Information used to determine the current status of a
Credential
. - Subject
- An entity who is the target of a set of claims.
- Verifier
Revocation Timeframe Status - Verifier
Enums§
- Domain
Linkage Validation Error Cause - The causes for why domain linkage validation can fail.
- Error
- This type represents errors that can occur when constructing credentials and presentations or their serializations.
- Fail
Fast - Declares when validation should return if an error occurs.
- Issuer
- An identifier representing the issuer of a
Credential
. - JwtValidation
Error - An error associated with validating credentials and presentations.
- KeyBinding
JwtError - An error associated with validating KB-JWT.
- Revocation
Error - Errors occurring when creating or extracting a Service of type
RevocationBitmap2022
- Signer
Context - Specifies whether an error is related to a credential issuer or the presentation holder.
- Status
Check - Controls validation behaviour when checking whether or not a credential has been revoked by its
credentialStatus
. - Subject
Holder Relationship - Declares how credential subjects must relate to the presentation holder during validation.
Traits§
- Revocation
Document Ext - Extension trait providing convenience methods to update a
RevocationBitmap2022
service in aCoreDocument
.
Functions§
- try_
index_ to_ u32 - Attempts to convert the given index string to a u32.
Type Aliases§
- Result
- Alias for a
Result
with the error typeError
. - Revocation
Result - A result type designed for
RevocationBitmap2022
handling.