encode
Description:
[ CCode ( array_length_pos = 1.1 , array_length_type = "gsize" ) ]
public uint8[] encode (bool textual)
public uint8[] encode (bool textual)
Encode the certificate request.
It must have been completed with [method@CertificateRequest.complete] or [method@CertificateRequest.complete_async].
If textual
is false, the output is a DER encoded certificate request.
If textual
is true, the output is encoded as text. For PKCS#10 requests this is done using the
OpenSSL style PEM encoding.
Parameters:
this |
a certificate request |
textual |
whether to encode output as text |
length |
location to place length of returned data |
Returns:
the encoded certificate request |