Interface: IJwtCredentialValidationOptions
identity_wasm.IJwtCredentialValidationOptions
Holds options to create a new JwtCredentialValidationOptions.
Table of contents
Properties
Properties
earliestExpiryDate
• Optional
Readonly
earliestExpiryDate: Timestamp
Declare that the credential is not considered valid if it expires before this Timestamp. Uses the current datetime during validation if not set.
latestIssuanceDate
• Optional
Readonly
latestIssuanceDate: Timestamp
Declare that the credential is not considered valid if it was issued later than this Timestamp. Uses the current datetime during validation if not set.
status
• Optional
Readonly
status: StatusCheck
Validation behaviour for credentialStatus
.
Default: StatusCheck.Strict
.
subjectHolderRelationship
• Optional
Readonly
subjectHolderRelationship: [string
, SubjectHolderRelationship
]
Declares how credential subjects must relate to the presentation holder during validation.
https://www.w3.org/TR/vc-data-model/#subject-holder-relationships
verifierOptions
• Optional
Readonly
verifierOptions: JwsVerificationOptions
Options which affect the verification of the signature on the credential.