Package web5.sdk.vc

Class CredentialStatus

  • All Implemented Interfaces:

    
    public final class CredentialStatus
    
                        

    Represents the status information of a Verifiable Credential. CredentialStatus is used to indicate the revocation or suspension status of a credential.

    • Method Detail

      • getId

         final String getId()

        The unique identifier for the credential status.

      • setId

         final Unit setId(String id)

        The unique identifier for the credential status.

      • getType

         final String getType()

        The type(s) of the credential status.

      • getStatusPurpose

         final String getStatusPurpose()

        The purpose of the status (e.g., "revocation" or "suspension").

      • setStatusPurpose

         final Unit setStatusPurpose(String statusPurpose)

        The purpose of the status (e.g., "revocation" or "suspension").

      • getStatusListIndex

         final String getStatusListIndex()

        The index in the status list indicating the credential's position.

      • setStatusListIndex

         final Unit setStatusListIndex(String statusListIndex)

        The index in the status list indicating the credential's position.

      • getStatusListCredential

         final String getStatusListCredential()

        The unique identifier for the Verifiable Credential that lists the status of the credential.

      • setStatusListCredential

         final Unit setStatusListCredential(String statusListCredential)

        The unique identifier for the Verifiable Credential that lists the status of the credential.