IJwtCredentialValidationOptions
@iota/identity-wasm API documentation
Interface: IJwtCredentialValidationOptions
Holds options to create a new JwtCredentialValidationOptions.
Properties
earliestExpiryDate?
readonlyoptionalearliestExpiryDate: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?
readonlyoptionallatestIssuanceDate: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?
readonlyoptionalstatus:StatusCheck
Validation behaviour for credentialStatus.
Default: StatusCheck.Strict.
subjectHolderRelationship?
readonlyoptionalsubjectHolderRelationship: [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?
readonlyoptionalverifierOptions:JwsVerificationOptions
Options which affect the verification of the signature on the credential.