revokeVC
function is an asynchronous method designed to revoke a Verifiable Credential (VC) using blockchain technology. It interacts with a smart contract on a blockchain to mark a credential as revoked.
vcId
(string): The identifier of the Verifiable Credential to be revoked. This is typically a hash of the credential.issuer
(DIDString): The DID of the entity that issued the credential.privateKey
(string): The private key of the entity that is authorized to revoke the credential. This key must correspond to a wallet that has permission to interact with the revocation registry contract. This would be the private key to the wallet address registered in Register DID.options
(VerificationOptions): Configuration options necessary for the revocation process.