Module credential

Source
Expand description

The core types used to create Verifiable Credentials.

Structs§

Credential
Represents a set of claims describing an entity.
CredentialBuilder
A CredentialBuilder is used to create a customized 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.
JwpCredentialOptions
Options for creating a JSON Web Proof.
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.
LinkedDomainService
A service wrapper for a Linked Domain Service Endpoint.
LinkedVerifiablePresentationService
A service wrapper for a Linked Verifiable Presentation Service Endpoint.
Policy
Information used to express obligations, prohibitions, and permissions about a Credential or Presentation.
Proof
Represents a cryptographic proof that can be used to validate verifiable credentials and presentations.
RefreshService
Information used to refresh or assert the status of a Credential.
RevocationBitmapStatus
Information used to determine the current status of a Credential using the RevocationBitmap2022 specification.
Schema
Information used to validate the structure of a Credential.
Status
Information used to determine the current status of a Credential.
Subject
An entity who is the target of a set of claims.

Enums§

Issuer
An identifier representing the issuer of a Credential.

Functions§

try_index_to_u32
Attempts to convert the given index string to a u32.