Readonly
contextA function to check the revocation status of KiltAttestationV1 proofs, which is tied to the KiltRevocationStatusV1 method.
Placeholder value as @digitalbazaar/vc requires a verificationMethod property on issuance.
Processes a KiltCredentialV1 stub to produce a verifiable KiltCredentialV1 which is anchored on the Kilt blockchain via an attestation.
The class instance keeps track of attestation-related data.
You can then add a proof about the successful attestation to the credential using createProof
.
A partial KiltCredentialV1 credentialSubject
is required.
Parameters describing the credential issuer, such as the issuer's didDocument
and signers
, to be passed to issue.
A copy of the input updated to fit the KiltCredentialV1 and to align with the attestation record (concerns, e.g., the issuanceDate
which is set to the block time at which the credential was anchored).
Adds a proof to a KiltCredentialV1 type document.
! This will fail unless the document has been created with anchorCredential
by the same class instance prior to calling createProof
!
Object containing the function arguments.
A KiltCredentialV1 object to be signed.
Resolves with the created proof object.
A function to check the revocation status of KiltAttestationV1 proofs, which is tied to the KiltRevocationStatusV1 method.