Gcr.CertificateChain.prototype.get_certificate

function get_certificate(index: Number(guint)): Gcr.Certificate {
    // Gjs wrapper for gcr_certificate_chain_get_certificate()
}
  

Get a certificate in the chain. It is an error to call this function with an invalid index.

index

index of the certificate to get

Returns

the certificate