StatusListCredential

StatusListCredential represents a digitally verifiable status list credential according to the W3C Verifiable Credentials Status List v2021.

When a status list is published, the result is a verifiable credential that encapsulates the status list.

Functions

Link copied to clipboard
fun create(statusListCredentialId: String, issuer: String, statusPurpose: StatusPurpose, issuedCredentials: Iterable<VerifiableCredential>): VerifiableCredential

Create a StatusListCredential with a specific purpose, e.g., for revocation.

Link copied to clipboard
fun validateCredentialInStatusList(credentialToValidate: VerifiableCredential, httpClient: <Error class: unknown class>? = null): Boolean

Validates if a given credential is part of the status list.

fun validateCredentialInStatusList(credentialToValidate: VerifiableCredential, statusListCredential: VerifiableCredential): Boolean

Validates if a given credential is part of the status list represented by a VerifiableCredential.