• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • legacy-credentials/src
  • Credential
  • refreshRevocationStatus

Function refreshRevocationStatus

  • refreshRevocationStatus(verifiedCredential): Promise<VerifiedCredential>
  • Updates the revocation status of a previously verified credential to allow checking if it is still valid.

    Parameters

    • verifiedCredential: VerifiedCredential

      The output of verifyCredential or verifyPresentation, which adds a revoked and attester property.

    Returns Promise<VerifiedCredential>

    A promise of resolving to the same object but with the revoked property updated. The promise rejects if the attestation has been deleted or its data changed since verification.

    • Defined in packages/legacy-credentials/src/Credential.ts:381

Settings

Member Visibility

Theme

API Documentation
  • asset-credentials/src
  • chain-helpers/src
  • config/src
  • credentials/src
  • did/src
  • jsonld-suites/src
  • legacy-credentials/src
    • Attestation
    • Claim
    • Credential
      • VerifiedCredential
      • Options
      • calculateRootHash
      • createPresentation
      • fromClaim
      • getHash
      • isICredential
      • isPresentation
      • makeSigningData
      • refreshRevocationStatus
      • removeClaimProperties
      • verifyAgainstAttestation
      • verifyAttested
      • verifyCredential
      • verifyDataIntegrity
      • verifyDataStructure
      • verifyPresentation
      • verifyRootHash
      • verifySignature
      • verifyWellFormed
    • fromVC
    • toVc
  • sdk-js/src
  • types/src
  • utils/src