revokeCredential

suspend fun revokeCredential(credentialId: String): Result<Boolean>

Revoke a credential. Revoked credentials cannot be used for authentication or backup. The credential is NOT deleted - it remains in the registry with REVOKED status.

Return

true if successful

Parameters

credentialId

The ID of the credential to revoke

Throws

if credential doesn't exist