devices.revocationΒΆ

Module to handle revocation logic for devices and device credentials.

ClassesΒΆ

DeviceCredentialRevocation

Class to handle revocation logic for devices and device credentials.

Module ContentsΒΆ

class devices.revocation.DeviceCredentialRevocation[source]ΒΆ

Class to handle revocation logic for devices and device credentials.

static revoke_certificate(issued_credential_id, reason)[source]ΒΆ

Revokes a certificate given an ID of an IssuedCredentialModel instance.

Parameters:
  • issued_credential_id (int)

  • reason (str)

Return type:

tuple[bool, str]