set_default_tls_certificate


Description:

public unowned TlsCertificate set_default_tls_certificate ()

Sets the value of the tls_certificate property to the default TLS certificate built in to libuhttpmock.

This default certificate is not signed by any certificate authority, and contains minimal metadata details. It may be used by clients which have no special certificate requirements; clients which have special requirements should construct a custom TlsCertificate and pass it to set_tls_certificate.

Parameters:

this

a Server

Returns:

the default certificate set as tls_certificate