Module validator

Source
Expand description

Verifiable Credential and Presentation validators.

Structs§

CompoundCredentialValidationError
Errors caused by a failure to validate a Credential.
CompoundJwtPresentationValidationError
Errors caused by a failure to validate a Presentation.
DecodedJptCredential
Decoded Credential from a cryptographically verified JWP.
DecodedJptPresentation
Decoded Credential from a cryptographically verified JWP.
DecodedJwtCredential
Decoded Credential from a cryptographically verified JWS.
DecodedJwtPresentation
Decoded Presentation from a cryptographically verified JWS.
JptCredentialValidationOptions
Options to declare validation criteria for Credentials.
JptCredentialValidator
A type for decoding and validating Credentials in JPT format.
JptCredentialValidatorUtils
Utility functions for verifying JPT credentials.
JptPresentationValidationOptions
Criteria for validating a Presentation.
JptPresentationValidator
A type for decoding and validating Presented Credentials in JPT format.
JptPresentationValidatorUtils
Utility functions for verifying JPT credentials.
JwtCredentialValidationOptions
Options to declare validation criteria for Credentials.
JwtCredentialValidator
A type for decoding and validating Credentials.
JwtCredentialValidatorUtils
Utility functions for verifying JWT credentials.
JwtPresentationValidationOptions
Criteria for validating a Presentation.
JwtPresentationValidator
Struct for validating Presentation.
JwtPresentationValidatorUtils
Utility functions for verifying JWT presentations.
KeyBindingJWTValidationOptions
Criteria for validating a Key Binding JWT (KB-JWT).
SdJwtCredentialValidator
A type for decoding and validating [SdJwt]s.

Enums§

FailFast
Declares when validation should return if an error occurs.
JwtValidationError
An error associated with validating credentials and presentations.
KeyBindingJwtError
An error associated with validating KB-JWT.
SignerContext
Specifies whether an error is related to a credential issuer or the presentation holder.
StatusCheck
Controls validation behaviour when checking whether or not a credential has been revoked by its credentialStatus.
SubjectHolderRelationship
Declares how credential subjects must relate to the presentation holder during validation.