Infinity.CertificateCredentials

Fields

None

Methods

class

new ()

ref ()

unref ()

Details

class Infinity.CertificateCredentials

Infinity.CertificateCredentials is an opaque data type. You should only access it via the public API functions.

classmethod new()
Returns:

A new Infinity.CertificateCredentials. Free with Infinity.CertificateCredentials.unref() when no longer needed.

Return type:

Infinity.CertificateCredentials

Creates a new Infinity.CertificateCredentials with an initial reference count of 1. Use inf_certificate_credentials_get() to access the underlying InfGnutls.CertificateCredentials.

ref()
Returns:

The passed Infinity.CertificateCredentials, self.

Return type:

Infinity.CertificateCredentials

Increases the reference count of self by 1.

unref()

Decreases the reference count of self by 1. If its reference count reaches 0, then the Infinity.CertificateCredentials will be freed.