Module validator

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.
DecodedJwtCredentialV2
Decoded CredentialV2 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.
JwtCredentialValidatorHybrid
A type for decoding and validating Credentials signed with a PQ/T signature.
JwtCredentialValidatorUtils
Utility functions for verifying JWT credentials.
JwtPresentationValidationOptions
Criteria for validating a Presentation.
JwtPresentationValidator
Struct for validating [Presentation].
JwtPresentationValidatorHybrid
Struct for validating Presentation signed with a PQ/T signature.
JwtPresentationValidatorUtils
Utility functions for verifying JWT presentations.
KeyBindingJwtValidationOptions
Criteria for validating a Key Binding JWT (KB-JWT).
SdJwtCredentialValidator
A type validating [SdJwt]s.
UnexpectedValue
An error indicating that an unexpected value was found.

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.
SdJwtCredentialValidatorError
Errors that can occur when validating an SD-JWT credential.
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.