IJptCredentialValidationOptions
@iota/identity-wasm API documentation
Interface: IJptCredentialValidationOptions
Holds options to create a new JptCredentialValidationOptions.
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
.
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
verificationOptions?
readonly
optional
verificationOptions:JwpVerificationOptions
Options which affect the verification of the proof on the credential.