CertificateRequest
Object Hierarchy:
Description:
[
CCode ( type_id =
"gcr_certificate_request_get_type ()" ) ]
public class CertificateRequest :
Object
An object that allows creation of certificate requests.
A certificate request is sent to a certificate authority to request an X.509 certificate.
Use [func@CertificateRequest.prepare] to create a blank certificate request for a given private key. Set the common name on the
certificate request with [method@CertificateRequest.set_cn], and then sign the request with [method@CertificateRequest.complete_async].
Content:
Properties:
Static methods:
- public static bool capable (Object private_key, Cancellable? cancellable = null) throws Error
Check whether [class@CertificateRequest] is capable of creating a
request for the given private_key.
- public static async bool capable_async (Object private_key, Cancellable? cancellable) throws Error
Asynchronously check whether [class@CertificateRequest] is capable of
creating a request for the given private_key.
- public static CertificateRequest prepare (CertificateRequestFormat format, Object private_key)
Create a new certificate request, in the given format for the private
key.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object