Gcr.CertificateRequest.capable

function capable(private_key: Gck.Object, cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for gcr_certificate_request_capable()
}
  

Check whether Gcr.CertificateRequest is capable of creating a request for the given private_key.

private_key

a private key

cancellable

cancellation object

Returns

whether a request can be created