CredentialRevocationService

class CredentialRevocationService(revocationManager: CredentialRevocationManager?, ioDispatcher: CoroutineDispatcher)

Domain service for credential revocation operations.

Extracted from org.trustweave.trust.TrustWeave to separate the revocation responsibility into a focused service class.

Constructors

Link copied to clipboard
constructor(revocationManager: CredentialRevocationManager?, ioDispatcher: CoroutineDispatcher)

Functions

Link copied to clipboard
suspend fun revoke(timeout: Duration = 10.seconds, block: RevocationBuilder.() -> Unit): Boolean

Revoke a credential.