Function

Gcr-4Gcrtrust_is_certificate_distrusted_async

  • Asynchronously checks whether the certificate that can be uniquely identified with the given serial_nr and issuer is marked as distrusted (for example by the user, or because it's part of a CRL).

    Since we can't directly use Certificate to fetch these values, you need to call these with the raw serial number and issuer as provided by the PKCS#11 fields CKA_SERIAL_NR and CKA_ISSUER.

    When the operation is finished, callback will be called. You can then call trust_is_certificate_distrusted_finish to get the result of the operation.

    Parameters

    • serial_nr: string | Uint8Array<ArrayBufferLike>

      The serial number of the certificate

    • issuer: string | Uint8Array<ArrayBufferLike>

      The raw issuer

    • Optionalcancellable: Gio.Cancellable

      a Gio.Cancellable or null

    Returns Promise<boolean>

  • Asynchronously checks whether the certificate that can be uniquely identified with the given serial_nr and issuer is marked as distrusted (for example by the user, or because it's part of a CRL).

    Since we can't directly use Certificate to fetch these values, you need to call these with the raw serial number and issuer as provided by the PKCS#11 fields CKA_SERIAL_NR and CKA_ISSUER.

    When the operation is finished, callback will be called. You can then call trust_is_certificate_distrusted_finish to get the result of the operation.

    Parameters

    Returns void

  • Asynchronously checks whether the certificate that can be uniquely identified with the given serial_nr and issuer is marked as distrusted (for example by the user, or because it's part of a CRL).

    Since we can't directly use Certificate to fetch these values, you need to call these with the raw serial number and issuer as provided by the PKCS#11 fields CKA_SERIAL_NR and CKA_ISSUER.

    When the operation is finished, callback will be called. You can then call trust_is_certificate_distrusted_finish to get the result of the operation.

    Parameters

    Returns void | Promise<boolean>