Package web5.sdk.vc

Object StatusListCredential.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.