Package web5.sdk.vc
Object StatusListCredential.Companion
-
- All Implemented Interfaces:
public class StatusListCredential.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static StatusListCredential.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StatusListCredentialcreate(Issuer issuer, String statusPurpose, List<VerifiableCredential> credentialsToDisable)Creates a new Status List Credential with the specified issuer, status purpose, and the list of disabled credentials. -
-
Method Detail
-
create
final StatusListCredential create(Issuer issuer, String statusPurpose, List<VerifiableCredential> credentialsToDisable)
Creates a new Status List Credential with the specified issuer, status purpose, and the list of disabled credentials.
- Parameters:
issuer- The entity issuing the Status List Credential.statusPurpose- The purpose of the status (e.g., "revocation").credentialsToDisable- A list of Verifiable Credentials that are disabled (revoked or suspended).- Returns:
A new StatusListCredential instance.
-
-
-
-