Skip to main content
Version: 1.4

Interface: IJptCredentialValidationOptions

identity_wasm.IJptCredentialValidationOptions

Holds options to create a new JptCredentialValidationOptions.

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.


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


verificationOptions

Optional Readonly verificationOptions: JwpVerificationOptions

Options which affect the verification of the proof on the credential.