iya-sts
    Preparing search index...

    Variable downgradeKeyAttestation

    downgradeKeyAttestation: (
        deviceId: unknown,
        keyId: unknown,
        revocation: any,
    ) => any = ...

    Type Declaration

      • (deviceId: unknown, keyId: unknown, revocation: any): any
      • Downgrades one key's Android attestation to self-asserted because Google's status list revokes or suspends a certificate of its chain, recomputes the device's level, audits it and sends CAEP credential-change.

        Parameters

        • deviceId: unknown

          the device

        • keyId: unknown

          the key

        • revocation: any

          attestation_revocation.consult()'s answer

        Returns any

        { ok, changed, level }, or a refusal