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