trust_is_certificate_distrusted_async
Description:
public async bool trust_is_certificate_distrusted_async (uint8[] serial_nr, uint8[] issuer, Cancellable? cancellable) throws Error
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 [iface@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 [func@trust_is_certificate_distrusted_finish] to get
the result of the operation.
Parameters:
serial_nr |
The serial number of the certificate |
issuer |
The raw issuer |
cancellable |
a Cancellable or null |
callback |
a TaskReadyCallback to call when the operation completes |
issuer_len |
The number of bytes in |
serial_nr_len |
The nr of bytes in |
user_data |
the data to pass to callback function |