From 5a1f9f58383179fb1759536ab145de9ae11c8870 Mon Sep 17 00:00:00 2001 From: nitro-neal <5314059+nitro-neal@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:48:47 -0700 Subject: [PATCH] Update bound/kt/src/main/kotlin/web5/sdk/vc/StatusListCredential.kt --- .../web5/sdk/vc/StatusListCredential.kt | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/bound/kt/src/main/kotlin/web5/sdk/vc/StatusListCredential.kt b/bound/kt/src/main/kotlin/web5/sdk/vc/StatusListCredential.kt index c9e6f723..7f353c43 100644 --- a/bound/kt/src/main/kotlin/web5/sdk/vc/StatusListCredential.kt +++ b/bound/kt/src/main/kotlin/web5/sdk/vc/StatusListCredential.kt @@ -79,28 +79,7 @@ data class StatusListCredential( * * Example usage: * ``` - * val issuerBearerDid = DidJwk.create(null) - * val subjectDidUri = "did:dht:ng4hmqtrgujox4agpf8okxihnyy1zqnq97qfeq15x8oar7yepzhy" - * - * val verifiableCredential = VerifiableCredential.create( - * Issuer.StringIssuer(issuerBearerDid.did.uri), - * CredentialSubject(id = subjectDidUri), - * VerifiableCredentialCreateOptions( - * credentialStatus = CredentialStatus( - * id = "https://example.com/status/1", - * type = "StatusList2021Entry", - * statusPurpose = "revocation", - * statusListIndex = "3", - * statusListCredential = "https://example.com/status/1" - * ) - * ) - * ) - * - * val statusListCredential = StatusListCredential.create( - * Issuer.StringIssuer(issuerBearerDid.did.uri), - * "revocation", - * listOf(verifiableCredential) - * ) + * * val isDisabled = statusListCredential.isDisabled(verifiableCredential) * ```