get_nth_rejection


Description:

public unowned TLSCertificateRejection? get_nth_rejection (uint n)

If this certificate has been rejected and n is less than the number of rejection reasons, return a TLSCertificateRejection representing the nth rejection reason (starting from 0).

With n == 0 this is equivalent to get_rejection.

Parameters:

this

a TLS certificate

n

the rejection reason to return; if 0, return the same thing as tp_tls_certificate_get_detailed_rejection

Returns:

a TLSCertificateRejection, or null